mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
Tested Version of new Tiger line storage format.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
$fLoadAvg = getLoadAverage();
|
||||
if ($fLoadAvg > 3)
|
||||
{
|
||||
echo "Page temporarily blocked due to high server load\n";
|
||||
echo "Page temporarily blocked due to high server load\n";F
|
||||
exit;
|
||||
}
|
||||
*/
|
||||
@@ -103,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, ";
|
||||
|
||||
Reference in New Issue
Block a user