summaryrefslogtreecommitdiffstats
path: root/REFLECTION
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-12-05 08:41:31 +0100
committerRemi Collet <fedora@famillecollet.com>2015-12-05 08:41:31 +0100
commit9e7d232a2f46abca7e3e11ef0d67d327e064d3b1 (patch)
tree4518f33b464092aa414761b74cdb47e14fa1e36e /REFLECTION
php-pecl-geospatial: 0.1.0 - New extension
Diffstat (limited to 'REFLECTION')
-rw-r--r--REFLECTION119
1 files changed, 119 insertions, 0 deletions
diff --git a/REFLECTION b/REFLECTION
new file mode 100644
index 0000000..aa647dd
--- /dev/null
+++ b/REFLECTION
@@ -0,0 +1,119 @@
+Extension [ <persistent> extension #96 geospatial version 0.1.0 ] {
+
+ - Constants [4] {
+ Constant [ double GEO_DEG_TO_RAD ] { 0.017453292519943 }
+ Constant [ double GEO_EARTH_RADIUS ] { 6378137 }
+ Constant [ integer GEO_AIRY_1830 ] { 2 }
+ Constant [ integer GEO_WGS84 ] { 1 }
+ }
+
+ - Functions {
+ Function [ <internal:geospatial> function haversine ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $geoJsonPointFrom ]
+ Parameter #1 [ <required> $geoJsonPointTo ]
+ Parameter #2 [ <optional> $radius ]
+ }
+ }
+ Function [ <internal:geospatial> function initial_bearing ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $geoJsonPointFrom ]
+ Parameter #1 [ <required> $geoJsonPointTo ]
+ Parameter #2 [ <optional> $radius ]
+ }
+ }
+ Function [ <internal:geospatial> function fraction_along_gc_line ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $geoJsonPointFrom ]
+ Parameter #1 [ <required> $geoJsonPointTo ]
+ Parameter #2 [ <required> $fraction ]
+ Parameter #3 [ <optional> $radius ]
+ }
+ }
+ Function [ <internal:geospatial> function helmert ] {
+
+ - Parameters [5] {
+ Parameter #0 [ <required> $x ]
+ Parameter #1 [ <required> $y ]
+ Parameter #2 [ <required> $z ]
+ Parameter #3 [ <optional> $from_reference_ellipsoid ]
+ Parameter #4 [ <optional> $to_reference_ellipsoid ]
+ }
+ }
+ Function [ <internal:geospatial> function polar_to_cartesian ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $latitude ]
+ Parameter #1 [ <required> $longitude ]
+ Parameter #2 [ <required> $reference_ellipsoid ]
+ }
+ }
+ Function [ <internal:geospatial> function cartesian_to_polar ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $x ]
+ Parameter #1 [ <required> $y ]
+ Parameter #2 [ <required> $z ]
+ Parameter #3 [ <required> $reference_ellipsoid ]
+ }
+ }
+ 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 ]
+ }
+ }
+ Function [ <internal:geospatial> function dms_to_decimal ] {
+
+ - Parameters [4] {
+ Parameter #0 [ <required> $degrees ]
+ Parameter #1 [ <required> $minutes ]
+ Parameter #2 [ <required> $seconds ]
+ Parameter #3 [ <optional> $direction ]
+ }
+ }
+ Function [ <internal:geospatial> function decimal_to_dms ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $decimal ]
+ Parameter #1 [ <required> $coordinate ]
+ }
+ }
+ Function [ <internal:geospatial> function vincenty ] {
+
+ - Parameters [3] {
+ Parameter #0 [ <required> $geoJsonPointFrom ]
+ Parameter #1 [ <required> $geoJsonPointTo ]
+ Parameter #2 [ <optional> $reference_ellipsoid ]
+ }
+ }
+ Function [ <internal:geospatial> function rdp_simplify ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $pointsArray ]
+ Parameter #1 [ <required> $epsilon ]
+ }
+ }
+ Function [ <internal:geospatial> function interpolate_linestring ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $GeoJSONLineString ]
+ Parameter #1 [ <required> $epsilon ]
+ }
+ }
+ Function [ <internal:geospatial> function interpolate_polygon ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $GeoJSONPolygon ]
+ Parameter #1 [ <required> $epsilon ]
+ }
+ }
+ }
+}
+