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

[BUG] Trueshape and crowfly shape both represented in EMME visualization of Lasso-Created Network #129

Open
e-lo opened this issue Aug 17, 2021 · 2 comments
Labels
fix Something isn't working/bug fix MTC Things for MTC

Comments

@e-lo
Copy link
Collaborator

e-lo commented Aug 17, 2021

Describe the bug

When wkt geometry for some links added to represent tru-shapes, they are not correct and seem to jump back and add vertices at a and b node.

image

The conversion from geojson to wkt seems to be working (see below picture)
image

But when wkt added to network (see line here) it produces the funky geometry. What gives?
image

To Reproduce

cc: @i-am-sijia if useful to add here
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Thoughts on resolution

Full stack trace

@e-lo e-lo added fix Something isn't working/bug fix MTC Things for MTC labels Aug 17, 2021
@DavidOry
Copy link
Member

@inrokevin says this is a common problem. The direction is wrong on import. @i-am-sijia: please follow-up with Kevin when you return.

@i-am-sijia
Copy link
Member

I know why. In our standard format, two-way street's forward and backward links use the same shape. Meaning if there are 1M links in link.json (assuming all two-way streets), there are 500k shapes in shape.geojson.

The solution is before writing out to EMME, I can create reverse shapes for backward links. Below is the EMME network at the same location after this change.

image

@DavidOry @e-lo @inrokevin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Something isn't working/bug fix MTC Things for MTC
Projects
None yet
Development

No branches or pull requests

3 participants