@jupytergis/schema 0.15.0 → 0.16.0-alpha.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.
Files changed (78) hide show
  1. package/lib/_interface/forms.json +7836 -503
  2. package/lib/_interface/processing/clipRasterByExtent.d.ts +39 -0
  3. package/lib/_interface/processing/clipRasterByVector.d.ts +32 -0
  4. package/lib/_interface/processing/clipVectorByMaskLayer.d.ts +28 -0
  5. package/lib/_interface/processing/rasterize.d.ts +42 -0
  6. package/lib/_interface/project/jgis.d.ts +20 -4
  7. package/lib/_interface/project/layers/geoTiffLayer.d.ts +351 -0
  8. package/lib/_interface/project/layers/heatmapLayer.d.ts +8 -1
  9. package/lib/_interface/project/layers/openeoTileLayer.d.ts +20 -0
  10. package/lib/_interface/project/layers/storySegmentLayer.d.ts +6 -0
  11. package/lib/_interface/project/layers/vectorLayer.d.ts +599 -5
  12. package/lib/_interface/project/layers/vectorTileLayer.d.ts +566 -2
  13. package/lib/_interface/project/sources/geoJsonSource.d.ts +8 -0
  14. package/lib/_interface/project/sources/geoPackageRasterSource.d.ts +36 -0
  15. package/lib/_interface/project/sources/geoPackageVectorSource.d.ts +28 -0
  16. package/lib/_interface/project/sources/geoParquetSource.d.ts +8 -0
  17. package/lib/_interface/project/sources/geoTiffSource.d.ts +8 -0
  18. package/lib/_interface/project/sources/imageSource.d.ts +8 -0
  19. package/lib/_interface/project/sources/openeoTileSource.d.ts +26 -0
  20. package/lib/_interface/project/sources/rasterDemSource.d.ts +8 -0
  21. package/lib/_interface/project/sources/rasterSource.d.ts +8 -0
  22. package/lib/_interface/project/sources/shapefileSource.d.ts +8 -0
  23. package/lib/_interface/project/sources/vectorTileSource.d.ts +8 -0
  24. package/lib/_interface/project/sources/videoSource.d.ts +8 -0
  25. package/lib/_interface/project/sources/wmsTileSource.d.ts +8 -0
  26. package/lib/_interface/project/symbology.d.ts +305 -0
  27. package/lib/_interface/version.d.ts +1 -1
  28. package/lib/_interface/version.js +1 -1
  29. package/lib/doc.d.ts +8 -2
  30. package/lib/doc.js +47 -4
  31. package/lib/grammar/grammarConversions.d.ts +50 -0
  32. package/lib/grammar/grammarConversions.js +137 -0
  33. package/lib/index.d.ts +4 -0
  34. package/lib/index.js +2 -0
  35. package/lib/interfaces.d.ts +87 -19
  36. package/lib/interfaces.js +10 -1
  37. package/lib/migrations/index.d.ts +16 -0
  38. package/lib/migrations/index.js +52 -0
  39. package/lib/migrations/v0_5_to_v0_6.d.ts +11 -0
  40. package/lib/migrations/v0_5_to_v0_6.js +154 -0
  41. package/lib/model.d.ts +49 -13
  42. package/lib/model.js +212 -21
  43. package/lib/processing/ProcessingMerge.d.ts +4 -0
  44. package/lib/processing/ProcessingMerge.js +4 -0
  45. package/lib/processing/_generated/exportProcessingSchema.d.ts +7 -3
  46. package/lib/processing/_generated/exportProcessingSchema.js +7 -3
  47. package/lib/processing/_generated/processingType.d.ts +1 -1
  48. package/lib/processing/_generated/processingType.js +7 -3
  49. package/lib/processing/_generated/processing_merge.json +76 -21
  50. package/lib/schema/processing/clipRasterByExtent.json +39 -0
  51. package/lib/schema/processing/clipRasterByVector.json +33 -0
  52. package/lib/schema/processing/clipVectorByMaskLayer.json +27 -0
  53. package/lib/schema/processing/rasterize.json +45 -0
  54. package/lib/schema/project/jgis.json +34 -5
  55. package/lib/schema/project/layers/{webGlLayer.json → geoTiffLayer.json} +9 -3
  56. package/lib/schema/project/layers/heatmapLayer.json +7 -1
  57. package/lib/schema/project/layers/openeoTileLayer.json +21 -0
  58. package/lib/schema/project/layers/storySegmentLayer.json +14 -3
  59. package/lib/schema/project/layers/vectorLayer.json +73 -14
  60. package/lib/schema/project/layers/vectorTileLayer.json +14 -10
  61. package/lib/schema/project/sources/geoJsonSource.json +13 -0
  62. package/lib/schema/project/sources/geoPackageRasterSource.json +45 -0
  63. package/lib/schema/project/sources/geoPackageVectorSource.json +29 -0
  64. package/lib/schema/project/sources/geoParquetSource.json +13 -0
  65. package/lib/schema/project/sources/geoTiffSource.json +13 -0
  66. package/lib/schema/project/sources/imageSource.json +13 -0
  67. package/lib/schema/project/sources/openeoTileSource.json +23 -0
  68. package/lib/schema/project/sources/rasterDemSource.json +13 -0
  69. package/lib/schema/project/sources/rasterSource.json +13 -0
  70. package/lib/schema/project/sources/shapefileSource.json +13 -0
  71. package/lib/schema/project/sources/vectorTileSource.json +13 -0
  72. package/lib/schema/project/sources/videoSource.json +13 -0
  73. package/lib/schema/project/sources/wmsTileSource.json +13 -0
  74. package/lib/schema/project/symbology.json +418 -0
  75. package/lib/types.d.ts +15 -1
  76. package/lib/types.js +7 -1
  77. package/package.json +2 -1
  78. package/lib/_interface/project/layers/webGlLayer.d.ts +0 -39
@@ -0,0 +1,45 @@
1
+ {
2
+ "type": "object",
3
+ "description": "GeoPackageRasterSource",
4
+ "title": "IGeoPackageRasterSource",
5
+ "required": ["path"],
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "path": {
9
+ "type": "string",
10
+ "description": "The path to the GeoPackage source"
11
+ },
12
+ "minZoom": {
13
+ "type": "number",
14
+ "minimum": 0,
15
+ "maximum": 24,
16
+ "readOnly": true,
17
+ "description": "The minimum zoom level for the raster source",
18
+ "default": 0
19
+ },
20
+ "maxZoom": {
21
+ "type": "number",
22
+ "minimum": 0,
23
+ "maximum": 24,
24
+ "readOnly": true,
25
+ "description": "The maximum zoom level for the raster source",
26
+ "default": 24
27
+ },
28
+ "tables": {
29
+ "type": "string",
30
+ "description": "The names of the tables in the GeoPackage to use as a source (optional). If left empty, all tables will be used.",
31
+ "default": ""
32
+ },
33
+ "attribution": {
34
+ "type": "string",
35
+ "readOnly": true,
36
+ "description": "The attribution for the GeoPackage source",
37
+ "default": ""
38
+ },
39
+ "interpolate": {
40
+ "type": "boolean",
41
+ "description": "Interpolate between grid cells when overzooming?",
42
+ "default": false
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "type": "object",
3
+ "description": "GeoPackageVectorSource",
4
+ "title": "IGeoPackageVectorSource",
5
+ "required": ["path"],
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "path": {
9
+ "type": "string",
10
+ "description": "The path to the GeoPackage source"
11
+ },
12
+ "attribution": {
13
+ "type": "string",
14
+ "readOnly": true,
15
+ "description": "The attribution for the GeoPackage source.",
16
+ "default": ""
17
+ },
18
+ "projection": {
19
+ "type": "string",
20
+ "description": "The projection information for the GeoPackage data (optional).",
21
+ "default": "EPSG:3857"
22
+ },
23
+ "tables": {
24
+ "type": "string",
25
+ "description": "The names of the tables in the GeoPackage to use as a source (optional). If left empty, all tables will be used.",
26
+ "default": ""
27
+ }
28
+ }
29
+ }
@@ -20,6 +20,19 @@
20
20
  "type": "string",
21
21
  "description": "The projection information for the GeoParquet data (optional).",
22
22
  "default": "EPSG:4326"
23
+ },
24
+ "useProxy": {
25
+ "type": "boolean",
26
+ "description": "Route requests through the Jupyter server proxy to avoid CORS issues.",
27
+ "default": false
28
+ },
29
+ "httpHeaders": {
30
+ "type": "string",
31
+ "description": "HTTP headers forwarded to the upstream server when useProxy is true.",
32
+ "default": "",
33
+ "additionalProperties": {
34
+ "type": "string"
35
+ }
23
36
  }
24
37
  }
25
38
  }
@@ -43,6 +43,19 @@
43
43
  "type": "boolean",
44
44
  "description": "Interpolate between grid cells when overzooming?",
45
45
  "default": false
46
+ },
47
+ "useProxy": {
48
+ "type": "boolean",
49
+ "description": "Route requests through the Jupyter server proxy to avoid CORS issues.",
50
+ "default": false
51
+ },
52
+ "httpHeaders": {
53
+ "type": "string",
54
+ "description": "HTTP headers forwarded to the upstream server when useProxy is true.",
55
+ "default": "",
56
+ "additionalProperties": {
57
+ "type": "string"
58
+ }
46
59
  }
47
60
  }
48
61
  }
@@ -31,6 +31,19 @@
31
31
  "type": "boolean",
32
32
  "description": "Interpolate between grid cells when overzooming?",
33
33
  "default": false
34
+ },
35
+ "useProxy": {
36
+ "type": "boolean",
37
+ "description": "Route requests through the Jupyter server proxy to avoid CORS issues.",
38
+ "default": false
39
+ },
40
+ "httpHeaders": {
41
+ "type": "string",
42
+ "description": "HTTP headers forwarded to the upstream server when useProxy is true.",
43
+ "default": "",
44
+ "additionalProperties": {
45
+ "type": "string"
46
+ }
34
47
  }
35
48
  }
36
49
  }
@@ -0,0 +1,23 @@
1
+ {
2
+ "type": "object",
3
+ "description": "OpenEOTileSource",
4
+ "title": "IOpenEOTileSource",
5
+ "required": ["processGraph"],
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "processGraph": {
9
+ "type": "object",
10
+ "readOnly": true,
11
+ "description": "The process graph for the OpenEO layer.",
12
+ "default": {}
13
+ },
14
+ "serverUrl": {
15
+ "description": "The OpenEO tile server url.",
16
+ "type": "string"
17
+ },
18
+ "authBearer": {
19
+ "description": "The OpenEO connection identifier.",
20
+ "type": "string"
21
+ }
22
+ }
23
+ }
@@ -26,6 +26,19 @@
26
26
  "type": "boolean",
27
27
  "description": "Interpolate between grid cells when overzooming?",
28
28
  "default": false
29
+ },
30
+ "useProxy": {
31
+ "type": "boolean",
32
+ "description": "Route tile requests through the Jupyter server proxy to avoid CORS issues.",
33
+ "default": false
34
+ },
35
+ "httpHeaders": {
36
+ "type": "string",
37
+ "description": "HTTP headers forwarded to the upstream tile server when useProxy is true.",
38
+ "default": "",
39
+ "additionalProperties": {
40
+ "type": "string"
41
+ }
29
42
  }
30
43
  }
31
44
  }
@@ -68,6 +68,19 @@
68
68
  "title": "Interpolate",
69
69
  "description": "Interpolate between grid cells when overzooming?",
70
70
  "default": false
71
+ },
72
+ "useProxy": {
73
+ "type": "boolean",
74
+ "description": "Route tile requests through the Jupyter server proxy to avoid CORS issues.",
75
+ "default": false
76
+ },
77
+ "httpHeaders": {
78
+ "type": "string",
79
+ "description": "HTTP headers forwarded to the upstream tile server when useProxy is true.",
80
+ "default": "",
81
+ "additionalProperties": {
82
+ "type": "string"
83
+ }
71
84
  }
72
85
  }
73
86
  }
@@ -33,6 +33,19 @@
33
33
  "type": "string"
34
34
  },
35
35
  "default": {}
36
+ },
37
+ "useProxy": {
38
+ "type": "boolean",
39
+ "description": "Route requests through the Jupyter server proxy to avoid CORS issues.",
40
+ "default": false
41
+ },
42
+ "httpHeaders": {
43
+ "type": "string",
44
+ "description": "HTTP headers forwarded to the upstream server when useProxy is true.",
45
+ "default": "",
46
+ "additionalProperties": {
47
+ "type": "string"
48
+ }
36
49
  }
37
50
  }
38
51
  }
@@ -40,6 +40,19 @@
40
40
  "type": "string"
41
41
  },
42
42
  "default": {}
43
+ },
44
+ "useProxy": {
45
+ "type": "boolean",
46
+ "description": "Route tile requests through the Jupyter server proxy to avoid CORS issues.",
47
+ "default": false
48
+ },
49
+ "httpHeaders": {
50
+ "type": "string",
51
+ "description": "HTTP headers forwarded to the upstream tile server when useProxy is true.",
52
+ "default": "",
53
+ "additionalProperties": {
54
+ "type": "string"
55
+ }
43
56
  }
44
57
  }
45
58
  }
@@ -28,6 +28,19 @@
28
28
  "maxItems": 4,
29
29
  "default": [],
30
30
  "description": "Corners of video specified in longitude, latitude pairs"
31
+ },
32
+ "useProxy": {
33
+ "type": "boolean",
34
+ "description": "Route requests through the Jupyter server proxy to avoid CORS issues.",
35
+ "default": false
36
+ },
37
+ "httpHeaders": {
38
+ "type": "string",
39
+ "description": "HTTP headers forwarded to the upstream server when useProxy is true.",
40
+ "default": "",
41
+ "additionalProperties": {
42
+ "type": "string"
43
+ }
31
44
  }
32
45
  }
33
46
  }
@@ -30,6 +30,19 @@
30
30
  "type": "boolean",
31
31
  "description": "Interpolate between grid cells when overzooming?",
32
32
  "default": false
33
+ },
34
+ "useProxy": {
35
+ "type": "boolean",
36
+ "description": "Route tile requests through the Jupyter server proxy to avoid CORS issues.",
37
+ "default": false
38
+ },
39
+ "httpHeaders": {
40
+ "type": "string",
41
+ "description": "HTTP headers forwarded to the upstream tile server when useProxy is true.",
42
+ "default": "",
43
+ "additionalProperties": {
44
+ "type": "string"
45
+ }
33
46
  }
34
47
  }
35
48
  }