Thanks for answer Pablo!
Mirko sent me a new script to use that seems to be working. My pathtofile doesn’t have any of those special characters.
Now I think I just have to figure out why I am getting the Permission Denied for the output file resulting from the conversion. Thanks again,
--H
From: Pablo.AlvarezLopez@xxxxxx <Pablo.AlvarezLopez@xxxxxx>
Sent: Wednesday, January 17, 2024 7:08 PM
To: sumo-user@xxxxxxxxxxx
Cc: Hector A Martinez <hmartinez@xxxxxxxxx>
Subject: [EXT] AW: Changing rail to be bidirectional using netconvert
Hi Hector, has the "pathtofile" an space or a strange character like ñ, ä or similar? Regards Von: sumo-user <sumo-user-bounces@ eclipse. org> im Auftrag von Hector
A Martinez via sumo-user <sumo-user@ eclipse. org> Gesendet:
Hi Hector,
has the "pathtofile" an space or a strange character like ñ, ä or similar?
Regards
Sumo team,
I am trying to convert all of my rail network to be bidirectional using netconvert without affecting my roadway network. This is for commodity/container movement, not people movement. I am using a file I generated
using OSM wizard.
I used this script:
netconvert --railway.topology.all-bidi.input-file C:\pathtofile\test_osm_in.net.xml.gz
This is the error I get.
Error: No nodes loaded.
Quitting (on error).
I recognize that the network file is a .gz file but both netedit and sumo open the network file as is and it has everything to include the nodes. Netedit crashes on me all the time while I am making changes
to the file so I need to do this rail changes quicker using netconvert. I welcome any advice that will point me in the right direction. Thanks,
--Hector
Hi Hector, you can try to process your network with netconvert using the PlainXML format: convert your network to PlainXML analyse your network with a script and
write the missing edges in a new file in PlainXML format convert back to the normal
Hi Hector,
you can try to process your network with netconvert using the
PlainXML format:
-
convert your network to PlainXML
-
analyse your network with a script and write the missing edges in a new file in PlainXML format
-
convert back to the normal SUMO format with netconvert by supplying the PlainXML files using the respective input options (-n,-e,-x,-i)
Please write to the mailing list next time, so that everybody can answer the question (or at least learn from it).
Best regards
Mirko