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

Network property is in germany set to road even a network is available #143

Open
rene-mueller opened this issue Jan 4, 2024 · 4 comments

Comments

@rene-mueller
Copy link

rene-mueller commented Jan 4, 2024

Network property is in Germany set to road even a network is available. The streets should always have a network so that the streets can be equipped with the national signs, as with mapbox street style.

US:
https://onthegomap.github.io/planetiler-demo/#14.14/43.67017/-92.86298
grafik

Germany:
https://onthegomap.github.io/planetiler-demo/#17.01/50.365394/11.785406
grafik

@msbarry
Copy link
Collaborator

msbarry commented Jan 6, 2024

I think this is a limitation of openmaptiles. It only defines a small number of network types: https://github.com/openmaptiles/openmaptiles/blob/master/layers/transportation/network_type.sql. Projects like openstreetmap-americana use the route_n tags instead to render highway shields since a road may belong to multiple networks. They publish the highway shield renderer as an npm package too.

@rene-mueller
Copy link
Author

@msbarry Ok, then from my point of view it would make sense to include this as a shield property in transportation_name.

@msbarry
Copy link
Collaborator

msbarry commented Jan 7, 2024

Yeah definitely, you can open it up as an issue in openmaptiles then if/when they adopt we'll port to planetiler-openmaptiles. Any deviation from standard openmaptiles in this repo needs to be hidden behind a command line flag you opt into.

@rene-mueller
Copy link
Author

@msbarry that sounds logical. i open an issue there. :)

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