flatsql 0.3.9 → 0.4.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.
@@ -0,0 +1,402 @@
1
+ {
2
+ "pluginId": "com.digitalarsenal.flatsql.spatial",
3
+ "name": "FlatSQL Spatial Engine",
4
+ "version": "0.4.1",
5
+ "pluginFamily": "analysis",
6
+ "description": "SpatiaLite-compatible spatial computation engine for space data processing. Provides geodesic calculations, polygon boolean operations, Voronoi/Delaunay tessellation, coordinate transforms, and R-Tree spatial indexing over FlatBuffer storage.",
7
+ "capabilities": [],
8
+ "externalInterfaces": [],
9
+ "methods": [
10
+ {
11
+ "methodId": "compute_distance",
12
+ "displayName": "Compute Distance",
13
+ "description": "Haversine distance between two WGS84 lat/lon points (km)",
14
+ "inputPorts": [
15
+ {
16
+ "portId": "coordinates",
17
+ "acceptedTypeSets": [
18
+ {
19
+ "setId": "spatial",
20
+ "allowedTypes": [
21
+ { "schemaName": "SpatialQuery.fbs", "fileIdentifier": "SPQR" }
22
+ ]
23
+ }
24
+ ],
25
+ "minStreams": 1,
26
+ "maxStreams": 1,
27
+ "required": true
28
+ }
29
+ ],
30
+ "outputPorts": [
31
+ {
32
+ "portId": "result",
33
+ "acceptedTypeSets": [
34
+ {
35
+ "setId": "spatial",
36
+ "allowedTypes": [
37
+ { "schemaName": "SpatialResult.fbs", "fileIdentifier": "SPRS" }
38
+ ]
39
+ }
40
+ ],
41
+ "minStreams": 1,
42
+ "maxStreams": 1,
43
+ "required": true
44
+ }
45
+ ],
46
+ "maxBatch": 1000,
47
+ "drainPolicy": "drain-to-empty"
48
+ },
49
+ {
50
+ "methodId": "compute_bearing",
51
+ "displayName": "Compute Bearing",
52
+ "description": "Forward azimuth between two WGS84 points (degrees 0-360)",
53
+ "inputPorts": [
54
+ {
55
+ "portId": "coordinates",
56
+ "acceptedTypeSets": [
57
+ {
58
+ "setId": "spatial",
59
+ "allowedTypes": [
60
+ { "schemaName": "SpatialQuery.fbs", "fileIdentifier": "SPQR" }
61
+ ]
62
+ }
63
+ ],
64
+ "minStreams": 1,
65
+ "maxStreams": 1,
66
+ "required": true
67
+ }
68
+ ],
69
+ "outputPorts": [
70
+ {
71
+ "portId": "result",
72
+ "acceptedTypeSets": [
73
+ {
74
+ "setId": "spatial",
75
+ "allowedTypes": [
76
+ { "schemaName": "SpatialResult.fbs", "fileIdentifier": "SPRS" }
77
+ ]
78
+ }
79
+ ],
80
+ "minStreams": 1,
81
+ "maxStreams": 1,
82
+ "required": true
83
+ }
84
+ ],
85
+ "maxBatch": 1000,
86
+ "drainPolicy": "drain-to-empty"
87
+ },
88
+ {
89
+ "methodId": "point_in_polygon",
90
+ "displayName": "Point in Polygon",
91
+ "description": "Test if a WGS84 point is inside a polygon geometry",
92
+ "inputPorts": [
93
+ {
94
+ "portId": "geometry",
95
+ "acceptedTypeSets": [
96
+ {
97
+ "setId": "spatial",
98
+ "allowedTypes": [
99
+ { "schemaName": "SpatialQuery.fbs", "fileIdentifier": "SPQR" }
100
+ ]
101
+ }
102
+ ],
103
+ "minStreams": 1,
104
+ "maxStreams": 1,
105
+ "required": true
106
+ }
107
+ ],
108
+ "outputPorts": [
109
+ {
110
+ "portId": "result",
111
+ "acceptedTypeSets": [
112
+ {
113
+ "setId": "spatial",
114
+ "allowedTypes": [
115
+ { "schemaName": "SpatialResult.fbs", "fileIdentifier": "SPRS" }
116
+ ]
117
+ }
118
+ ],
119
+ "minStreams": 1,
120
+ "maxStreams": 1,
121
+ "required": true
122
+ }
123
+ ],
124
+ "maxBatch": 1000,
125
+ "drainPolicy": "drain-to-empty"
126
+ },
127
+ {
128
+ "methodId": "polygon_intersection",
129
+ "displayName": "Polygon Intersection",
130
+ "description": "Compute intersection of two polygon geometries",
131
+ "inputPorts": [
132
+ {
133
+ "portId": "geometries",
134
+ "acceptedTypeSets": [
135
+ {
136
+ "setId": "spatial",
137
+ "allowedTypes": [
138
+ { "schemaName": "SpatialQuery.fbs", "fileIdentifier": "SPQR" }
139
+ ]
140
+ }
141
+ ],
142
+ "minStreams": 1,
143
+ "maxStreams": 2,
144
+ "required": true
145
+ }
146
+ ],
147
+ "outputPorts": [
148
+ {
149
+ "portId": "result",
150
+ "acceptedTypeSets": [
151
+ {
152
+ "setId": "spatial",
153
+ "allowedTypes": [
154
+ { "schemaName": "SpatialResult.fbs", "fileIdentifier": "SPRS" }
155
+ ]
156
+ }
157
+ ],
158
+ "minStreams": 1,
159
+ "maxStreams": 1,
160
+ "required": true
161
+ }
162
+ ],
163
+ "maxBatch": 100,
164
+ "drainPolicy": "drain-to-empty"
165
+ },
166
+ {
167
+ "methodId": "polygon_union",
168
+ "displayName": "Polygon Union",
169
+ "description": "Compute union of two polygon geometries",
170
+ "inputPorts": [
171
+ {
172
+ "portId": "geometries",
173
+ "acceptedTypeSets": [
174
+ {
175
+ "setId": "spatial",
176
+ "allowedTypes": [
177
+ { "schemaName": "SpatialQuery.fbs", "fileIdentifier": "SPQR" }
178
+ ]
179
+ }
180
+ ],
181
+ "minStreams": 1,
182
+ "maxStreams": 2,
183
+ "required": true
184
+ }
185
+ ],
186
+ "outputPorts": [
187
+ {
188
+ "portId": "result",
189
+ "acceptedTypeSets": [
190
+ {
191
+ "setId": "spatial",
192
+ "allowedTypes": [
193
+ { "schemaName": "SpatialResult.fbs", "fileIdentifier": "SPRS" }
194
+ ]
195
+ }
196
+ ],
197
+ "minStreams": 1,
198
+ "maxStreams": 1,
199
+ "required": true
200
+ }
201
+ ],
202
+ "maxBatch": 100,
203
+ "drainPolicy": "drain-to-empty"
204
+ },
205
+ {
206
+ "methodId": "compute_voronoi",
207
+ "displayName": "Voronoi Diagram",
208
+ "description": "Compute Voronoi diagram from multipoint geometry within bounds",
209
+ "inputPorts": [
210
+ {
211
+ "portId": "geometries",
212
+ "acceptedTypeSets": [
213
+ {
214
+ "setId": "spatial",
215
+ "allowedTypes": [
216
+ { "schemaName": "SpatialQuery.fbs", "fileIdentifier": "SPQR" }
217
+ ]
218
+ }
219
+ ],
220
+ "minStreams": 1,
221
+ "maxStreams": 2,
222
+ "required": true
223
+ }
224
+ ],
225
+ "outputPorts": [
226
+ {
227
+ "portId": "result",
228
+ "acceptedTypeSets": [
229
+ {
230
+ "setId": "spatial",
231
+ "allowedTypes": [
232
+ { "schemaName": "SpatialResult.fbs", "fileIdentifier": "SPRS" }
233
+ ]
234
+ }
235
+ ],
236
+ "minStreams": 1,
237
+ "maxStreams": 1,
238
+ "required": true
239
+ }
240
+ ],
241
+ "maxBatch": 10,
242
+ "drainPolicy": "single-shot"
243
+ },
244
+ {
245
+ "methodId": "compute_delaunay",
246
+ "displayName": "Delaunay Triangulation",
247
+ "description": "Compute Delaunay triangulation from multipoint geometry",
248
+ "inputPorts": [
249
+ {
250
+ "portId": "geometries",
251
+ "acceptedTypeSets": [
252
+ {
253
+ "setId": "spatial",
254
+ "allowedTypes": [
255
+ { "schemaName": "SpatialQuery.fbs", "fileIdentifier": "SPQR" }
256
+ ]
257
+ }
258
+ ],
259
+ "minStreams": 1,
260
+ "maxStreams": 1,
261
+ "required": true
262
+ }
263
+ ],
264
+ "outputPorts": [
265
+ {
266
+ "portId": "result",
267
+ "acceptedTypeSets": [
268
+ {
269
+ "setId": "spatial",
270
+ "allowedTypes": [
271
+ { "schemaName": "SpatialResult.fbs", "fileIdentifier": "SPRS" }
272
+ ]
273
+ }
274
+ ],
275
+ "minStreams": 1,
276
+ "maxStreams": 1,
277
+ "required": true
278
+ }
279
+ ],
280
+ "maxBatch": 10,
281
+ "drainPolicy": "single-shot"
282
+ },
283
+ {
284
+ "methodId": "transform_to_ecef",
285
+ "displayName": "WGS84 to ECEF",
286
+ "description": "Transform WGS84 geodetic coordinates to ECEF",
287
+ "inputPorts": [
288
+ {
289
+ "portId": "coordinates",
290
+ "acceptedTypeSets": [
291
+ {
292
+ "setId": "spatial",
293
+ "allowedTypes": [
294
+ { "schemaName": "SpatialQuery.fbs", "fileIdentifier": "SPQR" }
295
+ ]
296
+ }
297
+ ],
298
+ "minStreams": 1,
299
+ "maxStreams": 1,
300
+ "required": true
301
+ }
302
+ ],
303
+ "outputPorts": [
304
+ {
305
+ "portId": "result",
306
+ "acceptedTypeSets": [
307
+ {
308
+ "setId": "spatial",
309
+ "allowedTypes": [
310
+ { "schemaName": "SpatialResult.fbs", "fileIdentifier": "SPRS" }
311
+ ]
312
+ }
313
+ ],
314
+ "minStreams": 1,
315
+ "maxStreams": 1,
316
+ "required": true
317
+ }
318
+ ],
319
+ "maxBatch": 10000,
320
+ "drainPolicy": "drain-to-empty"
321
+ },
322
+ {
323
+ "methodId": "transform_from_ecef",
324
+ "displayName": "ECEF to WGS84",
325
+ "description": "Transform ECEF coordinates to WGS84 geodetic",
326
+ "inputPorts": [
327
+ {
328
+ "portId": "coordinates",
329
+ "acceptedTypeSets": [
330
+ {
331
+ "setId": "spatial",
332
+ "allowedTypes": [
333
+ { "schemaName": "SpatialQuery.fbs", "fileIdentifier": "SPQR" }
334
+ ]
335
+ }
336
+ ],
337
+ "minStreams": 1,
338
+ "maxStreams": 1,
339
+ "required": true
340
+ }
341
+ ],
342
+ "outputPorts": [
343
+ {
344
+ "portId": "result",
345
+ "acceptedTypeSets": [
346
+ {
347
+ "setId": "spatial",
348
+ "allowedTypes": [
349
+ { "schemaName": "SpatialResult.fbs", "fileIdentifier": "SPRS" }
350
+ ]
351
+ }
352
+ ],
353
+ "minStreams": 1,
354
+ "maxStreams": 1,
355
+ "required": true
356
+ }
357
+ ],
358
+ "maxBatch": 10000,
359
+ "drainPolicy": "drain-to-empty"
360
+ },
361
+ {
362
+ "methodId": "spatial_query",
363
+ "displayName": "Spatial SQL Query",
364
+ "description": "Execute an arbitrary spatial SQL query using the FlatSQL engine",
365
+ "inputPorts": [
366
+ {
367
+ "portId": "query",
368
+ "acceptedTypeSets": [
369
+ {
370
+ "setId": "spatial",
371
+ "allowedTypes": [
372
+ { "schemaName": "SpatialQuery.fbs", "fileIdentifier": "SPQR" }
373
+ ]
374
+ }
375
+ ],
376
+ "minStreams": 1,
377
+ "maxStreams": 1,
378
+ "required": true
379
+ }
380
+ ],
381
+ "outputPorts": [
382
+ {
383
+ "portId": "result",
384
+ "acceptedTypeSets": [
385
+ {
386
+ "setId": "spatial",
387
+ "allowedTypes": [
388
+ { "schemaName": "SpatialResult.fbs", "fileIdentifier": "SPRS" }
389
+ ]
390
+ }
391
+ ],
392
+ "minStreams": 1,
393
+ "maxStreams": 1,
394
+ "required": true
395
+ }
396
+ ],
397
+ "maxBatch": 1,
398
+ "drainPolicy": "single-shot"
399
+ }
400
+ ],
401
+ "runtimeTargets": ["NODE", "BROWSER", "WASI"]
402
+ }
Binary file