StrandedKitty / streets-gl

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

Fill parking areas with parking lot markings #117

Open Matthias84 opened 1 year ago

Matthias84 commented 1 year ago

Hi, the parking areas can be very large within a city. It would be cool, if we could see a plausible representation of parking lots, instead of only the grey parking area?

Maybe you could fill the area by using the service=parking_lanes lines and extrude 90° lines in a plausible way? For example here in Rostock:

ivanbranco commented 1 year ago

An easier way could be to render amenity=parking_space

StrandedKitty commented 1 year ago

Please use the "Feature request" template for tickets similar to this one.

dabreegster commented 1 year ago

Possible inspiration: parking_lot_abst From https://www.openstreetmap.org/#map=17/47.65858/-122.29853

Extruding perpendicular to parking lanes is the approach, with a hardcoded width and length: https://github.com/a-b-street/abstreet/blob/6c44da83d36d0b3197525b8ca834e57a66493d24/map_model/src/make/parking_lots.rs#L180

sekerob commented 1 year ago

At the close by Megalo there's like 1600 parking spots, 3 different pavings, asphalt, grass_paver and paving_stones, areas with diagonal not found, few parallel, most perpendicular, each aisle a number Not going to map individual parking spaces, only did the accessibility and mama / family spots, which are all concentrated near the mall entrances, even a charging station. Seen one recently with hundreds, slot by slot... whatever tickles your fancy. As a rendition, am sold on the above inspiration though.