@geode/opengeodeweb-back 6.17.0-rc.1 → 6.17.0-rc.2
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.
|
@@ -1,5 +1,267 @@
|
|
|
1
1
|
{
|
|
2
2
|
"opengeodeweb_back": {
|
|
3
|
+
"basemap": {
|
|
4
|
+
"delete": {
|
|
5
|
+
"$id": "opengeodeweb_back/basemap/delete",
|
|
6
|
+
"route": "/delete",
|
|
7
|
+
"methods": [
|
|
8
|
+
"POST"
|
|
9
|
+
],
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"id": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"minLength": 32,
|
|
15
|
+
"maxLength": 32
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": [
|
|
19
|
+
"id"
|
|
20
|
+
],
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"response": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"id": {
|
|
26
|
+
"type": "string"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"required": [
|
|
30
|
+
"id"
|
|
31
|
+
],
|
|
32
|
+
"additionalProperties": false
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"build": {
|
|
36
|
+
"$id": "opengeodeweb_back/basemap/build",
|
|
37
|
+
"route": "/build",
|
|
38
|
+
"methods": [
|
|
39
|
+
"POST"
|
|
40
|
+
],
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"maps": {
|
|
44
|
+
"type": "array",
|
|
45
|
+
"minItems": 1,
|
|
46
|
+
"uniqueItems": true,
|
|
47
|
+
"items": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": [
|
|
50
|
+
"satellite",
|
|
51
|
+
"plan",
|
|
52
|
+
"routes"
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"bounds": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"properties": {
|
|
59
|
+
"x_min": {
|
|
60
|
+
"type": "number"
|
|
61
|
+
},
|
|
62
|
+
"y_min": {
|
|
63
|
+
"type": "number"
|
|
64
|
+
},
|
|
65
|
+
"x_max": {
|
|
66
|
+
"type": "number"
|
|
67
|
+
},
|
|
68
|
+
"y_max": {
|
|
69
|
+
"type": "number"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": [
|
|
73
|
+
"x_min",
|
|
74
|
+
"y_min",
|
|
75
|
+
"x_max",
|
|
76
|
+
"y_max"
|
|
77
|
+
],
|
|
78
|
+
"additionalProperties": false
|
|
79
|
+
},
|
|
80
|
+
"crs": {
|
|
81
|
+
"title": "CRSParams",
|
|
82
|
+
"type": "object",
|
|
83
|
+
"properties": {
|
|
84
|
+
"authority": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"minLength": 1
|
|
87
|
+
},
|
|
88
|
+
"code": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"minLength": 1
|
|
91
|
+
},
|
|
92
|
+
"name": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"minLength": 1
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": [
|
|
98
|
+
"authority",
|
|
99
|
+
"code",
|
|
100
|
+
"name"
|
|
101
|
+
],
|
|
102
|
+
"additionalProperties": false
|
|
103
|
+
},
|
|
104
|
+
"z": {
|
|
105
|
+
"type": "number"
|
|
106
|
+
},
|
|
107
|
+
"margin": {
|
|
108
|
+
"type": "boolean",
|
|
109
|
+
"default": true
|
|
110
|
+
},
|
|
111
|
+
"max_pixels": {
|
|
112
|
+
"type": "integer",
|
|
113
|
+
"minimum": 256,
|
|
114
|
+
"maximum": 4096,
|
|
115
|
+
"default": 2048
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"required": [
|
|
119
|
+
"maps",
|
|
120
|
+
"bounds",
|
|
121
|
+
"crs",
|
|
122
|
+
"z"
|
|
123
|
+
],
|
|
124
|
+
"additionalProperties": false,
|
|
125
|
+
"response": {
|
|
126
|
+
"type": "object",
|
|
127
|
+
"properties": {
|
|
128
|
+
"native_file": {
|
|
129
|
+
"type": "string"
|
|
130
|
+
},
|
|
131
|
+
"id": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"minLength": 32,
|
|
134
|
+
"maxLength": 32
|
|
135
|
+
},
|
|
136
|
+
"name": {
|
|
137
|
+
"type": "string"
|
|
138
|
+
},
|
|
139
|
+
"viewer_type": {
|
|
140
|
+
"type": "string"
|
|
141
|
+
},
|
|
142
|
+
"is_viewable": {
|
|
143
|
+
"type": "boolean"
|
|
144
|
+
},
|
|
145
|
+
"geode_object_type": {
|
|
146
|
+
"type": "string"
|
|
147
|
+
},
|
|
148
|
+
"viewable_file": {
|
|
149
|
+
"type": "string"
|
|
150
|
+
},
|
|
151
|
+
"binary_light_viewable": {
|
|
152
|
+
"type": "string"
|
|
153
|
+
},
|
|
154
|
+
"nb_vertices": {
|
|
155
|
+
"type": "integer"
|
|
156
|
+
},
|
|
157
|
+
"geode_id": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"minLength": 36,
|
|
160
|
+
"maxLength": 36
|
|
161
|
+
},
|
|
162
|
+
"crs": {
|
|
163
|
+
"type": "object",
|
|
164
|
+
"properties": {
|
|
165
|
+
"authority": {
|
|
166
|
+
"type": "string"
|
|
167
|
+
},
|
|
168
|
+
"code": {
|
|
169
|
+
"type": "string"
|
|
170
|
+
},
|
|
171
|
+
"name": {
|
|
172
|
+
"type": "string"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"required": [
|
|
176
|
+
"authority",
|
|
177
|
+
"code",
|
|
178
|
+
"name"
|
|
179
|
+
],
|
|
180
|
+
"additionalProperties": false
|
|
181
|
+
},
|
|
182
|
+
"columns": {
|
|
183
|
+
"type": "integer",
|
|
184
|
+
"minimum": 1
|
|
185
|
+
},
|
|
186
|
+
"rows": {
|
|
187
|
+
"type": "integer",
|
|
188
|
+
"minimum": 1
|
|
189
|
+
},
|
|
190
|
+
"attribution": {
|
|
191
|
+
"type": "string"
|
|
192
|
+
},
|
|
193
|
+
"zoom": {
|
|
194
|
+
"type": "integer",
|
|
195
|
+
"minimum": 0
|
|
196
|
+
},
|
|
197
|
+
"bounds": {
|
|
198
|
+
"title": "MeshBounds",
|
|
199
|
+
"type": "object",
|
|
200
|
+
"properties": {
|
|
201
|
+
"x_min": {
|
|
202
|
+
"type": "number"
|
|
203
|
+
},
|
|
204
|
+
"y_min": {
|
|
205
|
+
"type": "number"
|
|
206
|
+
},
|
|
207
|
+
"x_max": {
|
|
208
|
+
"type": "number"
|
|
209
|
+
},
|
|
210
|
+
"y_max": {
|
|
211
|
+
"type": "number"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"required": [
|
|
215
|
+
"x_min",
|
|
216
|
+
"y_min",
|
|
217
|
+
"x_max",
|
|
218
|
+
"y_max"
|
|
219
|
+
],
|
|
220
|
+
"additionalProperties": false
|
|
221
|
+
},
|
|
222
|
+
"maps": {
|
|
223
|
+
"type": "array",
|
|
224
|
+
"items": {
|
|
225
|
+
"title": "MapElement",
|
|
226
|
+
"type": "object",
|
|
227
|
+
"properties": {
|
|
228
|
+
"map": {
|
|
229
|
+
"type": "string"
|
|
230
|
+
},
|
|
231
|
+
"sources": {
|
|
232
|
+
"type": "array",
|
|
233
|
+
"items": {
|
|
234
|
+
"type": "string"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"required": [
|
|
239
|
+
"map",
|
|
240
|
+
"sources"
|
|
241
|
+
],
|
|
242
|
+
"additionalProperties": false
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"required": [
|
|
247
|
+
"native_file",
|
|
248
|
+
"id",
|
|
249
|
+
"name",
|
|
250
|
+
"viewer_type",
|
|
251
|
+
"is_viewable",
|
|
252
|
+
"geode_object_type",
|
|
253
|
+
"geode_id",
|
|
254
|
+
"columns",
|
|
255
|
+
"rows",
|
|
256
|
+
"attribution",
|
|
257
|
+
"maps",
|
|
258
|
+
"zoom",
|
|
259
|
+
"bounds"
|
|
260
|
+
],
|
|
261
|
+
"additionalProperties": false
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
3
265
|
"create": {
|
|
4
266
|
"polygonal_surface": {
|
|
5
267
|
"$id": "opengeodeweb_back/create/polygonal_surface",
|
|
@@ -930,16 +1192,9 @@
|
|
|
930
1192
|
},
|
|
931
1193
|
"uniqueItems": true
|
|
932
1194
|
},
|
|
933
|
-
"mode": {
|
|
934
|
-
"type": "string",
|
|
935
|
-
"enum": [
|
|
936
|
-
"similarity",
|
|
937
|
-
"affine"
|
|
938
|
-
]
|
|
939
|
-
},
|
|
940
1195
|
"source_points": {
|
|
941
1196
|
"type": "array",
|
|
942
|
-
"minItems":
|
|
1197
|
+
"minItems": 3,
|
|
943
1198
|
"maxItems": 3,
|
|
944
1199
|
"items": {
|
|
945
1200
|
"type": "object",
|
|
@@ -964,7 +1219,7 @@
|
|
|
964
1219
|
},
|
|
965
1220
|
"target_points": {
|
|
966
1221
|
"type": "array",
|
|
967
|
-
"minItems":
|
|
1222
|
+
"minItems": 3,
|
|
968
1223
|
"maxItems": 3,
|
|
969
1224
|
"items": {
|
|
970
1225
|
"type": "object",
|
|
@@ -1031,12 +1286,6 @@
|
|
|
1031
1286
|
],
|
|
1032
1287
|
"additionalProperties": false
|
|
1033
1288
|
},
|
|
1034
|
-
"scale": {
|
|
1035
|
-
"type": "number"
|
|
1036
|
-
},
|
|
1037
|
-
"rotation": {
|
|
1038
|
-
"type": "number"
|
|
1039
|
-
},
|
|
1040
1289
|
"linked": {
|
|
1041
1290
|
"type": "array",
|
|
1042
1291
|
"items": {
|
|
@@ -1,6 +1,76 @@
|
|
|
1
1
|
// Generated by opengeodeweb-microservice-generate, do not edit.
|
|
2
2
|
import type json from "./opengeodeweb_back_schemas.json";
|
|
3
3
|
|
|
4
|
+
export interface BasemapDeleteParams {
|
|
5
|
+
id: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface BasemapDeleteResponse {
|
|
9
|
+
id: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface BasemapBuildParams {
|
|
13
|
+
bounds: Bounds;
|
|
14
|
+
crs: CRSParams;
|
|
15
|
+
maps: Map[];
|
|
16
|
+
margin?: boolean;
|
|
17
|
+
max_pixels?: number;
|
|
18
|
+
z: number;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface Bounds {
|
|
22
|
+
x_max: number;
|
|
23
|
+
x_min: number;
|
|
24
|
+
y_max: number;
|
|
25
|
+
y_min: number;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface CRSParams {
|
|
29
|
+
authority: string;
|
|
30
|
+
code: string;
|
|
31
|
+
name: string;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type Map = "satellite" | "plan" | "routes";
|
|
35
|
+
|
|
36
|
+
export interface BasemapBuildResponse {
|
|
37
|
+
attribution: string;
|
|
38
|
+
binary_light_viewable?: string;
|
|
39
|
+
bounds: MeshBounds;
|
|
40
|
+
columns: number;
|
|
41
|
+
crs?: BasemapBuildResponseCRS;
|
|
42
|
+
geode_id: string;
|
|
43
|
+
geode_object_type: string;
|
|
44
|
+
id: string;
|
|
45
|
+
is_viewable: boolean;
|
|
46
|
+
maps: MapElement[];
|
|
47
|
+
name: string;
|
|
48
|
+
native_file: string;
|
|
49
|
+
nb_vertices?: number;
|
|
50
|
+
rows: number;
|
|
51
|
+
viewable_file?: string;
|
|
52
|
+
viewer_type: string;
|
|
53
|
+
zoom: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface MeshBounds {
|
|
57
|
+
x_max: number;
|
|
58
|
+
x_min: number;
|
|
59
|
+
y_max: number;
|
|
60
|
+
y_min: number;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface BasemapBuildResponseCRS {
|
|
64
|
+
authority: string;
|
|
65
|
+
code: string;
|
|
66
|
+
name: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface MapElement {
|
|
70
|
+
map: string;
|
|
71
|
+
sources: string[];
|
|
72
|
+
}
|
|
73
|
+
|
|
4
74
|
export interface CreatePolygonalSurfaceParams {
|
|
5
75
|
name: string;
|
|
6
76
|
points: PolygonalSurfacePoint[];
|
|
@@ -240,14 +310,11 @@ export interface CRSAlignParams {
|
|
|
240
310
|
code: string;
|
|
241
311
|
id: string;
|
|
242
312
|
linked_ids?: string[];
|
|
243
|
-
mode?: Mode;
|
|
244
313
|
name: string;
|
|
245
314
|
source_points: SourcePoint[];
|
|
246
315
|
target_points: TargetPoint[];
|
|
247
316
|
}
|
|
248
317
|
|
|
249
|
-
export type Mode = "similarity" | "affine";
|
|
250
|
-
|
|
251
318
|
export interface SourcePoint {
|
|
252
319
|
picked?: boolean;
|
|
253
320
|
x: number;
|
|
@@ -263,8 +330,6 @@ export interface CRSAlignResponse {
|
|
|
263
330
|
binary_light_viewable?: string;
|
|
264
331
|
crs?: CRSAlignResponseCRS;
|
|
265
332
|
linked?: CRSAlignResponseLinked[];
|
|
266
|
-
rotation?: number;
|
|
267
|
-
scale?: number;
|
|
268
333
|
}
|
|
269
334
|
|
|
270
335
|
export interface CRSAlignResponseCRS {
|
|
@@ -730,6 +795,10 @@ export type TypedSchema<Params, Response> = {
|
|
|
730
795
|
|
|
731
796
|
export interface Schemas {
|
|
732
797
|
readonly opengeodeweb_back: {
|
|
798
|
+
readonly basemap: {
|
|
799
|
+
readonly delete: (typeof json)["opengeodeweb_back"]["basemap"]["delete"] & TypedSchema<BasemapDeleteParams, BasemapDeleteResponse>;
|
|
800
|
+
readonly build: (typeof json)["opengeodeweb_back"]["basemap"]["build"] & TypedSchema<BasemapBuildParams, BasemapBuildResponse>;
|
|
801
|
+
};
|
|
733
802
|
readonly create: {
|
|
734
803
|
readonly polygonal_surface: (typeof json)["opengeodeweb_back"]["create"]["polygonal_surface"] & TypedSchema<CreatePolygonalSurfaceParams, CreatePolygonalSurfaceResponse>;
|
|
735
804
|
readonly point_set: (typeof json)["opengeodeweb_back"]["create"]["point_set"] & TypedSchema<CreatePointSetParams, CreatePointSetResponse>;
|