interpolation
interpolation copied to clipboard
investigate - 1st ave, manhattan
there appear to be roads where there are no road (polylines do not match base map)
1st avenue, manhattan
need to discuss with @kevinkreiser
added to list of data issues to discuss here: https://github.com/valhalla/tools/issues/96
more recent screenshot, showing all the lines and which line each point is projecting on to (finds the closest).
it appears that the highway:footway
are being used for interpolation.
another similar issue for bus stop (top right):
http://www.openstreetmap.org/way/384288970
for the bus issue above we end up keeping that little Bahnsteig
because it has bus=yes
which makes us assume that buses can drive on it and therefore its routable. turns out this makes no sense in this case because it also has: public_transport=platform
which really means its a place for people to stand/sit and catch the bus not a way on which buses drive. @gknisely maybe we should change it to be pedestrian?
looking at taginfo it seems to show that bus=yes on a way is very rare: https://taginfo.openstreetmap.org/tags/bus=yes
maybe we shouldnt assume anything about access unless its access=bus
for example. i cant find any docs that say motorcar=yes
is about access on a way, i mean its even more rare than bus! https://taginfo.openstreetmap.org/tags/motorcar=yes
anyway even if we do change this, we might still one day get it into the data as routable by pedestrians if we start processing the public_transport=platform
tag value combo.
the unfortunate thing is that the way has the same name as the street since thats the name of the stop. but why did they need to name the way. they named the one bus_stop
node already. im not sure if we should say the data is wrong or if we should plan to work around this. i think if we do the revision about assuming access as mentioned above it should be fixed.
I say we should toss...let me know if i should add the logic.
if (kv["public_transport"] and bus[kv["bus"]]=="true" and kv["highway"]==nil) then return 1 end