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 #1611

Open
rene-mueller opened this issue Jan 8, 2024 · 1 comment

Comments

@rene-mueller
Copy link

rene-mueller commented Jan 8, 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

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.

Credits to @msbarry

From my point of view, it would make sense to include this as a shield property in transportation_name.

initially posted at: openmaptiles/planetiler-openmaptiles#143

@1ec5
Copy link

1ec5 commented Nov 24, 2024

The example from Germany is part of both an Autobahn and an E road. #1619 would’ve set the network to e-road, but #1648 backed out this change because it broke some clients.

From my point of view, it would make sense to include this as a shield property in transportation_name.

You can think of route_* as shield_*. As of #1620, the format has changed so that there are more properties. This should make it easier for you to pick out segments that are part of a network you’re interested in, even if you don’t intend to render a shield based on it.

route_1_name: Bundesautobahn A9; route_1_network: BAB; route_1_ref: A 9; route_2_name: European route E51; route_2_network: e-road; route_2_ref: E 51

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