Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Automatically add second sidewalk to one-way edges

Thanks a lot Jakob, that is an interesting approach.
Unfortunately, my network has edges without sidewalks and among all of them with sidewalks, I want add a sidewalk only to the edges with one circulating lane. Is there a way I can script this?

As I'm importing my networks from OSM with netconvert, I was thinking one possible solution could be adding an option that creates a reverse edge with 1 lane (sidewalk) for one-way edges (at least in Spain, virtually every one-way street has two sidewalks).

Cheers,
Alejandro

El lun, 8 may 2023 a las 12:50, Jakob Erdmann (<namdre.sumo@xxxxxxxxx>) escribió:
In the latest development version (where https://github.com/eclipse/sumo/issues/13209 is fixed) you can do the following:

1. select all edges (assuming all your edges have a sidewalk)
2. right-click on a one-directional edge and select "add reverse direction"
3. invert the selection (this selects all the added edges)
4 use inspect mode to set numLanes for all selected edges to 1 (which keeps only the sidewalk)

regards,
Jakob

Am Mo., 8. Mai 2023 um 11:18 Uhr schrieb Alejandro Rodríguez Sánchez <alrodr25@xxxxxx>:
Hello,

Is there any way to add a second sidewalk at the left side of every one-way road in the network?
I am having troubles with pedestrian simulations in junctions like this one I show. The problem is the lack of sidewalks at the left sides of both edges, which are present in reality. And as my network has lots of edges, I would find useful a tool that creates those sidewalks automatically, instead of creating them one by one with netedit.

Kind regards,
Alejandro
image.png

--
Alejandro Rodríguez Sánchez
PhD student
CIEMAT // Universidad Complutense de Madrid
28040 Madrid
email: alrodr25@xxxxxx
_______________________________________________
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


--
Alejandro Rodríguez Sánchez
PhD student
CIEMAT // Universidad Complutense de Madrid
28040 Madrid
email: alrodr25@xxxxxx

Back to the top