]> git.openstreetmap.org Git - nominatim.git/commit
determine geocodejson address by rank instead of type
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 1 Apr 2020 09:12:52 +0000 (11:12 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 1 Apr 2020 09:12:52 +0000 (11:12 +0200)
commitca8d77672402874d192de89aa43d88940dec927f
tree4f97bcd96a0e85a2a72b778b902acd88f16b29fe
parentfdc40d516986f55828579f4a3db31731b8c67728
determine geocodejson address by rank instead of type

Using the address rank to set the address parts catches
a much wider variety of types like 'town' and 'suburb'.
With recent address ranking changes the rank ranges
are relatively reliable.
lib/AddressDetails.php