The networks of the Bologna scenario at https://github.com/DLR-TS/sumo-scenarios/tree/master/bologna are geo-referenced. You can use the methods listed at https://sumo.dlr.de/docs/Geo-Coordinates.html#performing_coordinate-transformations
regards, Jakob Am Di., 27. Apr. 2021 um 22:56 Uhr schrieb <[email protected]>: > 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 > > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
