summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-12-29 17:49:06 +0100
committerRemi Collet <remi@remirepo.net>2017-12-29 17:49:06 +0100
commitf0e38a977bb4019de84db91acbaaba506c520d4b (patch)
treea44cd5eedcaef87e0586b868427186953e6053c6 /REFLECTION
parent3dd04935a4ec2c0b5bba87782524de934bb56e4d (diff)
v0.2.0
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION20
1 files changed, 17 insertions, 3 deletions
diff --git a/REFLECTION b/REFLECTION
index aa647dd..56a15ea 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -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 ]
+ }
+ }
}
}