]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/address-jsonv2.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib / template / address-jsonv2.php
index baf53129e13aec93d6e470c838d27e343c4061ca..92cf4f1cc5025d830ea92556682f2eb8e746348e 100644 (file)
                 }
                if (isset($aPlace['lat'])) $aFilteredPlaces['lat'] = $aPlace['lat'];
                if (isset($aPlace['lon'])) $aFilteredPlaces['lon'] = $aPlace['lon'];
+
+               $aFilteredPlaces['place_rank'] = $aPlace['rank_search'];
+
                 $aFilteredPlaces['category'] = $aPlace['class'];
                 $aFilteredPlaces['type'] = $aPlace['type'];
+
+               $aFilteredPlaces['importance'] = $aPlace['importance'];
+
                 $aFilteredPlaces['addresstype'] = strtolower($aPlace['addresstype']);
 
                $aFilteredPlaces['display_name'] = $aPlace['langaddress'];