to get the lane(s) use net.getNeighboringLanes(x, y)
to obtain the offset use
sumolib.geomhelper.polygonOffsetWithMinimumDistanceToPoint((x,y),
lane.getShape()).

Note, that traci also provides a direct conversion with
edge, offset, laneIndex = traci.simulation.convertRoad(x, y).

Am Do., 4. Feb. 2021 um 13:05 Uhr schrieb Michael <[email protected]
>:

> Hi again,
>
> Actually I would like to follow up my previous question.
>
> Is there a specific function in the sumolib library which can provide the
> lane name and edge position based on an XY-coordinate in the network
> coordinate system?
>
>
> Regards,
> Michael
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> 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

Reply via email to