Both-sided sidewalks on one-way streets should be imported from OSM already. Can you provide a small sample of OSM data along with the netconvert options you are currently using?
Fixing all edges with netedit is still possible. It just takes a few more steps (-: 1a. in select mode, select all lanes with attribute 'allow' and the filter value "=pedestrian" (selects all sidewalks) 1b. click 'select parents' 1c. invert selection 1d. save selection to file (nosidewalks.txt) 1e. invert selection 2. right-click on a *selected* one-directional edge and select "add reverse direction" 3a. invert the selection (this selects all the added edges but also all the edges that didn't have a sidewalk to begin with) 3b. set selection modification mode to 'remove' 3c. load selection from nosidewalks.txt (now only the new reverse edges are selected) 4. use inspect mode to set numLanes for all selected edges to 1 (which keeps only the sidewalk) Am Di., 9. Mai 2023 um 08:55 Uhr schrieb Alejandro Rodríguez Sánchez <[email protected]>: > 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 (<[email protected]>) > 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 < >> [email protected]>: >> >>> 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: image.png] >>> >>> -- >>> Alejandro Rodríguez Sánchez >>> PhD student >>> CIEMAT // Universidad Complutense de Madrid >>> 28040 Madrid >>> email: [email protected] >>> Website: https://alexrsanchez.github.io/en/ >>> _______________________________________________ >>> 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 >> > > > -- > Alejandro Rodríguez Sánchez > PhD student > CIEMAT // Universidad Complutense de Madrid > 28040 Madrid > email: [email protected] > Website: https://alexrsanchez.github.io/en/ > _______________________________________________ > 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
