Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Changing access permissions of all edges of a particular edge type

Hi there,

I imported a map from OSM using the WebWizard. However, I find that all the edges of the `highway.service` edge-type have the wrong access permissions. I would like to change all of them. I would like all edges to *inherit* their permissions from `highway.service`, so that I can change the access permissions from one place. 

My guess is that I have convert the net.xml file to plain-xml files. Then I will need to develop a python script to remove from the edg.xml file, all `allow` and `disallow` fields from edges of type `highway.service`, as well as from the lanes within those edges. Then I will need to convert the plain-xml files back to a net.xml file. Is my understanding correct or is their an easier way?

Chris





Back to the top