Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Unable to display Geomap Polygons DS1.6

$
0
0

Question:  How do you display Polygons using the geomap component in DS 1.6?

Overall Goal: I want to display states fully colored in as seen here Design Studio Innovation Series - Topic 6: Geo Maps Part I - Feature Review

 

I believe the problem lies within my table structure or how I'm inserting the data into the table but it could be the setup in Design Studio.  I've been able to successfully display points on a geo map as markers or bubbles through ST_POINT but I haven' t successfully displayed a ST_POLYGON using ST_GEOMETRY. Here is what I've done.

 

This is an excerpt from HANA when I populate ST_POINT data and this works just fine in Design Studio.

HANA ST_POINT TABLE.png

 

Once I got that working I used that as my stepping point to create a table with ST_POLYGON information

HANA ST_POLYGON TABLE.png

 

I'm sure you are wondering where I got the ST_POLYGON information, I used http://geojson.io to make a Polygon and then save the file as a GeoJSON.  From there I used the converter from a post called "How to create your geoJSON Model of the World and Get it into HANA | SAP TechED Lecture of the week" to go from a GeoJSON to a create and insert statement for HANA.  The converter originally required a database connection but after editing the code it works offline.

 

The statements created for this converter all work fine in HANA and I'm able to create tables and populate them fine with data.  Again, this all works fine for ST_POINT and it's only ST_POLYGON I'm having trouble with.

 

Here is a screenshot of the data source of the ST_POINT data, it works fine.

DS Initial View 1.png

 

ST_POINT working fine

GEO_MAP 1.png

 

Here is a screenshot of the data source for ST_POLYGON data.

DS Initial View 2.png

 

 

 

I've never been able to actually get it to show up on the geomap, here are the properties of the layer.

GEO_LAYER.png

 

So I never get any errors in HANA or in Design Studio, I can take the original GeoJSON file and drop it into anywhere online that reads those files and it draws my Polygon just fine.  I'm not sure what I've missed going between ST_POINT and ST_POLYGON, any help would be great.

 

I've also read the following posts from the SCN Design Studio forums (and many others I probably left out and didn't save):

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!

[SAP HANA Academy] Geo Spatial in SAP HANA: Creating Spatial Type Data from an Existing Table

Design Studio 1.5 Geo Map Component Configuration with SAP BIP Universes

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

DS15 - Create your own Map


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>