diff options
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 20 |
1 files changed, 17 insertions, 3 deletions
@@ -1,8 +1,8 @@ -Extension [ <persistent> extension #96 geospatial version 0.1.0 ] { +Extension [ <persistent> extension #91 geospatial version 0.2.0 ] { - Constants [4] { - Constant [ double GEO_DEG_TO_RAD ] { 0.017453292519943 } - Constant [ double GEO_EARTH_RADIUS ] { 6378137 } + 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 } } @@ -114,6 +114,20 @@ Extension [ <persistent> extension #96 geospatial version 0.1.0 ] { Parameter #1 [ <required> $epsilon ] } } + Function [ <internal:geospatial> function geohash_encode ] { + + - Parameters [3] { + Parameter #0 [ <required> $latitude ] + Parameter #1 [ <required> $longitude ] + Parameter #2 [ <required> $precision ] + } + } + Function [ <internal:geospatial> function geohash_decode ] { + + - Parameters [1] { + Parameter #0 [ <required> $geohash ] + } + } } } |