Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Vehicle following list of lat longs

Are edges required? For example, let’s say I want to visualize a vehicle driving circles in a parking lot.

I found the fromLonLat and toLonLat attribute and was trying to use that but it seems the program doesn’t like that I have no edges.
“The route for trip t_0 has no edges”


On Tue, Jan 31, 2023 at 16:02 Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
The usual approach would be to match the points onto a road network (i.e. imported from OpenStreetMap).
However, if you don't care about road infrastructure at all, you could also define a single edge with as many geometry points as you have.
You could put the list of lon,lat pairs directly into the edge 'shape' attribute and then build the network with --proj.utm.

Am Di., 31. Jan. 2023 um 18:21 Uhr schrieb Tom L <toml1242177@xxxxxxxxx>:
I have a large list of latitude and longitude points I want a vehicle to follow (over 1000). The points involve multiple turns along with other behaviors such as lane merging.

Is the best way to do this to create junctions for each point and then to create edges between every junction? (I.e. 1000+ junctions and edges) Is there a more streamlined way to do this?

Thanks,

Tom
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top