Smart M.App discussions

Looking for answers in regards to M.Apps, M.App Exchange or M.App Studio? Smart M.App Tech Discussion board is where you can search, ask your questions and assist others by sharing your knowledge. Join the conversation, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Reply
Valued Contributor
Posts: 714
Registered: ‎10-27-2015
Accepted Solution

Can't load Geojson

[ Edited ]

Dear all,

In BI map construction I can't load (I add the cloropleth tho the map but the geojson does not appear) this geojson:


http://out.planetek.it/MM_test_4326.zip


Why?
What is the problem?

Thank you very much

Regards

Valued Contributor
Posts: 714
Registered: ‎10-27-2015

Re: Can't load Geojson

[ Edited ]

I tried also to convert geojson from Polygon to Multipolygon. It still does not work :-/
If I save the M.App and then launch the application...I see "downloading" but the geojson does not load

Technical Evangelist
Posts: 1,407
Registered: ‎09-11-2015

Re: Can't load Geojson

[ Edited ]

Hi Giuseppe,

 

I can see there is a parsing error in the console while trying to display the data in BI wizard. It could be a bug since the data display normally in other viewer and the JSON is valid. I will notify about that the development.

 

Regards,

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Valued Contributor
Posts: 714
Registered: ‎10-27-2015

Re: Can't load Geojson

[ Edited ]

Can I try any conversion or other thinghs in order to load those data? 
I need it for a demo

thank you

Highlighted
Technical Evangelist
Posts: 1,407
Registered: ‎09-11-2015

Re: Can't load Geojson

It looks like it's the whitespace character in the attribute name that's causing the issue. I've renamed this column and then it works fine. I've attached the modified GeoJSON file.

 

Untitled.png

 

Hope this helps.

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Technical Evangelist
Posts: 1,407
Registered: ‎09-11-2015

Re: Can't load Geojson

[ Edited ]

Just to add, the column format is actually suggested in the docs:

 

 Column names in the CSV should not contain spaces or special characters.

 

The general rules for column names are:

  • They contain only characters A-Za-z0-9_
  • They don’t start with a number

 

Regards,

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Valued Contributor
Posts: 714
Registered: ‎10-27-2015

Re: Can't load Geojson

Thank you very much Jan!!