[BUG] Trueshape and crowfly shape both represented in EMME visualization of Lasso-Created Network
Opened this issue · 2 comments
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.
The conversion from geojson to wkt seems to be working (see below picture)
But when wkt added to network (see line here) it produces the funky geometry. What gives?
To Reproduce
cc: @i-am-sijia if useful to add here
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Thoughts on resolution
Full stack trace
@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 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.