Open emilyeros opened 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
perhaps related to this issue: https://github.com/sharedstreets/sharedstreets-js/issues/23
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.
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).