X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/279ea25e7debfeef06a0247d55499ee02b6b4de6..e94b667e16177916dc34d790df475a69fe01a7d9:/website/details.php?ds=sidebyside diff --git a/website/details.php b/website/details.php index 3a0fee82..5b269fc0 100755 --- a/website/details.php +++ b/website/details.php @@ -1,7 +1,8 @@ 3) { - echo "Page temporarily blocked due to high server load\n"; + echo "Page temporarily blocked due to high server load\n";F exit; } */ @@ -102,7 +103,7 @@ } // Address - $aAddressLines = getAddressDetails($oDB, $sLanguagePrefArraySQL, $iPlaceID, $aPointDetails['country_code'], true); + $aAddressLines = getAddressDetails($oDB, $sLanguagePrefArraySQL, $iPlaceID, $aPointDetails['country_code'], -1, true); // Linked places $sSQL = "select placex.place_id, osm_type, osm_id, class, type, housenumber, admin_level, rank_address, ST_GeometryType(geometry) in ('ST_Polygon','ST_MultiPolygon') as isarea, ST_Distance_Spheroid(geometry, placegeometry, 'SPHEROID[\"WGS 84\",6378137,298.257223563, AUTHORITY[\"EPSG\",\"7030\"]]') as distance, ";