From: Sarah Hoffmann Date: Fri, 12 Jun 2015 21:26:38 +0000 (+0200) Subject: also return bbox ccordinates as string for nodes X-Git-Tag: v.2.5.0~44 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/1fcb712f006787f90c9e72a68bba813f5796f746 also return bbox ccordinates as string for nodes fixes https://trac.openstreetmap.org/ticket/5132 again --- diff --git a/lib/Geocode.php b/lib/Geocode.php index 4ca832dc..c89cc48c 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -1692,7 +1692,7 @@ $aPointPolygon['minlon'] = $aPointPolygon['minlon'] - $fRadius; $aPointPolygon['maxlon'] = $aPointPolygon['maxlon'] + $fRadius; } - $aResult['aBoundingBox'] = array($aPointPolygon['minlat'],$aPointPolygon['maxlat'],$aPointPolygon['minlon'],$aPointPolygon['maxlon']); + $aResult['aBoundingBox'] = array((string)$aPointPolygon['minlat'],(string)$aPointPolygon['maxlat'],(string)$aPointPolygon['minlon'],(string)$aPointPolygon['maxlon']); } }