Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Assign Polygon as Parking lot in SUMO-TraCI

Example call:
tools/generateParkingLots.py --shape -32.39,6.17,78.90,4.86,46.19,73.56,-2.10,71.14,-32.82,6.17 -n 100 -c
 CS_0 -s 50 -e 55 --x-space-distance 10

Alternative syntax:
 tools/generateParkingLots.py --shape '-32.39,6.17 78.90,4.86 46.19,73.56 -2.10,71.14 -32.82,6.17' -n 100 -c
 CS_0 -s 50 -e 55 --x-space-distance 10

However, to make use of this you need the very latest development version (the shape functionality was unavailable earlier) which you can either
 - download tomorrow at https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
- pull fresh from github https://github.com/eclipse/sumo/
- or replace generateParkingLots.py with the updated version here: https://raw.githubusercontent.com/eclipse/sumo/master/tools/generateParkingLots.py

regards,
Jakob

Am Mi., 6. Mai 2020 um 13:19 Uhr schrieb swaroop <nagas@xxxxxxxxxxxxxx>:
Hallo Jacob,

I would like to go with the second method of - computing the desired number
of <space> definitions within a polygon boundary using
tools/generateParkingLots.py

I am new to SUMO. Could you please help me how to do it.
 I went on to the site-
https://sumo.dlr.de/docs/Tools/Misc.html#generateparkinglotspy


I have used this in command prompt

python <C:\Program Files
(x86)\Eclipse\Sumo\tools\generateParkingLots.py&quot; -b
&lt;&quot;-14.110000,22.750000, 118.260000,27.150000&quot;> -c <"e1">
 [-i <"1"> -n <3>]

I am getting error as - syntax is incorrect.

Regards,
Swaroop



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top