diff options
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 ] { |