Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exported GeoJSON data missing #708

Open
buehda opened this issue Jul 23, 2024 · 2 comments
Open

Exported GeoJSON data missing #708

buehda opened this issue Jul 23, 2024 · 2 comments

Comments

@buehda
Copy link

buehda commented Jul 23, 2024

I exported the cycle lanes of switzerland as GeoJSON, but when I import it on Mapbox Studio, many of the vectors aren't showing up as they should. Some of them disappear when zooming in, but I have no idea why and how I can avoid that.
The preview in Overpass looks fine, but in Mapbox it doesn't. Could anybody help me with this? Thanks!

zoomed out is ok:
test2

zoomed in there are missing a lot of vectors (this is only a sample, there is more missing if I zoom further):
test1

The request was like this:

/* Velowege */
[out:json];
(
  // get cycle route relations
  relation[route=bicycle]({{bbox}});
);
out body;
>;
out skel qt;

Preview: https://api.mapbox.com/styles/v1/buehda/clyxhjd6z00af01pfgz0b9v6s.html?title=view&access_token=pk.eyJ1IjoiYnVlaGRhIiwiYSI6ImYycXZFd1EifQ.2e0hr3uR_GInUDBIXmoWYQ&zoomwheel=true&fresh=true#11.73/47.3326/8.5219

@mmd-osm
Copy link
Contributor

mmd-osm commented Jul 27, 2024

Try to open the exported GeoJSON in https://geojson.io and see if this works. If yes, better check with Mapbox why the GeoJSON isn't working in their map.

@buehda
Copy link
Author

buehda commented Jul 29, 2024

Thank you! I found out that I have to convert the data, so that Mapbox doesn't compress it. Now it works.

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

No branches or pull requests

2 participants