mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-27 10:43:02 +03:00
parent
569184a5b0
commit
0394f32438
@ -108,8 +108,8 @@ class SearchContext
|
|||||||
$aViewBox[3]
|
$aViewBox[3]
|
||||||
);
|
);
|
||||||
|
|
||||||
$fHeight = $aViewBox[0] - $aViewBox[2];
|
$fHeight = abs($aViewBox[0] - $aViewBox[2]);
|
||||||
$fWidth = $aViewBox[1] - $aViewBox[3];
|
$fWidth = abs($aViewBox[1] - $aViewBox[3]);
|
||||||
|
|
||||||
$this->sqlViewboxLarge = sprintf(
|
$this->sqlViewboxLarge = sprintf(
|
||||||
'ST_SetSRID(ST_MakeBox2D(ST_Point(%F,%F),ST_Point(%F,%F)),4326)',
|
'ST_SetSRID(ST_MakeBox2D(ST_Point(%F,%F),ST_Point(%F,%F)),4326)',
|
||||||
|
Loading…
Reference in New Issue
Block a user