]> git.openstreetmap.org Git - nominatim.git/commitdiff
Fixed Lat/Long Example
authorPhiRub <philiprubin@gmail.com>
Thu, 3 Sep 2015 20:59:40 +0000 (15:59 -0500)
committerPhiRub <philiprubin@gmail.com>
Thu, 3 Sep 2015 20:59:40 +0000 (15:59 -0500)
lib/lib.php

index 57bd4723cdc2a284875770f9f39f8f0e449e4324..50cf3dc4b44ac21ce572d62751736fcefc216f81 100644 (file)
                }
                // 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))
                {