forked from hans/Nominatim
fixed typo
This commit is contained in:
@@ -558,7 +558,7 @@ class PlaceLookup
|
|||||||
if ($fLonReverse != null && $fLatReverse != null) {
|
if ($fLonReverse != null && $fLatReverse != null) {
|
||||||
$sFrom = ' from (SELECT * , ST_ClosestPoint(geometry, ST_SetSRID(ST_Point('.$fLatReverse.','.$fLonReverse.'),4326)) AS closest_point';
|
$sFrom = ' from (SELECT * , ST_ClosestPoint(geometry, ST_SetSRID(ST_Point('.$fLatReverse.','.$fLonReverse.'),4326)) AS closest_point';
|
||||||
} else {
|
} else {
|
||||||
$sFrom = $sFrom = ' from placex where place_id = '.$iPlaceID;
|
$sFrom = ' from placex where place_id = '.$iPlaceID;
|
||||||
}
|
}
|
||||||
$sFrom .= ' from placex where place_id = '.$iPlaceID.') as plx';
|
$sFrom .= ' from placex where place_id = '.$iPlaceID.') as plx';
|
||||||
if ($this->fPolygonSimplificationThreshold > 0) {
|
if ($this->fPolygonSimplificationThreshold > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user