StrandedKitty / streets-gl

🗺 OpenStreetMap 3D renderer powered by WebGL2
http://streets.gl
MIT License
695 stars 56 forks source link

Render of traffic signs #176

Open yopaseopor opened 11 months ago

yopaseopor commented 11 months ago

Hi! Your software is wonderful but I miss one important thing. A common item as trees that you can find in every city and that have one million in OSM. Here there are the traffic signs. You can find it with the tag traffic_sign= with human readable values or national codes with traffic_signs or traffic_signs:id. Also there are two so important that you can find with highway=stop and highway=give_way.

For rendering correctly you can use the property direction=forward/backward which marks in which direction you have to turn the traffic sign in relation with the way it is in. For the pictures of traffic signs you can use pics from wikimedia commons or other githubs projects like preset traffic signs JOSM or style traffic signs style. You can find it here > https://github.com/yopaseopor/beta_preset_josm

Also I can help you to render the rest of the traffic signs. If you show me how to do one I can try to replicate and edit the rest of code.

StrandedKitty commented 11 months ago

It would be great to have road signs on the map, but it's by no means a high-priority thing.

yopaseopor commented 11 months ago

You can make possible to make visible highway=stop with direction=forward/backward . Then, make a replica of that code for all the other traffic signs would be easy for people like me.