Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] R: Netconvert from .osm file to .net.xml file

The SUMO-applications perform xml-schema-validation by default (explained at sumo.dlr.de/wiki/XMLValidation). For that, they first try to read the schema definition from your computer and if that fails pull it from the sumo webserver. It's the same path-finding issue that happened with the type file.
The other warnings are harmless:
http://sumo.dlr.de/wiki/NETCONVERT#Warnings_during_Import

regards,
Jakob



Am Sa., 26. Jan. 2019 um 19:14 Uhr schrieb Alex Cerioni <cerio_alex@xxxxxxxxxx>:
Hi Jakob,
so launching the command
"netconvert --osm osm_bbox.osm.xml -o mappa.net.xml -t osmNetconvert.typ.xml"
with the "osmNetconvert.typ.xml" file in the same folder where I launch the command seems working, but there's another problem.
That's the output. Read the first warning, I don't know what it means.
"
Warning: Cannot find local schema 'C/Users/Alex/src/sumo-0.32.0/data/xsd/types_f                                                                                                                ile.xsd', will try website lookup.
Warning: Discarding unusable type 'railway.disused' (first occurence for edge '3                                                                                                                68170864#0').
Warning: Discarding unusable type 'waterway.stream' (first occurence for edge '5                                                                                                                97285685').
Warning: No way found for reference '305863485' in relation '5471772'
Warning: Ignoring restriction relation '5471772' with unknown to-way.
Warning: Found sharp turn with radius 6.00 at the start of edge '-203538904#0'.
Warning: Found sharp turn with radius 8.97 at the end of edge '-269798099#0'.
Warning: Found sharp turn with radius 5.14 at the end of edge '-512350492'.
Warning: Found sharp turn with radius 8.53 at the start of edge '-626282579#1'.
Warning: Found sharp turn with radius 6.00 at the end of edge '203538904#0'.
Warning: Found sharp turn with radius 2.91 at the start of edge '255200516#0'.
Warning: Found sharp turn with radius 6.60 at the start of edge '255200516#1'.
Warning: Found sharp turn with radius 2.07 at the end of edge '255200516#1'.
Warning: Found sharp turn with radius 3.33 at the start of edge '264651332#0'.
Warning: Found sharp turn with radius 3.45 at the end of edge '264651332#0'.
Warning: Found sharp turn with radius 1.86 at the start of edge '264651334#0'.
Warning: Found sharp turn with radius 1.71 at the start of edge '264651334#1'.
Warning: Found sharp turn with radius 8.97 at the start of edge '269798099#0'.
Warning: Found sharp turn with radius 6.43 at the end of edge '387747607'.
Warning: Found angle of 173.44 degrees at edge '405454304#0', segment 1
Warning: Found sharp turn with radius 0.53 at the end of edge '405454304#0'.
Warning: Found angle of 132.50 degrees at edge '406243368', segment 0
Warning: Found sharp turn with radius 5.06 at the start of edge '406243368'.
Warning: Found sharp turn with radius 5.14 at the start of edge '512350492'.
Warning: Found sharp turn with radius 7.82 at the start of edge '578046332'.
Warning: Found sharp turn with radius 5.88 at the start of edge '578046339'.
Warning: Found sharp turn with radius 7.39 at the end of edge '578046341#0'.
Warning: Found sharp turn with radius 6.24 at the start of edge '578046341#1'.
Warning: Found sharp turn with radius 0.57 at the start of edge '626282563'.
Warning: Found sharp turn with radius 8.53 at the end of edge '626282579#1'.
Warning: Found sharp turn with radius 1.24 at the start of edge '626282601'.
Success.
"
Anyway then "sumo-gui.exe mappa.net.xml" draws correctly the map.
Thank you.

Regards,
Alex.


Da: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> per conto di Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Inviato: venerdì 25 gennaio 2019 19:07
A: Sumo project User discussions
Oggetto: Re: [sumo-user] Netconvert from .osm file to .net.xml file
 
Hello,
I think this is a problem general problem with sumo and mingw that will not go away with another sumo version.
Please try calling netconvert with an explicit type file (copy osmNetconvert.typ.xml file from the sumo data/typemap directory to the current directory):

netconvert --osm-files 2019-01-25-17-37-49/osm_bbox.osm.xml -o map.net.xml -t osmNetconvert.typ.xml

Let me know if that works. I'd like to figure out how to fix it in a more general way.

regards,
Jakob

Am Fr., 25. Jan. 2019 um 18:04 Uhr schrieb Alex Cerioni <cerio_alex@xxxxxxxxxx>:
Hi,
when launching this command
"netconvert --osm 2019-01-25-17-37-49/osm_bbox.osm.xml -o map.net.xml"
I get this error messagge and I don't know how to fix it.
"Error: Could not open types-file 'C/Users/Alex/src/sumo-1.0.1/data/typemap/osmNetconvert.typ.xml'.
Quitting (on error)."
I'm on windows 8.1 with "mingwenv".
I've already tryed launching mingwenv with admin permissions and I have also checked that the file osmNetconvert.typ.xml is not in -Read Only-
Maybe I should use an older version of Sumo and not the 1.0.1 version? Thanks

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top