[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[sumo-user] Adding PT to the network
|
I want to add the PTstops, routes, and schedules to my network using GTFS data and then run a simulation for passenger and bus vehicles. I am using the "
Routes from shortest path" in this documentation:
https://sumo.dlr.de/docs/Tutorials/GTFS.html#routes_from_shortest_path
I used the below command:
python "C:\Program Files (x86)\Eclipse\2023.10\tools\import\gtfs\gtfs2pt.py" -n ne2.net.xml --gtfs gtfs20210423.zip --date 20210423 --modes bus --vtype-output pt_vtypes.xml
The gtfs_pt_stops.add, gtfs_pt_vehicles.add and pt_vtypes files are created but they are empty! you can see them in the attachment. Could you please tell me what I did wrong?
One more question, instead of "shapes.txt" file, I have "agency.txt" and "links.txt" and "transfers.txt" file. Can I use each of these files instead of the shapes.txt file?
-- Sincerely,
Fereshteh Jafari Shahdani
PhD candidate, Dep. of Civil Engineering
ISISE - University of Minho
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 2024-03-04 14:49:42.061452 by gtfs2pt.py v1_18_0+0000-03ecfdea036
options: -n D:\Users\Fereshteh.V6\UK\Traffic Network\downloaded from Geofabrik. mine\Final Tyne&Wear\ne2.net.xml <doubleminus>gtfs gtfs20210423.zip <doubleminus>date 20210423 <doubleminus>modes bus <doubleminus>vtype-output pt_vtypes.xml
-->
<additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/additional_file.xsd">
</additional>
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 2024-03-04 14:49:42.064453 by gtfs2pt.py v1_18_0+0000-03ecfdea036
<configuration>
<gtfs value="gtfs20210423.zip"/>
<date value="20210423"/>
<modes value="bus"/>
<vtype-output value="pt_vtypes.xml"/>
<network value="D:\Users\Fereshteh.V6\UK\Traffic Network\downloaded from Geofabrik. mine\Final Tyne&Wear\ne2.net.xml"/>
</configuration>
-->
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
</routes>
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated on 2024-03-04 14:49:38.658418 by gtfs2pt.py v1_18_0+0000-03ecfdea036
options: -n D:\Users\Fereshteh.V6\UK\Traffic Network\downloaded from Geofabrik. mine\Final Tyne&Wear\ne2.net.xml <doubleminus>gtfs gtfs20210423.zip <doubleminus>date 20210423 <doubleminus>modes bus <doubleminus>vtype-output pt_vtypes.xml
-->
<additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/additional_file.xsd">
<vType id="bus" vClass="bus"/>
</additional>