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.bartha...@t-online.de>
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@eclipse.org>
>
> An: "Sumo project User discussions" <sumo-user@eclipse.org>
>
>
>
>
>
>
> 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*
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to