Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 

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 2166923Working 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.

SAP Tutorial: Display a Geo Map Component

Creating Custom GeoJSON maps in Design Studio 1.5 - Part 1 of 2

Creating Custom GeoJSON maps in Design Studio 1.5 - Part 2 of 2

Design Studio Innovation Series - Welcome

Design Studio Innovation Series - Topic 6: Geo Maps Part I - Feature Review

Design Studio Innovation Series – Topic 7: Geo Maps Part II – Zoom, Zoom, Zoom!

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.

4 Comments