Forum Discussion
rileywells
1 year agoFrequent Visitor
Multiple error generation when using geojson as a reference layer in Azure Maps
I have been trying to use Azure Maps (with the October 2024 version of Power BI) to create a filled map of university enrolments by Statistical Area 4 in Australia, utilising the new "Data-Bound" lay...
- 1 year ago
FYI the root cause of the problem is that some of the "features" (ie. map regions) in my GeoJSON file had "geometry":null - meaning that they were regions that should not be drawn. While most mapping software can handle this problem, Azure Maps reference layers cannot.
If you find yourself with this problem, you will need to delete any features in your GeoJSON file with the "geometry":null tag (see example below). The Power BI devs have told me that they expect a fix to be shipped in a couple of months (but no promises)
Roman_Zalesskii
1 year agoHelper I
That is because your geojson file is too big. I tried several versions with different file sizes and the biggest always gives me error. Use this service to simplify shapes in your geojson - https://mapshaper.org/