planetiler-openmaptiles
planetiler-openmaptiles copied to clipboard
Network property is in germany set to road even a network is available
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
Germany:
https://onthegomap.github.io/planetiler-demo/#17.01/50.365394/11.785406
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.
@msbarry Ok, then from my point of view it would make sense to include this as a shield property in transportation_name.
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.
@msbarry that sounds logical. i open an issue there. :)