-
Notifications
You must be signed in to change notification settings - Fork 72
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
Separately addressable countries layer #214
Comments
Assuming "standard Planetiler workflow" means "OpenMapTiles" profile, then the code responsible for generating stuff in While looking there, it is sort of "complicated":
If you'd like to reuse data from Both are options "out of scope" for |
You could potentially tweak the boundary logic to create country multi polygons instead of just the borders but the borders are occasionally broken so some might not match exactly. Another alternative to natural earth would be overture division areas which will be a little higher resolution. It has complete polygons already built, with some QA applied before each release. |
Hi,
I currently enjoy using Openfreemap hosted Vector Tiles using MapLibreGL.js
This works great for the usual use cases. But now I would like to "reuse" the country shapes without loosing quality by using some simple GeoJSON on top of it.
As far as I know OpenFreemap uses a standard Planetiler workflow to create the Map tiles based on OpenStreeMap data.
This way it provides the whole landmasss outline of the world and as a different layer the boundaries between countries.
I would appreciate some help how OpenFreemap could change the workflow to include a layer with separately addressable countries. (hyperknot/openfreemap#56 (comment))
I know, I could use the MapLibreGL Demotiles instead, but I a have no clue how these were created or who is hosting them and what the rules are to use them.
But I made some progress in how i can change the styling of boundaries (OpenFreemap, https://codepen.io/matths/pen/QwLmjoJ
) or country shapes (MapLibre Demo Tiles, https://codepen.io/matths/pen/azoYNyj) using Javascript.
I know this is not an "issue", but I had no idea how to reach out for some help.
Cheers,
Matthias
The text was updated successfully, but these errors were encountered: