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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
ChristianDiscer
Advocate I
Advocate I

Problem using custom shape map

Converted shapefile (projection "transverse_mercator") to a Topo JSON file using the website http://mapshaper.org/ but the resulting JSON file has display problems.  Here's a screenshot: (1) The left image displays the shapefile in ArcGIS. (2) The top & bottom right are the JSON maps displayed within PBI using different projections.

ScreenCaptureScreenCapture

I've even "simplified" the edges of the original shapefile to reduce the number of verticies before converting to JSON.

 

FYI - The location attributes (from an excel file) are correctly applying to the different areas within PBI.

 

Any ideas of what I should do?  Thank you.

 

Power BI version: 2.37.4464.361 64-bit (July, 2016)

Windows version: Windows 7 Pro 64-bit (SP1)

 

 

2 ACCEPTED SOLUTIONS

I believe that when I converted your file, I lined it up with WGS 84 / EPSG 4326 -- geographic.

View solution in original post

@deldersveld Thank you so much, that works great!!  Here's are screen captures of the process.

 

Step #1: select the shapefile using ArcGIS Project tool & set parametersStep #1: select the shapefile using ArcGIS Project tool & set parameters

 

 Step #2: Parameters selectedStep #2: Parameters selected

 

 Step #3: Use mapshaper.org to convert shapefile to json formatStep #3: Use mapshaper.org to convert shapefile to json format

 

 Step #4: Save as TopoJSONStep #4: Save as TopoJSON

 

 Step #5: Use TopoJSON file in Power BIStep #5: Use TopoJSON file in Power BISmiley Very Happy

 

 

 

View solution in original post

25 REPLIES 25

Hi, I'm having this issue with shape maps in powerbi so I think your writeup on the solution might be exactly what I need (I know almost nothing about ArcGIS!) but when I follow the link I get, "

Private Site

This site is currently private. Log in to WordPress.com to request access."

sf09_0-1631552099568.png

I don't have a WordPress login so I wondered if there's any other way I could access this please?

I have tried for weeks to convert to the correct projection, but it does not work...  could someone convert this shape to topojson please? I have tried with QGIS, ARCMAP, used http://mapshaper.org/ but it continues showing in powerbi the Picaso Effect, The link of the shape is this : https://drive.google.com/file/d/1kbY_HkCulQzWD8SgJkP9nHu9bjmILY3U/view?usp=sharing

Can you help me

i want to use some countries shape maps that are not in Power BI, for example Finland, i downloaded the GeoJSON file from here

http://code.highcharts.com/mapdata/

Finland http://code.highcharts.com/mapdata/countries/fi/fi-all.geo.json

Then I opened in http://mapshaper.org/ and exported as TopoJSON

When i open it in Power IB I can not see the map onliy lines as previous user

Can you help me?

 

 

Hi!

The GeoJson you had behind the link has things throwing PowerBI off,

  1. it has Scandinavian chars (e.g. &auml = ä "Itä-Uudenmaan maakunta") - reading this evening through several stack traces when trying to feed multipolygon GeoJson for PowerBI, it just rolls down and cries if it sees something outside Latin1. meh.
  2. according to validation feedback from GeoJsonLINT the GeoJson you have there also does not follow the right hand rule, which seems to be a thing also.

Having run around internjets for a moment now seeking for a suitable source, I am not seeing a clean WGS-84 compliant, right-hand rule -following GeoJson of Finnish borders, let alone one with e.g. postalcode area geographies. I will do something about it (create one, validate it, test it with PowerBI) tomorrow and be back. In case I succeed and you are still struggling with this, ping me at

 

[email protected]

 

Can you help me

i want to use some countries shape maps that are not in Power BI, for example Finland, i downloaded the GeoJSON file from here

http://code.highcharts.com/mapdata/

Finland http://code.highcharts.com/mapdata/countries/fi/fi-all.geo.json

Then I opened in http://mapshaper.org/ and exported as TopoJSON

When i open it in Power IB I can not see the map onliy lines as previous user

Can you help me?

 

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.