Forum Discussion
Problem using custom shape map
- 10 years ago
I believe that when I converted your file, I lined it up with WGS 84 / EPSG 4326 -- geographic.
- 10 years ago
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 parameters
Step #2: Parameters selected
Step #3: Use mapshaper.org to convert shapefile to json format
Step #4: Save as TopoJSON
Step #5: Use TopoJSON file in Power BI:smileyvery-happy:
Thanks v-caliao-msft
Did not see a way to attach a file so use this Dropbox link to grab the file. The shapefile files are in the ZIP along with an Excel spreadsheet to "link" the map area names to: PolTwpPoly.ZIP via dropbox
Also, tried various format settings but no luck.
ChristianDiscer: This ended up being an issue with the original transverse mercator projection. I opened the file in QGIS, converted it to mercator, and exported it back out as a shapefile. From there, it was the same process using mapshaper to convert to topojson.
This file should work: https://www.dropbox.com/s/mx4lig1vmvk4ihw/PolyTestShape.json
- ChristianDiscer10 years agoAdvocate I
deldersveld Your file conversion works very well - thank you.
However, I don't know how to properly re-project and/or transform a shapefile from my system for mapshaper.org. ArcGIS contains conversion tools, but I'm not familiar enough to know what settings to use.
Should I use a "Geographic" or "Projected" Coordinate System? Then there are many choices below these two options.
I used mapshaper.org to convert your json to a shapefile hoping to see its geographic information, but ArcGIS shows the coordinate system as "undefined." Which means I don't know what to geographic transformation data settings to use. :smileyfrustrated:
Does anyone have an idea?
- deldersveld10 years agoResident Rockstar
I believe that when I converted your file, I lined it up with WGS 84 / EPSG 4326 -- geographic.
- ChristianDiscer10 years agoAdvocate I
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 parameters
Step #2: Parameters selected
Step #3: Use mapshaper.org to convert shapefile to json format
Step #4: Save as TopoJSON
Step #5: Use TopoJSON file in Power BI:smileyvery-happy: