Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
niksok11
Frequent Visitor

Shape Map and map type key doesn't display while using GEOJSON.

Hi,

 

I'm currently working with Shape Maps in Power BI. I got a "JSON" file that has been recently converted from SHP files and I wanted to display it on the Shape Map with data. Unfortunately, something is wrong and when I'm choosing "Custom Map" and then my JSON, nothing happens. Shape Map is completely blank and - what Is also important - I can't even display map type keys. When I'm clicking on the sign just nothing happens. JSON normally works in QGIS and displaying correctly. I'm not sure is it helpful, but when I wanted to convert shape files into GEOJSON by myself in QGIS, after clicking "Save as" I've been moved to saving window where in "Coordinate System" I have "Incorrect Mapping" by default. Changing to normal mapping doesn't bring any effects.

 

What Should I do? 

 

 

 

1 REPLY 1
lbendlin
Super User
Super User

For Shape Maps you need TopoJSON format, not GeoJSON.  Ask QGIS to export in TopoJSON, or use MapShaper.org to convert.  Make sure not to lose the polygon attributes. The attribute name must match the name of the column in your data.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.