SAP Lumira geomap – Use your own geodata
This post is about geovisualization in Lumira and how, we at Galigeo, manage to show on a map any dimension/measure with any geographical data.
Here, I explain the concepts and first results of the work we have achieved with Lumira 1.23 and its SDK.
Last update from 12th of May:
The extension supports Lumira 1.25 and is available for free download at:
Enjoy and please, give me your feedback!
You can look at this post to get a similar topic specific to geomapping with Design Studio:
Interested in Location Analytics for Design Studio ? Take a look at this blog
It is assumed that 80% of enterprise data is geo-located and this will increase in the future with mobility, Internet of Things, and smart grids amongst other factors.
Lumira is able to work with location based on Latitude/Longitude coordinates and a predefined hierarchy which is Region/Country/Sub-region/City:
However, geolocated data are often related to other geographical areas such as zip code, census blocks, counties or your own business geodata such as your sale territories, trade area, technical assets or networks.
Let’s see how to address this issue and how to map and analyze measures and dimensions related to any geographic data.
For example, the following map uses the zipcodes as a custom geographic dimension and a related measure calculated in Lumira.
Our solution relies on the following:
- a dimension and a related measure from the data source
- a custom geodata that describes the boundaries, lines or locations
- a matching engine able to link the dimension to the corresponding geodata
- a smart mapping visualization component
1. The dimension and measure from Lumira
Just use a normal dimension and measure of your dataset.
This dimension must correspond to a location: a zip code in the previous example or a territory, an asset…
2. The custom geodata
A geodata is a description of geographic information with coordinates, IDs and optional attributes.
This geodata can be polygons, lines or points and are organized into layers, one layer per geodata.
This geodata can be provided by different sources such as:
- your own GIS server if you have one: Esri mapservices or others
- cloud web services such as ArcGIS online
- local files stored in geoJSON, which is a very common way to use your own geodata
Tons of geoJSON geodata and tools are easy to find on the web.
Have a look on geojson.io that is an interesting tool to create your own geodata.
3. The matching engine
Here is the magic thing!
We built an algorithm that dynamically melts the Lumira dimension/measure with the appropriate geodata.
This melting process uses some metadata and business rules to pick up the correct geodata according the selected dimension.
Each Lumira’s record is then joined with a geographic object, so we can map it using its dimension or measure.
We can combine several dimensions with several layers such as in the following example:
4. The smart mapping visualization
Here is the final step.
Now dimensions and measures have been plotted on the map, the target is to make them speak.
For this the best representation is picked up to highlight the information on the map.
In the map below, we have 2 measures represented on 2 different layers:
– “Water Release” is represented as geobubbles plotted at company location; the location is based on (Long, Lat) data coming from Lumira
– “Air Release” is represented as a choropleth map using zip dimension from Lumira and a local zipcodes layer stored as a geoJSON
Other representation such as heatmap or bivariate symbols can also be relevant to have deeper analysis of the data:
Next time, I will post an end to end tutorial on how to use the Galigeo Extension for Lumira with a concrete geodataset.
This extension will be soon available for download. Let me know if you are interested to get a pre-release.
Thanks for reading and don’t hesitate to give me your feedbacks.
Great post! I'm very interested to receive a pre-release version of the extension. Can you contact me via a private message on SCN?
With kind regards,
Martijn van Foeken
Thank you for your interest.
Sure, I contact you on SCN.
hi, I think there's a problem with the .png image under section 3. matching engine. - I can't see it (it points to your dev server)
Thank you for your feedback.
I've just fixed the problem.
You look very active on SCN and aware of a lot of topics at SAP.
I'd like to get your feedback or to discuss about location intelligence at SAP.
Do you think that it is a hot feature which will be a must have in the next years or that it is more seen as a nice to have.
I like to think that location intelligence is not only visualization but the only way to analyze and solve location-dependent business problems for a local government in charge of security, transport, housing on a territory, a retailer who needs to measure and analyze the traffic and performance of its points of sale, or a telco/energy operator who has to deploy, maintain and run its services.
Hope to ear about you.
This is great. I like what Galigeo is doing.
Thank you for your feedback.
I know that you have done great job around geovisualization and would be happy to share feedback or discuss with you about it.
Have you gone through real project or it was experimental prototyping?
It's more of "art of the possible" researching. I'm in a holding pattern until I see what's possible in DS 1.5 before exerting further effort in any direction, but I have proven out scenarios where my experiments could see the light of day for more of a productive use in DS. These were more internal controlled SDK experiments but similar to the ones I've shared online.
Lumira's also grabbing my attention moreso lately and your Lumira extension is very exciting to me with the ability to introduce custom GeoJSON overlays! Will be glad to discuss further via whatever appropriate channels.
I'd like to experiment with the custom region drawing using geojsons. I think it would be an excellent solution for things like sales territories and service areas. I created a geojson file at geojson.io, followed the 'going further' documentation to get it into lumira, but it's not showing up for me. Is there more detailed documentation, or examples you can share? Or, would you be willing to exchange some emails to sort this out?
thank you for your interest and feedback.
I am going to write another post giving more detail about how to add its own geodata with the extension.
Concerning your issue, check the following:
- your geojson file contains geodata in WGS84 lat/long
- it contains an Id field that you can link to a Lumira dimension
- the catalog.json is updated with the right information
Don't hesitate to send me your geojson and catalog.json to review them.
Thank you for the offer. I'd like to send you the files offline if I could. Can you email me to take this offline. Forum rules do not allow me to share my email, but you should see it in my profile.