mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
Fixed Lat/Long Example
This commit is contained in:
@@ -970,7 +970,7 @@
|
|||||||
}
|
}
|
||||||
// degrees decimal seconds
|
// 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″
|
// N 40° 26′ 46″, W 79° 58′ 56″
|
||||||
// 1 2 3 4 5 6 7 8
|
// 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))
|
elseif (preg_match('/\\b([NS])[ ]([0-9]+)[° ]+([0-9]+)[′\' ]+([0-9]+)[″"]*[, ]+([EW])[ ]([0-9]+)[° ]+([0-9]+)[′\' ]+([0-9]+)[″"]*\\b/', $sQuery, $aData))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user