[Geocoding] [OpenStreetMap] #4683: limit=1 gives no results. But without this parameter or with limit=2 all is fine
OpenStreetMap
trac at noreply.openstreetmap.org
Tue Nov 13 22:39:50 GMT 2012
#4683: limit=1 gives no results. But without this parameter or with limit=2 all is
fine
------------------------+-------------------------
Reporter: karussell | Owner: geocoding@…
Type: defect | Status: new
Priority: major | Milestone:
Component: nominatim | Version:
Resolution: | Keywords:
------------------------+-------------------------
Comment (by lonvia):
The linked_place_id is the culprit here. The search for places does not
take it into account but gets the limit. The subsequent lookup in the
placex table does look at linked_place_id and reduce the already limited
results further.
The easiest fix I can see is to internally work with a limit that is twice
the requested limit. That should cover the worst case scenario but also
doubles the work load in the worst case. Any other ideas?
--
Ticket URL: <https://trac.openstreetmap.org/ticket/4683#comment:1>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world
More information about the Geocoding
mailing list