@osdk/internal.foundry.geo 2.11.0 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @osdk/internal.foundry.geo
|
|
2
2
|
|
|
3
|
+
## 2.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 0d34388: Migrates components and errors from Core to Ontologies namespaces, and deprecates old components.
|
|
8
|
+
- b61dd32: Release a new version of the SDKs
|
|
9
|
+
|
|
10
|
+
## 2.12.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- ee52ff3: Updating platform sdks with vector property type and other improvements.
|
|
15
|
+
|
|
3
16
|
## 2.11.0
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -2,43 +2,39 @@ export type LooselyBrandedString<T extends string> = string & {
|
|
|
2
2
|
__LOOSE_BRAND?: T;
|
|
3
3
|
};
|
|
4
4
|
/**
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* A linear ring is a closed LineString with four or more positions.
|
|
13
|
-
The first and last positions are equivalent, and they MUST contain
|
|
14
|
-
identical values; their representation SHOULD also be identical.
|
|
15
|
-
A linear ring is the boundary of a surface or the boundary of a hole in
|
|
16
|
-
a surface.
|
|
17
|
-
A linear ring MUST follow the right-hand rule with respect to the area
|
|
18
|
-
it bounds, i.e., exterior rings are counterclockwise, and holes are
|
|
19
|
-
clockwise.
|
|
5
|
+
* A GeoJSON object MAY have a member named "bbox" to include
|
|
6
|
+
information on the coordinate range for its Geometries, Features, or
|
|
7
|
+
FeatureCollections. The value of the bbox member MUST be an array of
|
|
8
|
+
length 2*n where n is the number of dimensions represented in the
|
|
9
|
+
contained geometries, with all axes of the most southwesterly point
|
|
10
|
+
followed by all axes of the more northeasterly point. The axes order
|
|
11
|
+
of a bbox follows the axes order of geometries.
|
|
20
12
|
*
|
|
21
13
|
* Log Safety: UNSAFE
|
|
22
14
|
*/
|
|
23
|
-
export type
|
|
15
|
+
export type BBox = Array<Coordinate>;
|
|
24
16
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
export interface
|
|
34
|
-
|
|
17
|
+
* Log Safety: UNSAFE
|
|
18
|
+
*/
|
|
19
|
+
export type Coordinate = number;
|
|
20
|
+
/**
|
|
21
|
+
* GeoJSon 'Feature' object
|
|
22
|
+
*
|
|
23
|
+
* Log Safety: UNSAFE
|
|
24
|
+
*/
|
|
25
|
+
export interface Feature {
|
|
26
|
+
geometry?: Geometry;
|
|
27
|
+
properties: Record<FeaturePropertyKey, any>;
|
|
28
|
+
id?: any;
|
|
35
29
|
bbox?: BBox;
|
|
36
30
|
}
|
|
37
31
|
/**
|
|
32
|
+
* GeoJSon 'FeatureCollection' object
|
|
33
|
+
*
|
|
38
34
|
* Log Safety: UNSAFE
|
|
39
35
|
*/
|
|
40
|
-
export interface
|
|
41
|
-
|
|
36
|
+
export interface FeatureCollection {
|
|
37
|
+
features: Array<FeatureCollectionTypes>;
|
|
42
38
|
bbox?: BBox;
|
|
43
39
|
}
|
|
44
40
|
/**
|
|
@@ -47,6 +43,10 @@ export interface GeoPoint {
|
|
|
47
43
|
export type FeatureCollectionTypes = {
|
|
48
44
|
type: "Feature";
|
|
49
45
|
} & Feature;
|
|
46
|
+
/**
|
|
47
|
+
* Log Safety: UNSAFE
|
|
48
|
+
*/
|
|
49
|
+
export type FeaturePropertyKey = LooselyBrandedString<"FeaturePropertyKey">;
|
|
50
50
|
/**
|
|
51
51
|
* GeoJSon object
|
|
52
52
|
The coordinate reference system for all GeoJSON coordinates is a
|
|
@@ -81,23 +81,6 @@ export type GeoJsonObject = ({
|
|
|
81
81
|
} & Polygon) | ({
|
|
82
82
|
type: "Feature";
|
|
83
83
|
} & Feature);
|
|
84
|
-
/**
|
|
85
|
-
* GeoJSon fundamental geometry construct.
|
|
86
|
-
A position is an array of numbers. There MUST be two or more elements.
|
|
87
|
-
The first two elements are longitude and latitude, precisely in that order and using decimal numbers.
|
|
88
|
-
Altitude or elevation MAY be included as an optional third element.
|
|
89
|
-
Implementations SHOULD NOT extend positions beyond three elements
|
|
90
|
-
because the semantics of extra elements are unspecified and ambiguous.
|
|
91
|
-
Historically, some implementations have used a fourth element to carry
|
|
92
|
-
a linear referencing measure (sometimes denoted as "M") or a numerical
|
|
93
|
-
timestamp, but in most situations a parser will not be able to properly
|
|
94
|
-
interpret these values. The interpretation and meaning of additional
|
|
95
|
-
elements is beyond the scope of this specification, and additional
|
|
96
|
-
elements MAY be ignored by parsers.
|
|
97
|
-
*
|
|
98
|
-
* Log Safety: UNSAFE
|
|
99
|
-
*/
|
|
100
|
-
export type Position = Array<Coordinate>;
|
|
101
84
|
/**
|
|
102
85
|
* Abstract type for all GeoJSon object except Feature and FeatureCollection
|
|
103
86
|
*
|
|
@@ -119,42 +102,38 @@ export type Geometry = ({
|
|
|
119
102
|
type: "Polygon";
|
|
120
103
|
} & Polygon);
|
|
121
104
|
/**
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
105
|
+
* GeoJSon geometry collection
|
|
106
|
+
GeometryCollections composed of a single part or a number of parts of a
|
|
107
|
+
single type SHOULD be avoided when that single part or a single object
|
|
108
|
+
of multipart type (MultiPoint, MultiLineString, or MultiPolygon) could
|
|
109
|
+
be used instead.
|
|
110
|
+
*
|
|
111
|
+
* Log Safety: UNSAFE
|
|
112
|
+
*/
|
|
113
|
+
export interface GeometryCollection {
|
|
114
|
+
geometries: Array<Geometry>;
|
|
126
115
|
bbox?: BBox;
|
|
127
116
|
}
|
|
128
117
|
/**
|
|
129
|
-
* GeoJSon 'Feature' object
|
|
130
|
-
*
|
|
131
118
|
* Log Safety: UNSAFE
|
|
132
119
|
*/
|
|
133
|
-
export interface
|
|
134
|
-
|
|
135
|
-
properties: Record<FeaturePropertyKey, any>;
|
|
136
|
-
id?: any;
|
|
120
|
+
export interface GeoPoint {
|
|
121
|
+
coordinates: Position;
|
|
137
122
|
bbox?: BBox;
|
|
138
123
|
}
|
|
139
124
|
/**
|
|
140
|
-
* A
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
125
|
+
* A linear ring is a closed LineString with four or more positions.
|
|
126
|
+
The first and last positions are equivalent, and they MUST contain
|
|
127
|
+
identical values; their representation SHOULD also be identical.
|
|
128
|
+
A linear ring is the boundary of a surface or the boundary of a hole in
|
|
129
|
+
a surface.
|
|
130
|
+
A linear ring MUST follow the right-hand rule with respect to the area
|
|
131
|
+
it bounds, i.e., exterior rings are counterclockwise, and holes are
|
|
132
|
+
clockwise.
|
|
147
133
|
*
|
|
148
134
|
* Log Safety: UNSAFE
|
|
149
135
|
*/
|
|
150
|
-
export type
|
|
151
|
-
/**
|
|
152
|
-
* Log Safety: UNSAFE
|
|
153
|
-
*/
|
|
154
|
-
export interface Polygon {
|
|
155
|
-
coordinates: Array<LinearRing>;
|
|
156
|
-
bbox?: BBox;
|
|
157
|
-
}
|
|
136
|
+
export type LinearRing = Array<Position>;
|
|
158
137
|
/**
|
|
159
138
|
* Log Safety: UNSAFE
|
|
160
139
|
*/
|
|
@@ -163,33 +142,54 @@ export interface LineString {
|
|
|
163
142
|
bbox?: BBox;
|
|
164
143
|
}
|
|
165
144
|
/**
|
|
145
|
+
* GeoJSon fundamental geometry construct, array of two or more positions.
|
|
146
|
+
*
|
|
166
147
|
* Log Safety: UNSAFE
|
|
167
148
|
*/
|
|
168
|
-
export type
|
|
149
|
+
export type LineStringCoordinates = Array<Position>;
|
|
169
150
|
/**
|
|
170
151
|
* Log Safety: UNSAFE
|
|
171
152
|
*/
|
|
172
|
-
export
|
|
153
|
+
export interface MultiLineString {
|
|
154
|
+
coordinates: Array<LineStringCoordinates>;
|
|
155
|
+
bbox?: BBox;
|
|
156
|
+
}
|
|
173
157
|
/**
|
|
174
|
-
* GeoJSon fundamental geometry construct, array of two or more positions.
|
|
175
|
-
*
|
|
176
158
|
* Log Safety: UNSAFE
|
|
177
159
|
*/
|
|
178
|
-
export
|
|
160
|
+
export interface MultiPoint {
|
|
161
|
+
coordinates: Array<Position>;
|
|
162
|
+
bbox?: BBox;
|
|
163
|
+
}
|
|
179
164
|
/**
|
|
180
165
|
* Log Safety: UNSAFE
|
|
181
166
|
*/
|
|
182
|
-
export interface
|
|
183
|
-
coordinates: Array<
|
|
167
|
+
export interface MultiPolygon {
|
|
168
|
+
coordinates: Array<Array<LinearRing>>;
|
|
184
169
|
bbox?: BBox;
|
|
185
170
|
}
|
|
186
171
|
/**
|
|
187
|
-
* GeoJSon 'FeatureCollection' object
|
|
188
|
-
*
|
|
189
172
|
* Log Safety: UNSAFE
|
|
190
173
|
*/
|
|
191
|
-
export interface
|
|
192
|
-
|
|
174
|
+
export interface Polygon {
|
|
175
|
+
coordinates: Array<LinearRing>;
|
|
193
176
|
bbox?: BBox;
|
|
194
177
|
}
|
|
178
|
+
/**
|
|
179
|
+
* GeoJSon fundamental geometry construct.
|
|
180
|
+
A position is an array of numbers. There MUST be two or more elements.
|
|
181
|
+
The first two elements are longitude and latitude, precisely in that order and using decimal numbers.
|
|
182
|
+
Altitude or elevation MAY be included as an optional third element.
|
|
183
|
+
Implementations SHOULD NOT extend positions beyond three elements
|
|
184
|
+
because the semantics of extra elements are unspecified and ambiguous.
|
|
185
|
+
Historically, some implementations have used a fourth element to carry
|
|
186
|
+
a linear referencing measure (sometimes denoted as "M") or a numerical
|
|
187
|
+
timestamp, but in most situations a parser will not be able to properly
|
|
188
|
+
interpret these values. The interpretation and meaning of additional
|
|
189
|
+
elements is beyond the scope of this specification, and additional
|
|
190
|
+
elements MAY be ignored by parsers.
|
|
191
|
+
*
|
|
192
|
+
* Log Safety: UNSAFE
|
|
193
|
+
*/
|
|
194
|
+
export type Position = Array<Coordinate>;
|
|
195
195
|
//# sourceMappingURL=_components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;KAUK;AACL,MAAM,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;AAErC;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACtB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC,kBAAkB,EAAE,GAAG,CAAC,CAAC;IAC5C,EAAE,CAAC,EAAE,GAAG,CAAC;IACT,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACxC,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,GAAG,OAAO,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;AAE5E;;;;;;;;;;;;;;KAcK;AACL,MAAM,M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|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* A linear ring is a closed LineString with four or more positions.
|
|
13
|
-
The first and last positions are equivalent, and they MUST contain
|
|
14
|
-
identical values; their representation SHOULD also be identical.
|
|
15
|
-
A linear ring is the boundary of a surface or the boundary of a hole in
|
|
16
|
-
a surface.
|
|
17
|
-
A linear ring MUST follow the right-hand rule with respect to the area
|
|
18
|
-
it bounds, i.e., exterior rings are counterclockwise, and holes are
|
|
19
|
-
clockwise.
|
|
5
|
+
* A GeoJSON object MAY have a member named "bbox" to include
|
|
6
|
+
information on the coordinate range for its Geometries, Features, or
|
|
7
|
+
FeatureCollections. The value of the bbox member MUST be an array of
|
|
8
|
+
length 2*n where n is the number of dimensions represented in the
|
|
9
|
+
contained geometries, with all axes of the most southwesterly point
|
|
10
|
+
followed by all axes of the more northeasterly point. The axes order
|
|
11
|
+
of a bbox follows the axes order of geometries.
|
|
20
12
|
*
|
|
21
13
|
* Log Safety: UNSAFE
|
|
22
14
|
*/
|
|
23
|
-
export type
|
|
15
|
+
export type BBox = Array<Coordinate>;
|
|
24
16
|
/**
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
export interface
|
|
34
|
-
|
|
17
|
+
* Log Safety: UNSAFE
|
|
18
|
+
*/
|
|
19
|
+
export type Coordinate = number;
|
|
20
|
+
/**
|
|
21
|
+
* GeoJSon 'Feature' object
|
|
22
|
+
*
|
|
23
|
+
* Log Safety: UNSAFE
|
|
24
|
+
*/
|
|
25
|
+
export interface Feature {
|
|
26
|
+
geometry?: Geometry;
|
|
27
|
+
properties: Record<FeaturePropertyKey, any>;
|
|
28
|
+
id?: any;
|
|
35
29
|
bbox?: BBox;
|
|
36
30
|
}
|
|
37
31
|
/**
|
|
32
|
+
* GeoJSon 'FeatureCollection' object
|
|
33
|
+
*
|
|
38
34
|
* Log Safety: UNSAFE
|
|
39
35
|
*/
|
|
40
|
-
export interface
|
|
41
|
-
|
|
36
|
+
export interface FeatureCollection {
|
|
37
|
+
features: Array<FeatureCollectionTypes>;
|
|
42
38
|
bbox?: BBox;
|
|
43
39
|
}
|
|
44
40
|
/**
|
|
@@ -47,6 +43,10 @@ export interface GeoPoint {
|
|
|
47
43
|
export type FeatureCollectionTypes = {
|
|
48
44
|
type: "Feature";
|
|
49
45
|
} & Feature;
|
|
46
|
+
/**
|
|
47
|
+
* Log Safety: UNSAFE
|
|
48
|
+
*/
|
|
49
|
+
export type FeaturePropertyKey = LooselyBrandedString<"FeaturePropertyKey">;
|
|
50
50
|
/**
|
|
51
51
|
* GeoJSon object
|
|
52
52
|
The coordinate reference system for all GeoJSON coordinates is a
|
|
@@ -81,23 +81,6 @@ export type GeoJsonObject = ({
|
|
|
81
81
|
} & Polygon) | ({
|
|
82
82
|
type: "Feature";
|
|
83
83
|
} & Feature);
|
|
84
|
-
/**
|
|
85
|
-
* GeoJSon fundamental geometry construct.
|
|
86
|
-
A position is an array of numbers. There MUST be two or more elements.
|
|
87
|
-
The first two elements are longitude and latitude, precisely in that order and using decimal numbers.
|
|
88
|
-
Altitude or elevation MAY be included as an optional third element.
|
|
89
|
-
Implementations SHOULD NOT extend positions beyond three elements
|
|
90
|
-
because the semantics of extra elements are unspecified and ambiguous.
|
|
91
|
-
Historically, some implementations have used a fourth element to carry
|
|
92
|
-
a linear referencing measure (sometimes denoted as "M") or a numerical
|
|
93
|
-
timestamp, but in most situations a parser will not be able to properly
|
|
94
|
-
interpret these values. The interpretation and meaning of additional
|
|
95
|
-
elements is beyond the scope of this specification, and additional
|
|
96
|
-
elements MAY be ignored by parsers.
|
|
97
|
-
*
|
|
98
|
-
* Log Safety: UNSAFE
|
|
99
|
-
*/
|
|
100
|
-
export type Position = Array<Coordinate>;
|
|
101
84
|
/**
|
|
102
85
|
* Abstract type for all GeoJSon object except Feature and FeatureCollection
|
|
103
86
|
*
|
|
@@ -119,42 +102,38 @@ export type Geometry = ({
|
|
|
119
102
|
type: "Polygon";
|
|
120
103
|
} & Polygon);
|
|
121
104
|
/**
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
105
|
+
* GeoJSon geometry collection
|
|
106
|
+
GeometryCollections composed of a single part or a number of parts of a
|
|
107
|
+
single type SHOULD be avoided when that single part or a single object
|
|
108
|
+
of multipart type (MultiPoint, MultiLineString, or MultiPolygon) could
|
|
109
|
+
be used instead.
|
|
110
|
+
*
|
|
111
|
+
* Log Safety: UNSAFE
|
|
112
|
+
*/
|
|
113
|
+
export interface GeometryCollection {
|
|
114
|
+
geometries: Array<Geometry>;
|
|
126
115
|
bbox?: BBox;
|
|
127
116
|
}
|
|
128
117
|
/**
|
|
129
|
-
* GeoJSon 'Feature' object
|
|
130
|
-
*
|
|
131
118
|
* Log Safety: UNSAFE
|
|
132
119
|
*/
|
|
133
|
-
export interface
|
|
134
|
-
|
|
135
|
-
properties: Record<FeaturePropertyKey, any>;
|
|
136
|
-
id?: any;
|
|
120
|
+
export interface GeoPoint {
|
|
121
|
+
coordinates: Position;
|
|
137
122
|
bbox?: BBox;
|
|
138
123
|
}
|
|
139
124
|
/**
|
|
140
|
-
* A
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
125
|
+
* A linear ring is a closed LineString with four or more positions.
|
|
126
|
+
The first and last positions are equivalent, and they MUST contain
|
|
127
|
+
identical values; their representation SHOULD also be identical.
|
|
128
|
+
A linear ring is the boundary of a surface or the boundary of a hole in
|
|
129
|
+
a surface.
|
|
130
|
+
A linear ring MUST follow the right-hand rule with respect to the area
|
|
131
|
+
it bounds, i.e., exterior rings are counterclockwise, and holes are
|
|
132
|
+
clockwise.
|
|
147
133
|
*
|
|
148
134
|
* Log Safety: UNSAFE
|
|
149
135
|
*/
|
|
150
|
-
export type
|
|
151
|
-
/**
|
|
152
|
-
* Log Safety: UNSAFE
|
|
153
|
-
*/
|
|
154
|
-
export interface Polygon {
|
|
155
|
-
coordinates: Array<LinearRing>;
|
|
156
|
-
bbox?: BBox;
|
|
157
|
-
}
|
|
136
|
+
export type LinearRing = Array<Position>;
|
|
158
137
|
/**
|
|
159
138
|
* Log Safety: UNSAFE
|
|
160
139
|
*/
|
|
@@ -163,33 +142,54 @@ export interface LineString {
|
|
|
163
142
|
bbox?: BBox;
|
|
164
143
|
}
|
|
165
144
|
/**
|
|
145
|
+
* GeoJSon fundamental geometry construct, array of two or more positions.
|
|
146
|
+
*
|
|
166
147
|
* Log Safety: UNSAFE
|
|
167
148
|
*/
|
|
168
|
-
export type
|
|
149
|
+
export type LineStringCoordinates = Array<Position>;
|
|
169
150
|
/**
|
|
170
151
|
* Log Safety: UNSAFE
|
|
171
152
|
*/
|
|
172
|
-
export
|
|
153
|
+
export interface MultiLineString {
|
|
154
|
+
coordinates: Array<LineStringCoordinates>;
|
|
155
|
+
bbox?: BBox;
|
|
156
|
+
}
|
|
173
157
|
/**
|
|
174
|
-
* GeoJSon fundamental geometry construct, array of two or more positions.
|
|
175
|
-
*
|
|
176
158
|
* Log Safety: UNSAFE
|
|
177
159
|
*/
|
|
178
|
-
export
|
|
160
|
+
export interface MultiPoint {
|
|
161
|
+
coordinates: Array<Position>;
|
|
162
|
+
bbox?: BBox;
|
|
163
|
+
}
|
|
179
164
|
/**
|
|
180
165
|
* Log Safety: UNSAFE
|
|
181
166
|
*/
|
|
182
|
-
export interface
|
|
183
|
-
coordinates: Array<
|
|
167
|
+
export interface MultiPolygon {
|
|
168
|
+
coordinates: Array<Array<LinearRing>>;
|
|
184
169
|
bbox?: BBox;
|
|
185
170
|
}
|
|
186
171
|
/**
|
|
187
|
-
* GeoJSon 'FeatureCollection' object
|
|
188
|
-
*
|
|
189
172
|
* Log Safety: UNSAFE
|
|
190
173
|
*/
|
|
191
|
-
export interface
|
|
192
|
-
|
|
174
|
+
export interface Polygon {
|
|
175
|
+
coordinates: Array<LinearRing>;
|
|
193
176
|
bbox?: BBox;
|
|
194
177
|
}
|
|
178
|
+
/**
|
|
179
|
+
* GeoJSon fundamental geometry construct.
|
|
180
|
+
A position is an array of numbers. There MUST be two or more elements.
|
|
181
|
+
The first two elements are longitude and latitude, precisely in that order and using decimal numbers.
|
|
182
|
+
Altitude or elevation MAY be included as an optional third element.
|
|
183
|
+
Implementations SHOULD NOT extend positions beyond three elements
|
|
184
|
+
because the semantics of extra elements are unspecified and ambiguous.
|
|
185
|
+
Historically, some implementations have used a fourth element to carry
|
|
186
|
+
a linear referencing measure (sometimes denoted as "M") or a numerical
|
|
187
|
+
timestamp, but in most situations a parser will not be able to properly
|
|
188
|
+
interpret these values. The interpretation and meaning of additional
|
|
189
|
+
elements is beyond the scope of this specification, and additional
|
|
190
|
+
elements MAY be ignored by parsers.
|
|
191
|
+
*
|
|
192
|
+
* Log Safety: UNSAFE
|
|
193
|
+
*/
|
|
194
|
+
export type Position = Array<Coordinate>;
|
|
195
195
|
//# sourceMappingURL=_components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;KAUK;AACL,MAAM,MAAM,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;AAErC;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACtB,QAAQ,CAAC,EAAE,QAAQ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IAC3B,WAAW,EAAE,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;IACtC,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,WAAW,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAC/B,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;;;;;;;;;;;;;;KAeK;AACL,MAAM,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/internal.foundry.geo",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"sls": {
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"com.palantir.foundry.api:api-gateway": {
|
|
47
|
-
"minVersion": "1.
|
|
47
|
+
"minVersion": "1.1064.0",
|
|
48
48
|
"maxVersion": "1.x.x",
|
|
49
49
|
"optional": false
|
|
50
50
|
}
|