]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-jsonv2.php
use _st_intersects when dealing with countries, it does not use index
[nominatim.git] / lib / template / search-jsonv2.php
index 1c2a04dd84028df86bfa3126ef3b2d647a7863a8..126f78662df64970a3acc6c120599637fdaf975d 100644 (file)
@@ -40,6 +40,9 @@
 
                $aPlace['category'] = $aPointDetails['class'];
                $aPlace['type'] = $aPointDetails['type'];
+
+               $aPlace['importance'] = $aPointDetails['importance'];
+
                if (isset($aPointDetails['icon']))
                {
                        $aPlace['icon'] = $aPointDetails['icon'];