opentraffic / tangram-viz-experiments

OTv2: work-in-progress to visualize anonymized and aggregated traffic statics using Tangram
http://opentraffic.io/tangram-viz-experiments/
MIT License
4 stars 1 forks source link

Overlapping traffic lines should be offset #4

Closed nvkelso closed 7 years ago

nvkelso commented 7 years ago

On the road Maria Clara we have 2 features on top of each other – they should instead be pointing opposite directions and offset from each other. Notice how this works on Vicente Cruz "correctly", though maybe there is a difference of oneway=true versus oneway=false here.

Not sure if this is a Tangram problem or data problem on the server.

/cc @patriciogonzalezvivo @kevinkreiser

19/14.61743/120.99033

screen shot 2017-03-21 at 5 08 23 pm screen shot 2017-03-21 at 5 10 41 pm screen shot 2017-03-21 at 5 11 05 pm
nvkelso commented 7 years ago

Even better example where the speeds and colors are different:

http://localhost:8000/#20/14.61097/120.98375

screen shot 2017-03-21 at 5 24 11 pm
kevinkreiser commented 7 years ago

yes the are going in the same direction because of a bug we had when we gave @patriciogonzalezvivo this data. its since been fixed so all that needs done is to grab the latest.

patriciogonzalezvivo commented 7 years ago

@nvkelso I will re-parse the new geometry to add the average speeds today. That should solve that

patriciogonzalezvivo commented 7 years ago

i just push a new version of the geometry. @nvkelso Could you double check directions are good?

patriciogonzalezvivo commented 7 years ago

20

nvkelso commented 7 years ago

Verified https://github.com/opentraffic/tangram-viz-experiments/commit/d9f93d699091ab36132943614f07faa94fd8f13a.