lcodeca / SUMOActivityGen

An Activity-based Multi-modal Mobility Scenario Generator for SUMO. This project is available in the Eclipse SUMO contributed tools section (https://github.com/eclipse/sumo/tree/master/tools/contributed) under the name SAGA (SUMO Activity GenerAtion).
Eclipse Public License 2.0
40 stars 25 forks source link

Only parking nodes are extracted from osm, not parking ways #51

Open Tomp0801 opened 9 months ago

Tomp0801 commented 9 months ago

In the map I'm using, the parking areas are defined as ways (<way id="..." .... >), where the capacity is also defined. But when extracting parking areas, only nodes are considered (<node ...>, codeline).

Therefore, the parking areas are not extracted. If you look at the example map file attached, there is a way with ID 107517292 that refers to a parking area (see on OSM). But osm_parking_areas.add.xml is empty.

Example file and results. I ran python scenarioFromOSM.py --to-step 3 --osm map.osm --out saga saga.zip