Nominatim seems to only provide search matches when the address is a perfect match. What can be done to fallback to the road at least? From my testing anything that includes a suite # will not return any results. asked 20 Jun '12, 17:21 Norm1 SimonPoole ♦ |
Nominatim currently expects that all elements of your query to appear in the address. There are a number of feature requests with respect to this but they are still on the TODO list. If you run your own instance of Nominatim, then the best quick-and-dirty fix for this problem at the moment is a wrapper script for your queries. If a query returns no results, remove part of the address and send the query again to Nominatim. Repeat until you get a result. answered 21 Jun '12, 09:35 lonvia Thanks for the suggestion. I think I might just do that, in my wrapper scrub the address with some regex and remove anything with Unit, Suite, etc ... On a side note, is there any documentation that explains the method of madness with search.php?
(22 Jun '12, 19:50)
Norm1
|
Could you perhaps give an example of something that doesn't work, and what it should find?
Yes, this works: 1870 broadway, new york city, ny
This does not: 1870 broadway Suite #123, new york city, ny
Or 1870 broadway Suite 123, new york city, ny
Or anything with Suite in the address