Hello,
sumo uses cartesian (flattended) geometry with meter position values. When
building a network from lon/lat data you need to set the netconvert option
--proj.utm to affect proper conversion. If you need to convert back from
simulation coordinates to lon/lat you can use either TraCI  or sumolib to
do so
http://sumo.dlr.de/wiki/TraCI
http://sumo.dlr.de/wiki/Tools/Sumolib function *net.convertXY2LonLat*()

regards,
Jakob

2016-10-29 7:04 GMT+02:00 Tanuja S <[email protected]>:

> Hi
>
> I have the list of nodes and their geographical
> positions(latitude,longitude), when i input these values  to fix the
> position of nodes in nodes.xml file, the positions seems too messy and i
> cannot clearly visualize them in SUMO.
> Ex:
> <nodes>
> <node id="21456" x="22.345231315" y="114.192450450" />
> <node id="21229" x="22.345145730" y="114.190217650" />
> <node id="31097" x="22.344501750" y="114.187423400" />
> <node id="10030" x="22340341560" y="114.189032900" />
> <node id="1344" x="22.339077380" y="114.187668900" />
> <node id="1347" x="22.339176970" y="114.182601700" />
> <node id="1348" x="22.337885680" y="114.179281800" />
> <node id="21221" x="22.335844780" y="114.179000200" />
> .........
> </nodes>
>
> when i input more of such nodes i cannot visualize them clearly and they
> seem overlapping. Can you help me on how to add the offset to make these
> positions clearly seen or is there any other way?
>
> Also, these positions are extracted from GPS, when i load them to SUMO does
> the distance between them still will be same as in GPS locations?
>
> Regards,
> Tanuja S
> ------------------------------------------------------------
> ------------------
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive. 
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to