[OpenStreetMap] #5126: addr:interpolation - Nominatim calculates intermediate address but then opens up endpoint address
OpenStreetMap
trac at noreply.openstreetmap.org
Fri Feb 21 18:59:28 UTC 2014
#5126: addr:interpolation - Nominatim calculates intermediate address but then
opens up endpoint address
----------------------+-------------------------
Reporter: jalek | Owner: rails-dev@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: website | Version:
Resolution: | Keywords:
----------------------+-------------------------
Changes (by lonvia):
* owner: geocoding@… => rails-dev@…
* component: nominatim => website
Comment:
The behaviour of the website has changed with respect to interpolation
points. You can see on Nominatim's website that it returns the correct
coordinates for the address:
http://nominatim.openstreetmap.org/search.php?q=9+Heriot+Row+Edinburgh+UK&polygon=1
In the XML, Nominatim returns the correct coordinates as well but also
returns the OSM object id of one of the interpolation points because it is
the closest to the address. It does initially zoom in on the right
coordinates but then moves to the interpolation point (at least when it is
outside the viewport), which is admittedly rather unexpected.
I'm not quite sure what's the best solution here. Nominatim simply could
stop returning an OSM object for interpolated addresses. I believe the
website will then do the right thing and put a marker on the coordinate.
However, I'm reluctant to do that as there might be applications that rely
on the current behaviour.
--
Ticket URL: <https://trac.openstreetmap.org/ticket/5126#comment:1>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the rails-dev
mailing list