@osdk/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 +13 -0
- package/build/browser/_components.d.ts +129 -4
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/index.d.ts +1 -1
- package/build/browser/index.d.ts.map +1 -1
- package/build/esm/_components.d.ts +129 -4
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/index.d.ts +1 -1
- package/build/esm/index.d.ts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @osdk/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
|
|
@@ -9,7 +9,6 @@ length 2*n where n is the number of dimensions represented in the
|
|
|
9
9
|
contained geometries, with all axes of the most southwesterly point
|
|
10
10
|
followed by all axes of the more northeasterly point. The axes order
|
|
11
11
|
of a bbox follows the axes order of geometries.
|
|
12
|
-
See https://datatracker.ietf.org/doc/html/rfc7946#section-5.
|
|
13
12
|
*
|
|
14
13
|
* Log Safety: UNSAFE
|
|
15
14
|
*/
|
|
@@ -19,10 +18,105 @@ export type BBox = Array<Coordinate>;
|
|
|
19
18
|
*/
|
|
20
19
|
export type Coordinate = number;
|
|
21
20
|
/**
|
|
22
|
-
*
|
|
21
|
+
* GeoJSon 'Feature' object
|
|
23
22
|
*
|
|
24
23
|
* Log Safety: UNSAFE
|
|
25
24
|
*/
|
|
25
|
+
export interface Feature {
|
|
26
|
+
geometry?: Geometry;
|
|
27
|
+
properties: Record<FeaturePropertyKey, any>;
|
|
28
|
+
id?: any;
|
|
29
|
+
bbox?: BBox;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* GeoJSon 'FeatureCollection' object
|
|
33
|
+
*
|
|
34
|
+
* Log Safety: UNSAFE
|
|
35
|
+
*/
|
|
36
|
+
export interface FeatureCollection {
|
|
37
|
+
features: Array<FeatureCollectionTypes>;
|
|
38
|
+
bbox?: BBox;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Log Safety: UNSAFE
|
|
42
|
+
*/
|
|
43
|
+
export type FeatureCollectionTypes = {
|
|
44
|
+
type: "Feature";
|
|
45
|
+
} & Feature;
|
|
46
|
+
/**
|
|
47
|
+
* Log Safety: UNSAFE
|
|
48
|
+
*/
|
|
49
|
+
export type FeaturePropertyKey = LooselyBrandedString<"FeaturePropertyKey">;
|
|
50
|
+
/**
|
|
51
|
+
* GeoJSon object
|
|
52
|
+
The coordinate reference system for all GeoJSON coordinates is a
|
|
53
|
+
geographic coordinate reference system, using the World Geodetic System
|
|
54
|
+
1984 (WGS 84) datum, with longitude and latitude units of decimal
|
|
55
|
+
degrees.
|
|
56
|
+
This is equivalent to the coordinate reference system identified by the
|
|
57
|
+
Open Geospatial Consortium (OGC) URN
|
|
58
|
+
An OPTIONAL third-position element SHALL be the height in meters above
|
|
59
|
+
or below the WGS 84 reference ellipsoid.
|
|
60
|
+
In the absence of elevation values, applications sensitive to height or
|
|
61
|
+
depth SHOULD interpret positions as being at local ground or sea level.
|
|
62
|
+
*
|
|
63
|
+
* Log Safety: UNSAFE
|
|
64
|
+
*/
|
|
65
|
+
export type GeoJsonObject = ({
|
|
66
|
+
type: "MultiPoint";
|
|
67
|
+
} & MultiPoint) | ({
|
|
68
|
+
type: "GeometryCollection";
|
|
69
|
+
} & GeometryCollection) | ({
|
|
70
|
+
type: "MultiLineString";
|
|
71
|
+
} & MultiLineString) | ({
|
|
72
|
+
type: "FeatureCollection";
|
|
73
|
+
} & FeatureCollection) | ({
|
|
74
|
+
type: "LineString";
|
|
75
|
+
} & LineString) | ({
|
|
76
|
+
type: "MultiPolygon";
|
|
77
|
+
} & MultiPolygon) | ({
|
|
78
|
+
type: "Point";
|
|
79
|
+
} & GeoPoint) | ({
|
|
80
|
+
type: "Polygon";
|
|
81
|
+
} & Polygon) | ({
|
|
82
|
+
type: "Feature";
|
|
83
|
+
} & Feature);
|
|
84
|
+
/**
|
|
85
|
+
* Abstract type for all GeoJSon object except Feature and FeatureCollection
|
|
86
|
+
*
|
|
87
|
+
* Log Safety: UNSAFE
|
|
88
|
+
*/
|
|
89
|
+
export type Geometry = ({
|
|
90
|
+
type: "MultiPoint";
|
|
91
|
+
} & MultiPoint) | ({
|
|
92
|
+
type: "GeometryCollection";
|
|
93
|
+
} & GeometryCollection) | ({
|
|
94
|
+
type: "MultiLineString";
|
|
95
|
+
} & MultiLineString) | ({
|
|
96
|
+
type: "LineString";
|
|
97
|
+
} & LineString) | ({
|
|
98
|
+
type: "MultiPolygon";
|
|
99
|
+
} & MultiPolygon) | ({
|
|
100
|
+
type: "Point";
|
|
101
|
+
} & GeoPoint) | ({
|
|
102
|
+
type: "Polygon";
|
|
103
|
+
} & Polygon);
|
|
104
|
+
/**
|
|
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>;
|
|
115
|
+
bbox?: BBox;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Log Safety: UNSAFE
|
|
119
|
+
*/
|
|
26
120
|
export interface GeoPoint {
|
|
27
121
|
coordinates: Position;
|
|
28
122
|
bbox?: BBox;
|
|
@@ -36,16 +130,47 @@ a surface.
|
|
|
36
130
|
A linear ring MUST follow the right-hand rule with respect to the area
|
|
37
131
|
it bounds, i.e., exterior rings are counterclockwise, and holes are
|
|
38
132
|
clockwise.
|
|
39
|
-
See https://tools.ietf.org/html/rfc7946#section-3.1.6.
|
|
40
133
|
*
|
|
41
134
|
* Log Safety: UNSAFE
|
|
42
135
|
*/
|
|
43
136
|
export type LinearRing = Array<Position>;
|
|
44
137
|
/**
|
|
45
|
-
*
|
|
138
|
+
* Log Safety: UNSAFE
|
|
139
|
+
*/
|
|
140
|
+
export interface LineString {
|
|
141
|
+
coordinates?: LineStringCoordinates;
|
|
142
|
+
bbox?: BBox;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* GeoJSon fundamental geometry construct, array of two or more positions.
|
|
46
146
|
*
|
|
47
147
|
* Log Safety: UNSAFE
|
|
48
148
|
*/
|
|
149
|
+
export type LineStringCoordinates = Array<Position>;
|
|
150
|
+
/**
|
|
151
|
+
* Log Safety: UNSAFE
|
|
152
|
+
*/
|
|
153
|
+
export interface MultiLineString {
|
|
154
|
+
coordinates: Array<LineStringCoordinates>;
|
|
155
|
+
bbox?: BBox;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Log Safety: UNSAFE
|
|
159
|
+
*/
|
|
160
|
+
export interface MultiPoint {
|
|
161
|
+
coordinates: Array<Position>;
|
|
162
|
+
bbox?: BBox;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Log Safety: UNSAFE
|
|
166
|
+
*/
|
|
167
|
+
export interface MultiPolygon {
|
|
168
|
+
coordinates: Array<Array<LinearRing>>;
|
|
169
|
+
bbox?: BBox;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Log Safety: UNSAFE
|
|
173
|
+
*/
|
|
49
174
|
export interface Polygon {
|
|
50
175
|
coordinates: Array<LinearRing>;
|
|
51
176
|
bbox?: BBox;
|
|
@@ -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,MAAM,aAAa,GACrB,CAAC;IAAE,IAAI,EAAE,YAAY,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AAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,WAAW,EAAE,QAAQ,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;;;;;;;;;;KAWK;AACL,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;AAEzC;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC1C,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;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/build/browser/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { BBox, Coordinate, GeoPoint, LinearRing, Polygon, Position, } from "./_components.js";
|
|
1
|
+
export type { BBox, Coordinate, Feature, FeatureCollection, FeatureCollectionTypes, FeaturePropertyKey, GeoJsonObject, Geometry, GeometryCollection, GeoPoint, LinearRing, LineString, LineStringCoordinates, MultiLineString, MultiPoint, MultiPolygon, Polygon, Position, } from "./_components.js";
|
|
2
2
|
export type {} from "./_errors.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,UAAU,EACV,OAAO,EACP,QAAQ,GACT,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,IAAI,EACJ,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,aAAa,EACb,QAAQ,EACR,kBAAkB,EAClB,QAAQ,EACR,UAAU,EACV,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,UAAU,EACV,YAAY,EACZ,OAAO,EACP,QAAQ,GACT,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -9,7 +9,6 @@ length 2*n where n is the number of dimensions represented in the
|
|
|
9
9
|
contained geometries, with all axes of the most southwesterly point
|
|
10
10
|
followed by all axes of the more northeasterly point. The axes order
|
|
11
11
|
of a bbox follows the axes order of geometries.
|
|
12
|
-
See https://datatracker.ietf.org/doc/html/rfc7946#section-5.
|
|
13
12
|
*
|
|
14
13
|
* Log Safety: UNSAFE
|
|
15
14
|
*/
|
|
@@ -19,10 +18,105 @@ export type BBox = Array<Coordinate>;
|
|
|
19
18
|
*/
|
|
20
19
|
export type Coordinate = number;
|
|
21
20
|
/**
|
|
22
|
-
*
|
|
21
|
+
* GeoJSon 'Feature' object
|
|
23
22
|
*
|
|
24
23
|
* Log Safety: UNSAFE
|
|
25
24
|
*/
|
|
25
|
+
export interface Feature {
|
|
26
|
+
geometry?: Geometry;
|
|
27
|
+
properties: Record<FeaturePropertyKey, any>;
|
|
28
|
+
id?: any;
|
|
29
|
+
bbox?: BBox;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* GeoJSon 'FeatureCollection' object
|
|
33
|
+
*
|
|
34
|
+
* Log Safety: UNSAFE
|
|
35
|
+
*/
|
|
36
|
+
export interface FeatureCollection {
|
|
37
|
+
features: Array<FeatureCollectionTypes>;
|
|
38
|
+
bbox?: BBox;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Log Safety: UNSAFE
|
|
42
|
+
*/
|
|
43
|
+
export type FeatureCollectionTypes = {
|
|
44
|
+
type: "Feature";
|
|
45
|
+
} & Feature;
|
|
46
|
+
/**
|
|
47
|
+
* Log Safety: UNSAFE
|
|
48
|
+
*/
|
|
49
|
+
export type FeaturePropertyKey = LooselyBrandedString<"FeaturePropertyKey">;
|
|
50
|
+
/**
|
|
51
|
+
* GeoJSon object
|
|
52
|
+
The coordinate reference system for all GeoJSON coordinates is a
|
|
53
|
+
geographic coordinate reference system, using the World Geodetic System
|
|
54
|
+
1984 (WGS 84) datum, with longitude and latitude units of decimal
|
|
55
|
+
degrees.
|
|
56
|
+
This is equivalent to the coordinate reference system identified by the
|
|
57
|
+
Open Geospatial Consortium (OGC) URN
|
|
58
|
+
An OPTIONAL third-position element SHALL be the height in meters above
|
|
59
|
+
or below the WGS 84 reference ellipsoid.
|
|
60
|
+
In the absence of elevation values, applications sensitive to height or
|
|
61
|
+
depth SHOULD interpret positions as being at local ground or sea level.
|
|
62
|
+
*
|
|
63
|
+
* Log Safety: UNSAFE
|
|
64
|
+
*/
|
|
65
|
+
export type GeoJsonObject = ({
|
|
66
|
+
type: "MultiPoint";
|
|
67
|
+
} & MultiPoint) | ({
|
|
68
|
+
type: "GeometryCollection";
|
|
69
|
+
} & GeometryCollection) | ({
|
|
70
|
+
type: "MultiLineString";
|
|
71
|
+
} & MultiLineString) | ({
|
|
72
|
+
type: "FeatureCollection";
|
|
73
|
+
} & FeatureCollection) | ({
|
|
74
|
+
type: "LineString";
|
|
75
|
+
} & LineString) | ({
|
|
76
|
+
type: "MultiPolygon";
|
|
77
|
+
} & MultiPolygon) | ({
|
|
78
|
+
type: "Point";
|
|
79
|
+
} & GeoPoint) | ({
|
|
80
|
+
type: "Polygon";
|
|
81
|
+
} & Polygon) | ({
|
|
82
|
+
type: "Feature";
|
|
83
|
+
} & Feature);
|
|
84
|
+
/**
|
|
85
|
+
* Abstract type for all GeoJSon object except Feature and FeatureCollection
|
|
86
|
+
*
|
|
87
|
+
* Log Safety: UNSAFE
|
|
88
|
+
*/
|
|
89
|
+
export type Geometry = ({
|
|
90
|
+
type: "MultiPoint";
|
|
91
|
+
} & MultiPoint) | ({
|
|
92
|
+
type: "GeometryCollection";
|
|
93
|
+
} & GeometryCollection) | ({
|
|
94
|
+
type: "MultiLineString";
|
|
95
|
+
} & MultiLineString) | ({
|
|
96
|
+
type: "LineString";
|
|
97
|
+
} & LineString) | ({
|
|
98
|
+
type: "MultiPolygon";
|
|
99
|
+
} & MultiPolygon) | ({
|
|
100
|
+
type: "Point";
|
|
101
|
+
} & GeoPoint) | ({
|
|
102
|
+
type: "Polygon";
|
|
103
|
+
} & Polygon);
|
|
104
|
+
/**
|
|
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>;
|
|
115
|
+
bbox?: BBox;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Log Safety: UNSAFE
|
|
119
|
+
*/
|
|
26
120
|
export interface GeoPoint {
|
|
27
121
|
coordinates: Position;
|
|
28
122
|
bbox?: BBox;
|
|
@@ -36,16 +130,47 @@ a surface.
|
|
|
36
130
|
A linear ring MUST follow the right-hand rule with respect to the area
|
|
37
131
|
it bounds, i.e., exterior rings are counterclockwise, and holes are
|
|
38
132
|
clockwise.
|
|
39
|
-
See https://tools.ietf.org/html/rfc7946#section-3.1.6.
|
|
40
133
|
*
|
|
41
134
|
* Log Safety: UNSAFE
|
|
42
135
|
*/
|
|
43
136
|
export type LinearRing = Array<Position>;
|
|
44
137
|
/**
|
|
45
|
-
*
|
|
138
|
+
* Log Safety: UNSAFE
|
|
139
|
+
*/
|
|
140
|
+
export interface LineString {
|
|
141
|
+
coordinates?: LineStringCoordinates;
|
|
142
|
+
bbox?: BBox;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* GeoJSon fundamental geometry construct, array of two or more positions.
|
|
46
146
|
*
|
|
47
147
|
* Log Safety: UNSAFE
|
|
48
148
|
*/
|
|
149
|
+
export type LineStringCoordinates = Array<Position>;
|
|
150
|
+
/**
|
|
151
|
+
* Log Safety: UNSAFE
|
|
152
|
+
*/
|
|
153
|
+
export interface MultiLineString {
|
|
154
|
+
coordinates: Array<LineStringCoordinates>;
|
|
155
|
+
bbox?: BBox;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Log Safety: UNSAFE
|
|
159
|
+
*/
|
|
160
|
+
export interface MultiPoint {
|
|
161
|
+
coordinates: Array<Position>;
|
|
162
|
+
bbox?: BBox;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Log Safety: UNSAFE
|
|
166
|
+
*/
|
|
167
|
+
export interface MultiPolygon {
|
|
168
|
+
coordinates: Array<Array<LinearRing>>;
|
|
169
|
+
bbox?: BBox;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Log Safety: UNSAFE
|
|
173
|
+
*/
|
|
49
174
|
export interface Polygon {
|
|
50
175
|
coordinates: Array<LinearRing>;
|
|
51
176
|
bbox?: BBox;
|
|
@@ -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,MAAM,aAAa,GACrB,CAAC;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,GAAG,UAAU,CAAC,GACrC,CAAC;IAAE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ACvB,WAAW,EAAE,QAAQ,CAAC;IACtB,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;;;;;;;;;;KAWK;AACL,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;AAEzC;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC1C,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;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/build/esm/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { BBox, Coordinate, GeoPoint, LinearRing, Polygon, Position, } from "./_components.js";
|
|
1
|
+
export type { BBox, Coordinate, Feature, FeatureCollection, FeatureCollectionTypes, FeaturePropertyKey, GeoJsonObject, Geometry, GeometryCollection, GeoPoint, LinearRing, LineString, LineStringCoordinates, MultiLineString, MultiPoint, MultiPolygon, Polygon, Position, } from "./_components.js";
|
|
2
2
|
export type {} from "./_errors.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/build/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,UAAU,EACV,OAAO,EACP,QAAQ,GACT,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,IAAI,EACJ,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,aAAa,EACb,QAAQ,EACR,kBAAkB,EAClB,QAAQ,EACR,UAAU,EACV,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,UAAU,EACV,YAAY,EACZ,OAAO,EACP,QAAQ,GACT,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,MAAM,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/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
|
}
|