Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Bologna scenario latitude longitude coordinates

Hello,

I am working with the Bologna scenario from https://sumo.dlr.de/docs/Data/Scenarios.html#bologna. I use the python library sumolib.

I need to convert the XY coordinates of the nodes of the file joined_buslanes.net.xml to latitude longitude.

The page https://sumo.dlr.de/docs/Networks/SUMO_Road_Networks.html says that "For networks with no projection (projParameter='!'), only the offset must be applied.", which is the case here.

For some node, getCoord() gives me (1865.21, 105.5). I also have 'netOffset="346.83,-207.06" convBoundary="0.00,0.00,2164.41,1916.16" origBoundary="-346.83,0.00,1817.58,2148.55"'.

How do I get the lat lon coordinates from that?

Apparently there is a large roundabout in the dataset that is at 44.494554,11.314393 so the XY coords that I have should match something close to that roundabout.

Best,
Antoine

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Back to the top