]> git.openstreetmap.org Git - nominatim.git/commit
geocodejson: type should contain the general feature class
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 27 Apr 2022 08:53:12 +0000 (10:53 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 27 Apr 2022 08:53:12 +0000 (10:53 +0200)
commit8677da2a72bb54a86e91ed79e4adb943fa9ef40b
tree3b0f9e2d1372f236e0d12b8d3f3ced712360131f
parentde828b723e98955c3484e596dcd1f84437eb652b
geocodejson: type should contain the general feature class

'type' so far contained the value of the OSM tag. That is rarely
helpful because it is not a restricted class of values. Change
this to contain the types as defined in the geocodejson spec,
which correspond to the address layer names.
lib-php/lib.php
lib-php/template/search-geocodejson.php