]> git.openstreetmap.org Git - nominatim.git/commit
do not allow importance to become 0
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 19 Feb 2018 22:24:12 +0000 (23:24 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 1 Mar 2018 21:37:45 +0000 (22:37 +0100)
commitdf008d99f549d850d07580b4592435388e44387c
tree358a4f2f273c7b4eea997db3c29c00503c38a80d
parentfd920fba9b0ae1dd4baeb92223043214779b9abe
do not allow importance to become 0

Importance is weighed against a viewbox factor which disappears
when the importance is 0.

Fixes #930.
lib/Geocode.php
lib/SearchDescription.php