@jupytergis/schema 0.6.1 → 0.7.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.
@@ -215,7 +215,7 @@
215
215
  },
216
216
  "colorRamp": {
217
217
  "type": "string",
218
- "default": "cool"
218
+ "default": "viridis"
219
219
  }
220
220
  }
221
221
  }
@@ -352,7 +352,7 @@
352
352
  },
353
353
  "colorRamp": {
354
354
  "type": "string",
355
- "default": "cool"
355
+ "default": "viridis"
356
356
  },
357
357
  "nClasses": {
358
358
  "type": "string",
@@ -503,7 +503,7 @@
503
503
  },
504
504
  "colorRamp": {
505
505
  "type": "string",
506
- "default": "cool"
506
+ "default": "viridis"
507
507
  },
508
508
  "nClasses": {
509
509
  "type": "string",
@@ -523,6 +523,30 @@
523
523
  }
524
524
  }
525
525
  },
526
+ "GeoParquetSource": {
527
+ "type": "object",
528
+ "required": [
529
+ "path"
530
+ ],
531
+ "additionalProperties": false,
532
+ "properties": {
533
+ "path": {
534
+ "type": "string",
535
+ "description": "The path to the GeoParquet source"
536
+ },
537
+ "attribution": {
538
+ "type": "string",
539
+ "readOnly": true,
540
+ "description": "The attribution for the GeoParquet source.",
541
+ "default": ""
542
+ },
543
+ "projection": {
544
+ "type": "string",
545
+ "description": "The projection information for the GeoParquet data (optional).",
546
+ "default": "EPSG:4326"
547
+ }
548
+ }
549
+ },
526
550
  "GeoTiffSource": {
527
551
  "type": "object",
528
552
  "required": [
@@ -30,7 +30,8 @@ export type SourceType =
30
30
  | "VideoSource"
31
31
  | "ImageSource"
32
32
  | "ShapefileSource"
33
- | "GeoTiffSource";
33
+ | "GeoTiffSource"
34
+ | "GeoParquetSource";
34
35
  /**
35
36
  * This interface was referenced by `IJGISContent`'s JSON-Schema
36
37
  * via the `definition` "jGISLayerItem".
@@ -0,0 +1,24 @@
1
+ /* tslint:disable */
2
+ /**
3
+ * This file was automatically generated by json-schema-to-typescript.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run json-schema-to-typescript to regenerate this file.
6
+ */
7
+
8
+ /**
9
+ * GeoParquetSource
10
+ */
11
+ export interface IGeoParquetSource {
12
+ /**
13
+ * The path to the GeoParquet source
14
+ */
15
+ path: string;
16
+ /**
17
+ * The attribution for the GeoParquet source.
18
+ */
19
+ attribution?: string;
20
+ /**
21
+ * The projection information for the GeoParquet data (optional).
22
+ */
23
+ projection?: string;
24
+ }
@@ -54,7 +54,8 @@
54
54
  "VideoSource",
55
55
  "ImageSource",
56
56
  "ShapefileSource",
57
- "GeoTiffSource"
57
+ "GeoTiffSource",
58
+ "GeoParquetSource"
58
59
  ]
59
60
  },
60
61
  "jGISLayer": {
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "colorRamp": {
46
46
  "type": "string",
47
- "default": "cool"
47
+ "default": "viridis"
48
48
  }
49
49
  }
50
50
  }
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "colorRamp": {
41
41
  "type": "string",
42
- "default": "cool"
42
+ "default": "viridis"
43
43
  },
44
44
  "nClasses": {
45
45
  "type": "string",
@@ -77,7 +77,7 @@
77
77
  },
78
78
  "colorRamp": {
79
79
  "type": "string",
80
- "default": "cool"
80
+ "default": "viridis"
81
81
  },
82
82
  "nClasses": {
83
83
  "type": "string",
@@ -0,0 +1,24 @@
1
+ {
2
+ "type": "object",
3
+ "description": "GeoParquetSource",
4
+ "title": "IGeoParquetSource",
5
+ "required": ["path"],
6
+ "additionalProperties": false,
7
+ "properties": {
8
+ "path": {
9
+ "type": "string",
10
+ "description": "The path to the GeoParquet source"
11
+ },
12
+ "attribution": {
13
+ "type": "string",
14
+ "readOnly": true,
15
+ "description": "The attribution for the GeoParquet source.",
16
+ "default": ""
17
+ },
18
+ "projection": {
19
+ "type": "string",
20
+ "description": "The projection information for the GeoParquet data (optional).",
21
+ "default": "EPSG:4326"
22
+ }
23
+ }
24
+ }
package/lib/types.d.ts CHANGED
@@ -7,6 +7,7 @@ export * from './_interface/project/sources/rasterSource';
7
7
  export * from './_interface/project/sources/shapefileSource';
8
8
  export * from './_interface/project/sources/vectorTileSource';
9
9
  export * from './_interface/project/sources/videoSource';
10
+ export * from './_interface/project/sources/geoParquetSource';
10
11
  export * from './_interface/project/layers/heatmapLayer';
11
12
  export * from './_interface/project/layers/hillshadeLayer';
12
13
  export * from './_interface/project/layers/rasterLayer';
package/lib/types.js CHANGED
@@ -8,6 +8,7 @@ export * from './_interface/project/sources/rasterSource';
8
8
  export * from './_interface/project/sources/shapefileSource';
9
9
  export * from './_interface/project/sources/vectorTileSource';
10
10
  export * from './_interface/project/sources/videoSource';
11
+ export * from './_interface/project/sources/geoParquetSource';
11
12
  // Layers
12
13
  export * from './_interface/project/layers/heatmapLayer';
13
14
  export * from './_interface/project/layers/hillshadeLayer';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupytergis/schema",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "description": "A JupyterGIS schema package.",
5
5
  "keywords": [
6
6
  "jupytergis"