You could match the GPS positions to junctions in the network and then define a route with attributes fromJunction, viaJunctions and toJunction.
Am Mo., 14. Feb. 2022 um 12:40 Uhr schrieb Martin Högner <[email protected]>: > Dear SUMO Team, > > i use SUMO to test alternative routing algorithms, therefor i want to > pass my own route to SUMO rather then let it calculate by SUMO. > The problem which I'm facing right now is that i have GPS Traces that > are always located exactly in the middle of the edge, respectively > between two lanes, see the turquoise points in the attached screenshot. > > First i tried to get the edges with the function > traci.simulation.convertRoad(long, lat, isGeo=True). > The Second thing that i tried was the tracemapper.py. > > Both approaches ended with the same result, the generated edges are > invalid because of the insecurity to choose the right lane when the > trace is between two lanes. > > Is there anything else that i can do to solve this problem? > > Best regards, > > Martin Högner > _______________________________________________ > 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
