]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/address-xml.php
add address rank to XML output
[nominatim.git] / lib / template / address-xml.php
index a17da738215b0ee0c354aa239750df4698f3999e..ab0bc72cbab623cbe62ff13d217ba6325b0deaf3 100644 (file)
@@ -28,6 +28,9 @@ if (empty($aPlace)) {
         echo join(',', $aPlace['aBoundingBox']);
         echo '"';
     }
+    echo " place_rank='".$aPlace['rank_search']."'";
+    echo " address_rank='".$aPlace['rank_address']."'";
+
 
     if (isset($aPlace['asgeojson'])) {
         echo ' geojson=\'';