Skip to content
This repository has been archived by the owner on Dec 3, 2018. It is now read-only.

Simplified Shape File Error When Uploading as TileSet to Mapbox Account #1587

Open
TiffanyFHA opened this issue Oct 4, 2018 · 5 comments
Open

Comments

@TiffanyFHA
Copy link

First I uploaded a zipped shape file (37 mb) to Mapbox as a Tileset, but I have to zoom in a lot to see the shapes in Power BI Desktop. So I used the mapshaper to simplify it and exported it as GeoJSON file with a smaller size, but when I tried to upload it to Mapbox as a Tileset, it threw an error like the attached screenshot "bounds west value must be between -360 and 360"
errormessage

@matuteiglesias
Copy link

Same error but I was trying to upload a .geojson file. All my coordinates are longitudes around -60, is it possible that something on the projection info is sending the points away past the 360 degrees?

@TiffanyFHA
Copy link
Author

Have no idea... Currently, very frustrated by this as we don't want to zoom in a lot just to see the shapes showing up and the display is not what we want... Since downsizing through mapshaper doesn't look like to work, I also tried to downsize the precision of the coordinates in kml format, but unfortunately, after I uploaded the kml file as a tilest, nothing shows up in Power BI desktop no matter how much I zoom in or out.... I checked everywhere to make sure everything up to requirements like field name, url, tileset name, property name.... Couldn't figure out why it just doesn't work.

@TiffanyFHA TiffanyFHA changed the title Simplied Shape File Error When Uploading as TileSet to Mapbox Account Simplified Shape File Error When Uploading as TileSet to Mapbox Account Oct 16, 2018
@matuteiglesias
Copy link

@TiffanyFHA Solved it. I was forgetting to translate de coordinates from metric to lat lng for a few points, so that intead of -60 those were around 70000.
It worked right after I corrected that.

@TiffanyFHA
Copy link
Author

TiffanyFHA commented Oct 22, 2018 via email

@matuteiglesias
Copy link

matuteiglesias commented Oct 25, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants