]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/output.php
Merge pull request #986 from mtmail/php-replace-sizeof
[nominatim.git] / lib / output.php
index 983e34406e0f3f6502562ff5f8121546ee8a8ee2..fd6226bc503b08d9bd2f6d1c6aa742a37a8c8b83 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 
+
 function formatOSMType($sType, $bIncludeExternal = true)
 {
     if ($sType == 'N') return 'node';
@@ -8,7 +9,7 @@ function formatOSMType($sType, $bIncludeExternal = true)
 
     if (!$bIncludeExternal) return '';
 
-    if ($sType == 'T') return 'tiger';
+    if ($sType == 'T') return 'way';
     if ($sType == 'I') return 'way';
 
     return '';
@@ -38,4 +39,3 @@ function detailsLink($aFeature, $sTitle = false)
 
     return '<a href="details.php?place_id='.$aFeature['place_id'].'">'.($sTitle?$sTitle:$aFeature['place_id']).'</a>';
 }
-