]> git.openstreetmap.org Git - nominatim.git/commit
unify address details lookup
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 10 Jul 2018 21:38:27 +0000 (23:38 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 10 Jul 2018 21:54:35 +0000 (23:54 +0200)
commit25baaf530dea28b7cf3c72ba4e83f3ebed05629f
treeda5c1574d62887139460f373ad3b9e85d050774d
parent320d488627b1a5674458cbef644c6731882b2a23
unify address details lookup

Introduces new AddressDetails class which is responsible
for address lookups. Saves always the complete result
and then allows filtering throught the different access
function. Remove special handling in Geocode() and use
there the lookup throught PlaceLookup() as well.
18 files changed:
lib/AddressDetails.php [new file with mode: 0644]
lib/ClassTypes.php
lib/Geocode.php
lib/PlaceLookup.php
lib/lib.php
lib/template/address-geocodejson.php
lib/template/address-geojson.php
lib/template/address-json.php
lib/template/address-xml.php
lib/template/search-batch-json.php
lib/template/search-geocodejson.php
lib/template/search-geojson.php
lib/template/search-json.php
lib/template/search-xml.php
website/details.php
website/hierarchy.php
website/lookup.php
website/reverse.php