Dear fereshte,
the --shift option belongs to traceExporter.py (another script in the tools
directory) which is called from gtfs2pt.py (actually from gtfs2fcd.py which
is called by gtfs2pt.py). I don't get this message when working with your
data. Maybe delete the old numerical.net.xml file - this is generated and
reused by gtfs2pt.py calls.
I didn't check every single trip from your GTFS data, but are you sure
these trips pass through your network? If the area given by your network
and the serviced area by the GTFS trips are disjunct, there is no output.
Best regards
Mirko
-----Original-Nachricht-----
Betreff: Re: [sumo-user] Adding PT to the network
Datum: 2024-05-15T12:37:51+0200
Von: "fereshte jafari" <j.fereshte1...@gmail.com>
An: "Mirko Barthauer" <m.bartha...@t-online.de>
Dear Mirko,
I changed the GTFS data to just bus services but still facing the below
error:
One or more coordinates are negative, some applications might need strictly
positive values. To avoid this use the option --shift.
Reusing old resources\gtfs\numerical.net.xml
Warning! No mapping library found, falling back to tracemapper.
Warning! No net resources\gtfs\bus.net.xml
I tried option --shift as it is recommended in the result but get the below
response:
usage: gtfs2pt.py [-h] [-c FILE] [-C FILE] [--save-template FILE] [-r
REGION] [--gtfs GTFS] [--date DATE] [--fcd FCD]
[--gpsdat GPSDAT] [--modes MODES] [--vtype-output
VTYPE_OUTPUT] [-v] [-b BEGIN] [-e END] -n NETWORK
[--route-output ROUTE_OUTPUT] [--additional-output
ADDITIONAL_OUTPUT] [--duration DURATION]
[--bus-stop-length BUS_STOP_LENGTH] [--train-stop-length
TRAIN_STOP_LENGTH]
[--tram-stop-length TRAM_STOP_LENGTH] [--sort]
[--network-split NETWORK_SPLIT] [--warn-unmapped]
[--mapperlib MAPPERLIB] [--map-output MAP_OUTPUT]
[--map-output-config MAP_OUTPUT_CONFIG]
[--map-input-config MAP_INPUT_CONFIG] [--map-parameter
MAP_PARAMETER] [--poly-output POLY_OUTPUT]
[--fill-gaps FILL_GAPS] [--skip-fcd] [--skip-map]
[--osm-routes OSM_ROUTES]
[--warning-output WARNING_OUTPUT] [--dua-repair-output
DUA_REPAIR_OUTPUT] [--bbox BBOX] [--repair]
[--min-stops MIN_STOPS]
gtfs2pt.py: error: unrecognized arguments: --shift
How can I solve this negative coordinates problem?
Regards,
Fereshteh
On Tue, Apr 30, 2024 at 5:12 PM Mirko Barthauer <m.bartha...@t-online.de
<mailto:m.bartha...@t-online.de> > wrote:
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.fereshte1...@gmail.com
<mailto:j.fereshte1...@gmail.com> >
An: "Mirko Barthauer" <m.bartha...@t-online.de
<mailto:m.bartha...@t-online.de> >
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
roads7.net.xml
<https://drive.google.com/file/d/1GjWOiBsOW-kqIhqo11NIBllPHa2sD3El/view?usp=drive_web>
On Tue, Mar 12, 2024 at 7:53 AM Mirko Barthauer <m.bartha...@t-online.de
<mailto:m.bartha...@t-online.de> > 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.fereshte1...@gmail.com
<mailto:j.fereshte1...@gmail.com> >
An: "Mirko Barthauer" <m.bartha...@t-online.de
<mailto:m.bartha...@t-online.de> >
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.fereshte1...@gmail.com <mailto:j.fereshte1...@gmail.com> > 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.bartha...@t-online.de <mailto:m.bartha...@t-online.de> > 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.fereshte1...@gmail.com
<mailto:j.fereshte1...@gmail.com> >
An: "Mirko Barthauer" <m.bartha...@t-online.de
<mailto:m.bartha...@t-online.de> >
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 <mailto: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
<mailto:sumo-user@eclipse.org> >
An: "Sumo project User discussions" <sumo-user@eclipse.org
<mailto: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
--
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
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user