Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change network #385

Open
SarahSie opened this issue Jul 8, 2020 · 1 comment
Open

change network #385

SarahSie opened this issue Jul 8, 2020 · 1 comment

Comments

@SarahSie
Copy link

SarahSie commented Jul 8, 2020

I want to block a road for cars (but not for the buses or pt). The link id for this road in the network.xml is:

<link id="128965" from="156384136" to="27462669" length="46.37834975636002" freespeed="13.88888888888889" capacity="3000.0" permlanes="2.0" oneway="1" modes="bus,pt,car" >
		</link>

By setting the freespeed and capacity to Zero, I can block the road for cars, BUT I do not want those buses or pt will be affected.
What should I do?

@mrieser
Copy link
Contributor

mrieser commented Jul 9, 2020

This is often modelled with two separate links, connecting the same nodes. The first link is only for cars, while the second link is for bus/pt. This way, it is possible to block only the car link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants