-
Notifications
You must be signed in to change notification settings - Fork 91
Deal with unnamed OSM points #357
Comments
IIRC the way renaming for pedestrian paths is configurable via OTP at graph building time via custom naming strategies. I remember setting this up in Tampa. Broken bike paths like have to do with bikeable graph connectivity, possibly some OSM data are labeled so they are not bike friendly/routable. We should probably do renaming in the client for origin and destinations on servers that do not handle this themselves. |
@barbeau I'm working on a new total solution for this.
As you can see there are several problems but I think that this addition could be a very interesting addition. I just wanted to write all the problems, later might be better to try to discompose these in several issues: Google Places API limit, problems when reverse geocoding for marker and several results are obtained, "osm:node" for crosswalks and my comments about the proposed mechanism to see if you agree. |
Well, it seems that the issue might be too many requests per second or something similar, I hope that this was during development and the final solution is not also "abusive". And probably Android grocoder is really disconnected from Google Places, in fact previous issue of Google Places was not affecting the system. http://stackoverflow.com/questions/8218764/android-geocoder-quota-limits |
@barbeau I'm trying with another device with the play store version installed and still is not working Android Geocoder, last option is that my IP is being restricted, but I can't use my data plan on that device. I'm afraid that our app is banned in general for Android Geocoder, but the problem is that instead of not giving any result it does return bad results not letting the fallback geocoders Google Places or Nominatim give proper results. If this is confirmed I'm wondering if this will be just temporary or we should do something to recover the functionality. @kalon33 do you have this issue too? |
@vreixo: what is the problem and how to test it (sorry, I'm writing my thesis and analysing results right now, so my overall comprehension of the world is messed up ^^)? If you wanna say that Android Geocoder is not working anymore, it also don't seem to work right now on my phone, but it was properly working yesterday or the day before (as I do always the same trip without completely closing the app, I don't have to use geocoding each time). |
@kalon33 I'm writting my "thesis" too, what a coincidence :-) (I'm not Yes my point was if Android Geocoder for the app will be working since this 2014-08-27 18:01 GMT+02:00 Nicolas Derive [email protected]:
|
…s and added mechanism to retrieve geocoding results for all the otp auto-generated names.
@vreixo Looks like we've hit our 1k requests/day Places API quota a few times: I would imagine that the Android geocoder is connected to Places API behind-the-scenes, but we don't have any way of knowing that, and its definitely not tied to our Places API quota. But yes, they might ban perceived abuse of the Android Geocoder as well. Geocoding doesn't seem to be working for me at present, either (If I search for "Burger King", all I get is "Tampa, FL, Pinellas County, FL" and a few more geographic areas. So yes, looks like we need to be careful here - hopefully this is just the daily quota limiting access. How can I tell if the results are coming from the Android geocoder and not the Places API? Also, when you say |
@barbeau ups, I'm sorry for breaking the geocoder for everyone, I have thought that any limits will be linked with the device or the IP, and not ban everyone. Let's hope that this is temporary and, specially Android Geocoder, will work soon again. I'm attaching some screenshots to clarify how master deals with the unnamed ways and how this is very problematic for bike trips in my city. I was investigating OTP configuration but I didn't found a solution. |
@vreixo : Did you needed to use the geocoder for only once to fix all these roads (once but for lots of requests) and then the OSM data is fixed, or every time? Because if it's only once, we could imagine create a special Google account for that. Is there a way to use the geocoder to contribute back the data you retrieve from it to OSM or not? In order to fix data once for all? (maybe I don't really understand what you're doing with that data) ----- Mail original ----- De: "Vreixo González Caneda" [email protected] @barbeau ups, I'm sorry for breaking the geocoder for everyone, I have thought that any limits will be linked with the device or the IP, and not ban everyone. Let's hope that this is temporary and, specially Android Geocoder, will work soon again. I'm attaching some screenshots to clarify how master deals with the unnamed ways and how this is very problematic for bike trips in my city. I was investigating OTP configuration but I didn't found a solution. — |
@vreixo No worries, hopefully everything is fine tomorrow :). Here are my thoughts for displaying osm:node vs. coordinates vs. place name: A. For entire trip origin/destination, we should always try to find the place name associated with the location and show that to the user For A, from my experience we are very likely to get a landmark back that is meaningful to the user that is roughly near their intended destination. For B, the reason why I don't prefer a place name, is that in my experience it wouldn't result in a useful name in most cases (at least from the data I've seen). I think you're likely to get confusing results with a landmark that is somewhat far away from the OSM way - and, for step-by-step directions within a trip, I'd rather give less precise information that is more accurate, than more precise information that is less accurate - if that makes sense. @vreixo is there a way you can tell how far the place name is from the lat/long of the node that you reverse geocoded? Having said the above, I'm interested to see the results of your work. Perhaps I'm wrong on B, and it is possible to match highly precise place names for step-by-step direction steps. |
@barbeau thanks :-) About #365, I was talking about A. That issue is related to the problems that appear when the user sets origin/location touching the map, now he will get a list of far away results to choose for that point coming from the broken Android Geocoder. We need to fix that for possible new problems with geocoding usage limits. About the rest of your comment you might be right :-) I just felt very unnatural those messages of "Ride to road" or "Walk to sidewalk", maybe is a problem with the translations and might sound better in English than in my language. Regarding you question, yes there is. I have the original lat/lon and the geocoding results also have these fields. Although, I don't think that won't be possible to get good results, because even if the new Address is very close it might just be in the crossing street for example and might be more confusing, as you have said. If I have new thoughts about this I'll write them here, but now I think that I won't continue working on geocoding the intermediate steps and I'll try to focus on how to solve my issues from OTP. |
@vreixo Ok, that sounds good. Its a little awkward in English too, but I think better than the alternatives. |
Fix #357 - Replaced osm:node with sidewalk, which is the desirable resul...
When legs have origin or destination on unnamed points, I suppose that when they are not part of a road network, they are returned from OTP as osm:node:identifier.
I don't know if this has some relation with server version or configuration because in Tampa it does I couldn't reproduce it and in A Coruña and The Netherlands it happens all the time. Also trips bicycle are very "discomposed" in A Coruña with multiple sections, I don't know if this might be related.
If this it's something that we should take care client side, would be an option to trigger a geocoding process for the coordinates of that points.
The text was updated successfully, but these errors were encountered: