Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] OSM - 2 sidewalks/footpaths on one-way street

Dear Jakob,

during the SUMO User Conference you told me that there is an OSM tag
that allows to add the reverse edge by default.

I'm checking https://wiki.openstreetmap.org/wiki/Key:sidewalk and
adding <tag k="sidewalk" v="both"> is not helping on one-way streets.

Am I using the wrong tag, or I misunderstood you?
See attachment for the edge example.

All the Best,
Lara

On Thu, 2018-01-11 at 15:17 +0100, Michael Behrisch wrote:
> Hi Xavier,
> one possible solution is to
> - write the network as plain xml
> - scan the edges for oneway edges (the ones which do not occur in
> pairs 
> of <id> and -<id>)
> - add the missing edge with reverted from and to and reverted
> geometry 
> and a single pedestrian lane (and the negated id)
>   - you probably want to set the spreadtype also to right instead of 
> center.
> - run netconvert with the modified XML input
> 
> Unfortunately there is no script yet tot do this but if you wirte one
> we 
> would be happy to include it.
> 
> Best regards
> Michael
> 
> Am 2018-01-11 00:57, schrieb Xavier Paul Lister Lavenir:
> > Hi,
> > 
> > I'm creating a scenario in SUMO where there will be both
> > pedestrians
> > and vehicles interacting. I've extracted the map from OSM and used
> > netconvert to get a net file. The osmNetconvertPedestrians.typ.xml
> > typemap is good for getting sidewalks however I have many one-way
> > streets and there are only sidewalks on one side of the street
> > (because one-way streets can only have one sidewalk). I need to add
> > a
> > footpath on all one way streets - what is the best method of doing
> > so?
> > I was using netconvert but it would be nice to have a script to do
> > this.
> > 
> > Thanks,
> > Xavier
> > 
> > _______________________________________________
> > sumo-user mailing list
> > sumo-user@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or
> > unsubscribe from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/sumo-user
> 
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
-- 
Lara CODECA
Postdoc
Tel : 04.93.00.81.51

EURECOM
Campus SophiaTech
http://www.eurecom.fr/

Attachment: sidewalks.png
Description: PNG image


Back to the top