]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-xml.php
Merge pull request #436 from lonvia/remove-location-property-tables
[nominatim.git] / lib / template / search-xml.php
index 6a382ebf7bcb4bde0c83783e05211f9ba8241ccb..54217933ef7d8962a5e3934b3186b6ae9cb8d57d 100644 (file)
@@ -25,7 +25,7 @@
        foreach($aSearchResults as $iResNum => $aResult)
        {
                echo "<place place_id='".$aResult['place_id']."'";
-               $sOSMType = ($aResult['osm_type'] == 'N'?'node':($aResult['osm_type'] == 'W'?'way':($aResult['osm_type'] == 'R'?'relation':'')));
+               $sOSMType = ($aResult['osm_type'] == 'N'?'node':($aResult['osm_type'] == 'W'?'way':($aResult['osm_type'] == 'R'?'relation':($aResult['osm_type'] == 'T'?'tiger':''))));
                if ($sOSMType)
                {
                        echo " osm_type='$sOSMType'";