]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/Geocode.php
fix coordinate order for route parameter
[nominatim.git] / lib / Geocode.php
index 6d5796228d13eeca69dc99a2ca0b5229f8321d30..0b3bd51f1f72c87bb6b26be336b5d467d2c9d89a 100644 (file)
                                foreach($this->aRoutePoints as $aPoint)
                                {
                                        if (!$bFirst) $sViewboxCentreSQL .= ",";
-                                       $sViewboxCentreSQL .= $aPoint[1].' '.$aPoint[0];
+                                       $sViewboxCentreSQL .= $aPoint[0].' '.$aPoint[1];
                                        $bFirst = false;
                                }
                                $sViewboxCentreSQL .= ")'::geometry,4326)";