]> git.openstreetmap.org Git - nominatim.git/commit
allow coordinates in query only with name or classtype
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 15 Jun 2016 20:39:21 +0000 (22:39 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 15 Jun 2016 20:43:53 +0000 (22:43 +0200)
commit1ba3dbeac4c9cb7514ec07b11540960e0a1ccbc0
treed2f243545bb05bfe740499a10373afde32b93026
parentfc96bee063c26ade2cdc89f255de580de9d43009
allow coordinates in query only with name or classtype

Coordinates with country or housenumber only do not make much
sense. Currently these combination result in queries that
require a sequential scan of search_name and normally time
out before yielding any results.

fixes #462
lib/Geocode.php