]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #315 from PhiRub/patch-1
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 26 Sep 2015 08:43:20 +0000 (10:43 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 26 Sep 2015 08:43:20 +0000 (10:43 +0200)
Fixed Lat/Long Example

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))
                {