Hi Roozbeh, I am not sure whether I understand your question correctly but for finding the closest lane to some existing coordinates you can use sumolib: http://sumo.dlr.de/wiki/Tools/Sumolib#locate_nearby_edges_based_on_the_geo-coordinate. The example on the web page uses getNeighboringEdges but there is a getNeighboringLanes function as well.
Best regards, Michael Am 13.05.2016 um 22:11 schrieb Roozbeh Ketabi: > Hey everyone, > I'm trying to use a data that is similar to loop detectors but we only have > observation points (latitude and longitude) and we need to generate a > detectors file with valid Lane IDs. > For that closest way to the point from OSM is found but the way ID (e.g. > 3812733) is converted to a more annotated version for lane ID (e.g. > -3812733#1_0). How can I find the closest road segment and its > corresponding ID (an observation point considers all lanes in a road)? > > Regards, > Roozbeh > > -- > ------------------------------------------------------------------------------ > Mobile security can be enabling, not merely restricting. Employees who > bring their own devices (BYOD) to work are irked by the imposition of MDM > restrictions. Mobile Device Manager Plus allows you to control only the > apps on BYO-devices by containerizing them, leaving personal data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
