X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d6f298f0336f69d0f89157a42fa546337f4d80e5..d6fa3ce8ff49fe56f24d10975e83c8b4b65e5f79:/lib/lib.php?ds=sidebyside diff --git a/lib/lib.php b/lib/lib.php index e200202b..4b68b4a3 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -178,7 +178,7 @@ { $aResult = array(array(join(' ',$aWords))); $sFirstToken = ''; - if ($iDepth < 8) { + if ($iDepth < 7) { while(sizeof($aWords) > 1) { $sWord = array_shift($aWords); @@ -540,7 +540,6 @@ 'natural:beach' => array('label'=>'Beach','frequency'=>121,'icon'=>'tourist_beach',), 'place:moor' => array('label'=>'Moor','frequency'=>118,'icon'=>'',), 'amenity:grave_yard' => array('label'=>'Grave Yard','frequency'=>110,'icon'=>'',), - 'waterway:derelict_canal' => array('label'=>'Derelict Canal','frequency'=>109,'icon'=>'',), 'waterway:drain' => array('label'=>'Drain','frequency'=>108,'icon'=>'',), 'landuse:grass' => array('label'=>'Grass','frequency'=>106,'icon'=>'',), 'landuse:village_green' => array('label'=>'Village Green','frequency'=>106,'icon'=>'',), @@ -628,7 +627,7 @@ 'place:houses' => array('label'=>'Houses','frequency'=>85,'icon'=>'',), 'railway:preserved' => array('label'=>'Preserved','frequency'=>227,'icon'=>'',), - 'waterway:derelict canal' => array('label'=>'Derelict Canal','frequency'=>21,'icon'=>'',), + 'waterway:derelict_canal' => array('label'=>'Derelict Canal','frequency'=>21,'icon'=>'',), 'amenity:dead_pub' => array('label'=>'Dead Pub','frequency'=>20,'icon'=>'',), 'railway:disused_station' => array('label'=>'Disused Station','frequency'=>114,'icon'=>'',), 'railway:abandoned' => array('label'=>'Abandoned','frequency'=>641,'icon'=>'',), @@ -994,4 +993,4 @@ $sQuery = trim(str_replace($sFound, ' ', $sQuery)); return array('lat' => $fQueryLat, 'lon' => $fQueryLon, 'query' => $sQuery); - } \ No newline at end of file + }