mbloch / mapshaper

Tools for editing Shapefile, GeoJSON, TopoJSON and CSV files
http://mapshaper.org
Other
3.79k stars 536 forks source link

topojson files in power bi #639

Open Roostaei110 opened 7 months ago

Roostaei110 commented 7 months ago

Hi. I am encountering an issue and kindly ask for your assistance. When I upload the files related to a map on Map Shaper website, I can see the map correctly. However, when I export it (as topojson or geo json) to use in Power BI, the map includes scrambled lines. Images of both states are attached. How can i fix it? ![Uploading mapshaper file.JPG…]()

mbloch commented 7 months ago

Hi, the link to your screenshot is broken, but I have a hunch what the problem is. Power-BI may expect your data to use WGS-84 coordinates. If your data is projected, you'll have to convert it to WGS-84 coordinates manually before exporting. The mapshaper command for this is -proj wgs84

Roostaei110 commented 7 months ago

The issue has been resolved. Thank you sincerely.