diff options
author | Remi Collet <remi@remirepo.net> | 2021-01-28 17:14:39 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-01-28 17:14:39 +0100 |
commit | c88c334e58119956139378f19df82a7e1e64d854 (patch) | |
tree | d891f4445ecac1545c33d76231e23569411dac40 /REFLECTION | |
parent | 88bc5f8431eac15c9c3a03730126061cf556bd04 (diff) |
update to 0.3.1
raise dependency on PHP 7.0
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 24 |
1 files changed, 11 insertions, 13 deletions
@@ -1,10 +1,10 @@ -Extension [ <persistent> extension #96 geospatial version 0.2.1 ] { +Extension [ <persistent> extension #118 geospatial version 0.3.1 ] { - Constants [4] { - Constant [ float GEO_DEG_TO_RAD ] { 0,017453292519943 } + Constant [ float GEO_DEG_TO_RAD ] { 0.017453292519943 } Constant [ float GEO_EARTH_RADIUS ] { 6378137 } - Constant [ integer GEO_AIRY_1830 ] { 2 } - Constant [ integer GEO_WGS84 ] { 1 } + Constant [ int GEO_AIRY_1830 ] { 2 } + Constant [ int GEO_WGS84 ] { 1 } } - Functions { @@ -62,11 +62,10 @@ Extension [ <persistent> extension #96 geospatial version 0.2.1 ] { } Function [ <internal:geospatial> function transform_datum ] { - - Parameters [4] { - Parameter #0 [ <required> $latitude ] - Parameter #1 [ <required> $longitude ] - Parameter #2 [ <required> $from_reference_ellipsoid ] - Parameter #3 [ <required> $to_reference_ellipsoid ] + - Parameters [3] { + Parameter #0 [ <required> $GeoJSONPoint ] + Parameter #1 [ <required> $from_reference_ellipsoid ] + Parameter #2 [ <required> $to_reference_ellipsoid ] } } Function [ <internal:geospatial> function dms_to_decimal ] { @@ -116,10 +115,9 @@ Extension [ <persistent> extension #96 geospatial version 0.2.1 ] { } Function [ <internal:geospatial> function geohash_encode ] { - - Parameters [3] { - Parameter #0 [ <required> $latitude ] - Parameter #1 [ <required> $longitude ] - Parameter #2 [ <required> $precision ] + - Parameters [2] { + Parameter #0 [ <required> $GeoJSONPoint ] + Parameter #1 [ <required> $precision ] } } Function [ <internal:geospatial> function geohash_decode ] { |