From: Sarah Hoffmann Date: Wed, 3 Sep 2014 19:08:26 +0000 (+0200) Subject: fix coordinate order for route parameter X-Git-Tag: v2.3.0~14 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/e7ee9c2d8407dfaf191b51d76a53b52a34d91361?hp=5f79cca558a49a4048d6ec3c179e68d0259f608e fix coordinate order for route parameter fixes #174 --- diff --git a/lib/Geocode.php b/lib/Geocode.php index 6d579622..0b3bd51f 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -518,7 +518,7 @@ foreach($this->aRoutePoints as $aPoint) { if (!$bFirst) $sViewboxCentreSQL .= ","; - $sViewboxCentreSQL .= $aPoint[1].' '.$aPoint[0]; + $sViewboxCentreSQL .= $aPoint[0].' '.$aPoint[1]; $bFirst = false; } $sViewboxCentreSQL .= ")'::geometry,4326)";