]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/lib.php
Fixed Lat/Long Example
[nominatim.git] / 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))
                {