eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.48k stars 1.4k forks source link

reference of elevation in SUMO either OSM or NetEdit #15244

Closed Nitinyerra closed 1 month ago

Nitinyerra commented 1 month ago

Hi

I am trying to create a scenario where the roads consdieredd will have height (elevation) like say flyovers I didn't get proper understanding of it from the reference given https://sumo.dlr.de/docs/Netedit/editModesCommon.html#changing_elevation and when the z value under move mode will be enabled to edit image

8306 I even tried to check with this but I didnot get any "Apply mouse movement to elevation" option

Could you please assist me with this? I am currently using version 1.19.0 without the extra attachments.

m-kro commented 1 month ago

The option "Apply Z value" works only with a previous selection of points. So first select the points you want to change and then go to "move mode". Otherwise there is another option to change Z coordinates of single points in move mode:

angelobanse commented 1 month ago

elevation

m-kro commented 1 month ago

As the network geometry does not change during the simulation, there is no need for TraCI (at least if you use python). Instead you can use sumolib:

namdre commented 1 month ago

you can call traci.vehicle.getPosition3D which includes the z value