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

Migrate from mapzen to another vector tile provider #122

Open
reinterpretcat opened this issue Jan 5, 2018 · 4 comments
Open

Migrate from mapzen to another vector tile provider #122

reinterpretcat opened this issue Jan 5, 2018 · 4 comments

Comments

@reinterpretcat
Copy link
Owner

Requirements:

  • geojson
  • zoom levels 1-15
@tetreum
Copy link

tetreum commented Jun 10, 2018

Maybe overpass-api?
https://wiki.openstreetmap.org/wiki/Overpass_API

Call example:

http://overpass-api.de/api/interpreter?data=[out:json];(node[\"building\"](' + rect.minLat + ',' + rect.minLon + ',' + rect.maxLat + ',' + rect.maxLon + ');way[\"building\"](' + rect.minLat + ',' + rect.minLon + ',' + rect.maxLat + ',' + rect.maxLon + ');relation[\"building\"](' + rect.minLat + ',' + rect.minLon + ',' + rect.maxLat + ',' + rect.maxLon + '););out body;>;out skel qt;

Stupid markdown syntax doesnt let me put a clicable link, so i leave you a bitly:
https://bit.ly/2kYPutU ->
http://overpass-api.de/api/interpreter?data=[out:json];(node["building"](41.3799,2.1353,41.3947,2.169);way["building"](41.3799,2.1353,41.3947,2.169);relation["building"](41.3799,2.1353,41.3947,2.169););out body;>;out skel qt;

@reinterpretcat
Copy link
Owner Author

If I'm not mistaken, it does not support different geometry for different zoom levels (e.g. simplified for lower ones). Even, looks like it does not support zoom levels at all.

@NuclearCookie
Copy link

https://www.nextzen.org/ if you want a simple fix

@reinterpretcat
Copy link
Owner Author

thanks for suggestion!

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

No branches or pull requests

3 participants