@@ -61,6 +61,10 @@ discard block |
||
| 61 | 61 | throw new \InvalidArgumentException("Format of coordinates was not recognized"); |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | + /** |
|
| 65 | + * @param string $string |
|
| 66 | + * @param null|Ellipsoid $ellipsoid |
|
| 67 | + */ |
|
| 64 | 68 | private static function parseDecimalMinutesWithoutCardinalLetters($string, $ellipsoid) |
| 65 | 69 | { |
| 66 | 70 | // Decimal minutes without cardinal letters, e. g. "52 12.345, 13 23.456", |
@@ -76,6 +80,10 @@ discard block |
||
| 76 | 80 | return null; |
| 77 | 81 | } |
| 78 | 82 | |
| 83 | + /** |
|
| 84 | + * @param string $string |
|
| 85 | + * @param null|Ellipsoid $ellipsoid |
|
| 86 | + */ |
|
| 79 | 87 | private static function parseDecimalMinutesWithCardinalLetters($string, $ellipsoid) |
| 80 | 88 | { |
| 81 | 89 | // Decimal minutes with cardinal letters, e. g. "52 12.345, 13 23.456", |
@@ -97,6 +105,10 @@ discard block |
||
| 97 | 105 | return null; |
| 98 | 106 | } |
| 99 | 107 | |
| 108 | + /** |
|
| 109 | + * @param string $string |
|
| 110 | + * @param null|Ellipsoid $ellipsoid |
|
| 111 | + */ |
|
| 100 | 112 | private static function parseDecimalDegreesWithoutCardinalLetters($string, $ellipsoid) |
| 101 | 113 | { |
| 102 | 114 | // The most simple format: decimal degrees without cardinal letters, |
@@ -108,6 +120,10 @@ discard block |
||
| 108 | 120 | return null; |
| 109 | 121 | } |
| 110 | 122 | |
| 123 | + /** |
|
| 124 | + * @param string $string |
|
| 125 | + * @param null|Ellipsoid $ellipsoid |
|
| 126 | + */ |
|
| 111 | 127 | private static function parseDecimalDegreesWithCardinalLetters($string, $ellipsoid) |
| 112 | 128 | { |
| 113 | 129 | // Decimal degrees with cardinal letters, e. g. "N52.5, E13.5", |