sharedstreets / sharedstreets-js

SharedStreets (Node.js & Javascript)
https://sharedstreets.io
MIT License
78 stars 25 forks source link

roundabouts are not conflating correctly #29

Open emilyeros opened 5 years ago

emilyeros commented 5 years ago
  1. The API doesn't generate a match for infinite circles. When city data depicts a roundabout (or a close) as a single segment, it fails to match.

  2. Even when roundabouts are not infinite circles, they wouldn't match correctly in the example I looked at... but the API didn't know that it had failed. Example below. Matches in blue, city data in grey, unmatches in red (there are none).

image

emilyeros commented 5 years ago

@kpwebb here's the centerline file that generated the duplicates:

The example above uses the following matchURL: https://api.sharedstreets.io/v0.1.0/match/geoms?lengthTolerance=0.25&dataSource=osm/planet-180430&ignoreDirection=true&bearingTolerance=35&searchRadius=25&auth=bdd23fa1-7ac5-4158-b354-22ec946bb575

emilyeros commented 5 years ago

perhaps related to this issue: https://github.com/sharedstreets/sharedstreets-js/issues/23