ekumenlabs / terminus

Library to create cities and terrains
Apache License 2.0
56 stars 29 forks source link

Generate the proper number of lanes / directions for OSM data #257

Open basicNew opened 7 years ago

basicNew commented 7 years ago

We should consider:

See http://wiki.openstreetmap.org/wiki/Key:highway

basicNew commented 7 years ago

While doing this we found that, in OSM, is very common for a road to be split in many ways with the same name. On top of this, the different parts of the road may have different lanes, with no clear indication on how those lanes should line up (e.g. think of a road with 4 lanes that suddenly converts to 3 lanes; should we align them left or right). So, using the proper lanes as OSM dictate would entail actually constructing a logic representation for the road (based on all the pieces) and rearranging the baseline geometry of each piece to make a single road that makes sense as it adds/removes lanes.

basicNew commented 7 years ago

See also #160 for an early symptom of the description above.