Hello,
your configuration uses the field osmid as street id. However, several of
the edges have a space character in this field. This is a forbidden
character for edgeIDs.
Unfortunately, that error is not reported by netconvert (now fixed in the
latest development version: https://github.com/eclipse/sumo/issues/4376)
If you leave out the option
        <shapefile.street-id value="osmid"/>
edge ids will be generated as sequential numbers and the network will be
loadable.

regards,
Jakob

2018-08-01 17:07 GMT+02:00 Guilherme Belegante via sumo-user <
[email protected]>:

> Hi all!
>
> I'm trying to convert a shapefiles (edges.shp, edges.shx, edges.dbf,
> edges.prj) to .net.xml file. For this, I'm using this command line:
>
> netconvert --shapefile-prefix edges
> --shapefile.from-id from --shapefile.to-id to --shapefile.street-id osmid
> --shapefile.use-defaults-on-failure --ignore-errors -o net.net.xml -v
>
> When I try to open the net.xml file in Sumo-Gui, the program can not open
> the network.
>
> erros of Sumo-Gui:
>
> Error: An unknown lane ('[359603168,') was tried to be set as incoming to
> junction ':1111373223_2_0'.
> Error: An unknown lane ('[257202632,') was tried to be set as incoming to
> junction ':1240974052_2_0'.
>     .
>     .
>     .
> Error: An unknown lane ('[255156748,') was tried to be set as incoming to
> junction ':1346098034_2_0'.
> Error: An unknown lane ('[265006648,') was tried to be set as incoming to
> junction ':2611296815_2_0'.
> Error: An unknown lane ('[360514328,') was tried to be set as incoming to
> junction ':2630434725_2_0'.
> Error: An unknown lane ('[270793119,') was tried to be set as incoming to
> junction ':2757792404_2_0'.
> Error: Unknown to-node '1240974052' for edge '108121438'.
> Loading of net-file failed.
> Quitting (on error).
>
> The nodes, connections and edges of the last error were created in the
> network file.
> Anyone have any idea what's going on?
>
> Thanks & Regards
> Guilherme
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
>
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

Reply via email to