blob: aa647dde9fb81cb0edf86fc7aa3cc04e714c150c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
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 ]
}
}
}
}
|