a-b-street / abstreet

Transportation planning and traffic simulation software for creating cities friendlier to walking, biking, and public transit
https://a-b-street.github.io/docs/
Apache License 2.0
7.62k stars 339 forks source link

Parking Garages #709

Open Anaphory opened 3 years ago

Anaphory commented 3 years ago

In the European city I'm running in abstreet at the moment, street parking is neither particularly frequent nor particularly well annotated, but there's a lot of public parking garages. They are tagged variably, for example like this: https://www.openstreetmap.org/way/35873197 https://www.openstreetmap.org/node/426819273 + https://www.openstreetmap.org/node/2073535579 + https://www.openstreetmap.org/node/2073535574 https://www.openstreetmap.org/way/35817990

Not all are sufficiently tagged, like this underground parking, which is reflected only by the two access ramps but not listing the actual parking space and its capacity: https://www.openstreetmap.org/node/2639155760 + https://www.openstreetmap.org/node/2639155765

dabreegster commented 3 years ago

Thanks for the examples! https://a-b-street.github.io/docs//tech/trafficsim/parking.html describes how things work today. Some of the parking garages may show up today in A/B Street, but nothing uses that capacity tag yet -- that's actionable in the short-term. https://github.com/a-b-street/abstreet/blob/ab83fd0f75c05ce93e25f17eddf30c078ec04a3b/convert_osm/src/parking.rs#L203 is where this happens.

Representing underground parking sanely with our 2D view is hard. #240 and #126 are related. We also need to eventually have a clear design for showing multiple levels/layers to visualize underground train stations.