Design Studio 1.5 Geo Map Component Configuration with SAP BIP Universes
This post focuses on how to configure the Geo Map component with a Universe selected as the data source. The DS 1.5 documentation has detailed instructions for configuring the Geo Map with BW and HANA which should be reviewed before building the application. These instructions are applicable when a Universe is selected as well, however there are specific IDT and component configurations necessary when working with a Universe.
It’s important to review the DS User Guide section “Working with Geo Maps”, and to review SAP Note 2166923 “Working with SAP BusinessObjects Design Studio 1.5 Geo Maps” before configuring the component since it behaves differently than mapping component extensions and those found in Lumira and Dashboards (aka Xcelsius).
If you’re just getting started with Geo Maps I recommend reviewing the following posts in addition to the user documentation.
While many mapping components allow the use of measures or dimensions as data sources when configuring a map, the DS Geo Map component requires a Universe sourced component to configure the Lat/Long values as attributes in the Universe as shown in the example below.
The attributes and dimensions are used in the following example of a Geo Map that has two layers:
· A point layer named LOCATION which uses the Lat/Long attributes. I’ve set this as the top layer because I want the state outlines to show below the points.
· A shape layer named STATE which maps to the State dimension. This layer requires a GeoJSON file that contains shape information such as US State outlines. When in local mode this file must exist in the application folder, while in BIP mode you can click the ellipse icon in the “Custom GeoJSON File” field to upload it into BIP.
After the Universe is published, create a new DS application and add the Universe as a data source. Right-click on the data source to set the initial view, then expand the node where the Lat/Long attributes are and right-click to add them to the Rows container as shown below.
Next drop a Geo Map component onto the canvas and configure the Additional Properties section of the component to map the Latitude and Longitude attributes as shown below.
To configure a shape layer create another data source and be sure the initial view of the new data source contains the dimension that will map to the GeoJSON file you added.
Layers in the Geo Map component can be highly interactive through the use of scripting. Please review the posts listed above, including the comments others have added to the posts, for information on how this is accomplished.