]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-json.php
surpress output of osm_type/id for non-OSM objects in reverse xml
[nominatim.git] / lib / template / search-json.php
index 542e37afdc39b6d9a54b32239e0064b47b9c6d03..57586fb9eee3c3adeb24003e225d64fb11480aaf 100644 (file)
@@ -41,6 +41,9 @@
 
                $aPlace['class'] = $aPointDetails['class'];
                $aPlace['type'] = $aPointDetails['type'];
+
+               $aPlace['importance'] = $aPointDetails['importance'];
+
                if (isset($aPointDetails['icon']) && $aPointDetails['icon'])
                {
                        $aPlace['icon'] = $aPointDetails['icon'];