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

Check for duplicate directional links #125

Merged
merged 3 commits into from
Nov 24, 2020
Merged

Check for duplicate directional links #125

merged 3 commits into from
Nov 24, 2020

Conversation

nmpeterson
Copy link
Contributor

Mostly resolves #108, where links with unique ABB values could still result in duplicate directional links being generated by the Generate Highway Files tool. For example, two links with ABB values 10001-10002-1 and 10002-10001-1 could both exist in the MHN with DIRECTIONS='2'. Generate Highway Files would then generate directional links 10001-10002 and 10002-10001 twice each, and during the batchin process Emme would only import one of each.

This PR adds code to the Incorporate Edits tool to identify any such duplicates, based on every link's ANODE, BNODE and DIRECTIONS values.

Mostly resolves #108, although skeleton links with highway project coding that contradicts link's DIRECTIONS attribute could slip through.
@nmpeterson nmpeterson merged commit ae02e17 into CMAP-REPOS:master Nov 24, 2020
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

Successfully merging this pull request may close these issues.

Check for directional links with same from-to node pair
1 participant