Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Adding PT to the network

Dear Fereshte,

 

sorry for the delayed response. Most parts of your network do not allow buses. Then there are probably some issues with your GTFS data (mostly train services, serviced area does not match the net area, ...).

 

Best regards

Mirko

 

 

 

-----Original-Nachricht-----

Betreff: Re: [sumo-user] Adding PT to the network

Datum: 2024-04-23T14:43:31+0200

Von: "fereshte jafari" <j.fereshte1993@xxxxxxxxx>

An: "Mirko Barthauer" <m.barthauer@xxxxxxxxxxx>

 

 

 

Dear Mirko,
 
Please find enclosed my network in addition to the GTFS.zip file. 
 
I will be looking forward to hearing from you.
 
Regards,
Fereshteh


On Tue, Mar 12, 2024 at 7:53 AM Mirko Barthauer <m.barthauer@xxxxxxxxxxx> wrote:

Dear Feresteh,

 

in this case we need all necessary files to replicate the issue (net and GTFS).

 

Best regards

Mirko

 

 

 

-----Original-Nachricht-----

Betreff: Re: [sumo-user] Adding PT to the network

Datum: 2024-03-11T18:05:22+0100

Von: "fereshte jafari" <j.fereshte1993@xxxxxxxxx>

An: "Mirko Barthauer" <m.barthauer@xxxxxxxxxxx>

 

 

 

Dear Mirko,
I see "bus" as an allowed mode in my network but still face those warnings with empty output files!
Any ideas?

Regards,
Fereshteh



On Wed, Mar 6, 2024 at 3:17 PM fereshte jafari <j.fereshte1993@xxxxxxxxx> wrote:
Please see enclosed my typefile. I just defined the disallow option and since the bus is not in there, I thought the bus would be considered as an allowed mode all over the network. Am I misunderstood?
 
Regards,
Fereshteh

On Wed, Mar 6, 2024 at 2:25 PM Mirko Barthauer <m.barthauer@xxxxxxxxxxx> wrote:

 

Dear Feresteh,

 

do you allow busses in your network (vehicle class bus)? If not, then the public transport data cannot be mapped on any edge...

 

Best regards

Mirko

 

 

 

-----Original-Nachricht-----

Betreff: Re: [sumo-user] Adding PT to the network

Datum: 2024-03-06T13:44:25+0100

Von: "fereshte jafari" <j.fereshte1993@xxxxxxxxx>

An: "Mirko Barthauer" <m.barthauer@xxxxxxxxxxx>

 

 

 

Dear Mirko,
 
Please see below the command I used:
 
D:\Users\Fereshteh.V6\UK\Traffic Network\downloaded from Geofabrik. mine\Final Tyne&Wear>python "C:\Program Files (x86)\Eclipse\2023.10\tools\import\gtfs\gtfs2pt.py" -n roads4.net.xml --gtfs gtfs20210423.zip --date 20210423 --modes bus --vtype-output pt_vtypes.xml
 
 
And here is the results:
 
C:\Program Files (x86)\Eclipse\Sumo\tools\sumolib\__init__.py:184: UserWarning: sumolib.open is deprecated, due to the name clash and strange signature! Use sumolib.miscutils.openz instead.
  warnings.warn("sumolib.open is deprecated, due to the name clash and strange signature! "
function import_gtfs called at Wed, 06 Mar 2024 12:38:53 +0000
function import_gtfs finished after 10.640317 seconds
One or more coordinates are negative, some applications might need strictly positive values. To avoid this use the option --shift.
Warning: Found sharp turn with radius 7.94 at the start of edge '-23537059'.
Warning: Found sharp turn with radius 8.65 at the end of edge '-23537059'.
Warning: Found angle of 147.46 degrees at edge '403520189', segment 1.
Warning: Shape for junction '5569' has distance 22.59 to its given position.
Warning: 2 total messages of type: Found angle of % degrees at edge '%', segment %.
Warning: 7 total messages of type: Found sharp turn with radius % at the end of edge '%'.
Warning: 4 total messages of type: Found sharp turn with radius % at the start of edge '%'.
Warning: 15 total messages of type: Shape for junction '%' has distance % to its given position.
Success.
Warning! No mapping library found, falling back to tracemapper.
Warning! No net resources\gtfs\bus.net.xml
 
Regards,
Fereshteh

On Tue, Mar 5, 2024 at 2:04 PM Mirko Barthauer <m.barthauer@xxxxxxxxxxx> wrote:

The empty output files don't help. Did you get warnings like "Warning! No GTFS data found for the given modes" or "Warning! No GTFS data found for the given date"?

 

Best regards

Mirko

 

 

 

-----Original-Nachricht-----

Betreff: [sumo-user] Adding PT to the network

Datum: 2024-03-05T12:26:15+0100

Von: "fereshte jafari via sumo-user" <sumo-user@xxxxxxxxxxx>

An: "Sumo project User discussions" <sumo-user@xxxxxxxxxxx>

 

 

 

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


--
Sincerely,
Fereshteh Jafari Shahdani
PhD candidate, Dep. of Civil Engineering
ISISE - University of Minho


--
Sincerely,
Fereshteh Jafari Shahdani
PhD candidate, Dep. of Civil Engineering
ISISE - University of Minho

 
--
Sincerely,
Fereshteh Jafari Shahdani
PhD candidate, Dep. of Civil Engineering
ISISE - University of Minho

 
--
Sincerely,
Fereshteh Jafari Shahdani
PhD candidate, Dep. of Civil Engineering
ISISE - University of Minho

 



Back to the top