From: PhiRub Date: Thu, 3 Sep 2015 20:59:40 +0000 (-0500) Subject: Fixed Lat/Long Example X-Git-Tag: v.2.5.0~24^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/5cc1946dfcde07d3fa42b09e966bed247bdb50a1?ds=inline;hp=--cc Fixed Lat/Long Example --- 5cc1946dfcde07d3fa42b09e966bed247bdb50a1 diff --git a/lib/lib.php b/lib/lib.php index 57bd4723..50cf3dc4 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -970,7 +970,7 @@ } // degrees decimal seconds // N 40 26 46 W 79 58 56 - // N 40° 26′ 46″ W, 79° 58′ 56″ + // N 40° 26′ 46″, W 79° 58′ 56″ // 1 2 3 4 5 6 7 8 elseif (preg_match('/\\b([NS])[ ]([0-9]+)[° ]+([0-9]+)[′\' ]+([0-9]+)[″"]*[, ]+([EW])[ ]([0-9]+)[° ]+([0-9]+)[′\' ]+([0-9]+)[″"]*\\b/', $sQuery, $aData)) {