sharedstreets / sharedstreets-js

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

Matching generates stubs instead of streets #22

Open emilyeros opened 5 years ago

emilyeros commented 5 years ago

Using the CLI with default parameters, matching sometimes generates stubs instead of streets. Here's an example from SF:

Screen Shot 2019-04-03 at 1 07 40 PM

Those stubs are ~<2m in length. The matcher usually fails silently on the rest of the street segment. This is true for most of downtown SF:

Screen Shot 2019-04-03 at 1 15 47 PM

I don't see a reason in the data for why this fails. The (current) OSM geometries are tagged highway=residential or highway=tertiary. The OSM geometries are sometimes 2-10 blocks long, but that's true in other areas that do match properly.

Here's a geojson for that first image:

stubby_matches_sf.geojson.txt

emilyeros commented 5 years ago

Related to: https://github.com/CityofToronto/bdit_shared_streets_conflator/issues/14