@gisatcz/deckgl-geolib 2.0.0 → 2.1.0-dev.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/README.md CHANGED
@@ -8,9 +8,9 @@
8
8
 
9
9
  **A Deck.gl extension for rendering Cloud-Optimized GeoTIFF (COG) data.**
10
10
 
11
- This library allows you to efficiently visualize high-resolution bitmap and terrain data directly from COG sources. It includes the `CogBitmapLayer` for 2D imagery/heatmaps and the `CogTerrainLayer` for 3D terrain meshes.
11
+ This library allows you to efficiently visualize high-resolution bitmap and terrain data directly from COG sources. It includes the `CogBitmapLayer` for 2D imagery and thematic layers and the `CogTerrainLayer` for 3D terrain meshes.
12
12
 
13
- ![Heatmap Example](docs/images/ManillaCogHeatmap.png)
13
+ [//]: # (![Heatmap Example](geoimage/docs/images/ManillaCogHeatmap.png))
14
14
 
15
15
  ## Features
16
16
 
@@ -21,7 +21,7 @@ This library allows you to efficiently visualize high-resolution bitmap and terr
21
21
 
22
22
  ## Installation
23
23
 
24
- To use the Geolib Visualizer library, you need to have deck.gl and its dependencies installed.
24
+ To use this library, you need to have deck.gl and its dependencies installed.
25
25
 
26
26
  ```bash
27
27
  npm install @gisatcz/deckgl-geolib
@@ -31,12 +31,16 @@ yarn add @gisatcz/deckgl-geolib
31
31
 
32
32
  For more information, visit the [npm package page](https://www.npmjs.com/package/@gisatcz/deckgl-geolib).
33
33
 
34
- ## Usage
34
+ ## Documentation
35
+
36
+ * **[Layer Showcase](docs/showcase-layers.md)** – Visual examples (RGB, Heatmaps, Terrain).
37
+ * **[API Reference](docs/api-reference.md)** – Detailed property configuration.
35
38
 
39
+ ## Usage
36
40
 
37
41
  ### 1. CogBitmapLayer
38
42
 
39
- Used for displaying 2D rasters (satellite imagery, analysis results, heatmaps).
43
+ Used for displaying 2D rasters: Raw Observation (Satellite/Aerial), Data Structure (Multi-band/Single-band), and Analysis Output (Thematic/Categorical).
40
44
 
41
45
  ```typescript
42
46
  import { CogBitmapLayer } from '@gisatcz/deckgl-geolib';
@@ -51,10 +55,6 @@ const cogLayer = new CogBitmapLayer({
51
55
  });
52
56
  ```
53
57
 
54
- Detailed Documentation:
55
- * [API Reference & Examples](docs/layer-cogbitmap.md)
56
- * [Visualization Options (GeoImage Core)](docs/architecture-geoimage.md)
57
-
58
58
  ### 2. CogTerrainLayer
59
59
 
60
60
  Used for displaying 3D terrain from elevation data.
@@ -68,7 +68,6 @@ const cogLayer = new CogTerrainLayer({
68
68
  elevationData: 'cog_terrain_data_url.tif',
69
69
  isTiled: true,
70
70
  tileSize: 256,
71
- meshMaxError: 1,
72
71
  operation: 'terrain+draw',
73
72
  terrainOptions: {
74
73
  type: 'terrain',
@@ -76,9 +75,6 @@ const cogLayer = new CogTerrainLayer({
76
75
  });
77
76
  ```
78
77
 
79
- Detailed Documentation:
80
- * [API Reference & Examples](docs/layer-cogterrain.md)
81
- * [Terrain Processing Options (GeoImage Core)](docs/architecture-geoimage.md)
82
78
 
83
79
  ## Data Preparation
84
80
 
@@ -89,8 +85,19 @@ Quick Checklist:
89
85
  2. **Tiling:** 256x256 tiles
90
86
  3. **Compression:** DEFLATE is recommended
91
87
 
92
- [Read the full Data Preparation Guide](docs/dataPreparation.md)
93
- *(Includes standard commands for `rio-cogeo`)*
88
+ Use the following `rio-cogeo` command to generate compatible files:
89
+
90
+ ```bash
91
+ rio cogeo create \
92
+ --cog-profile=deflate \
93
+ --blocksize=256 \
94
+ --overview-blocksize=256 \
95
+ --web-optimized \
96
+ --nodata=nan \
97
+ --forward-band-tags \
98
+ [input_file.tif] \
99
+ [output_cog_file.tif]
100
+ ```
94
101
 
95
102
 
96
103
  ## Architecture & Development
@@ -113,11 +120,6 @@ yarn build
113
120
  yarn start
114
121
  ```
115
122
 
116
- ### Technical Documentation
117
- For developers contributing to the core logic:
118
- * [GeoImage Internal Logic](docs/architecture-geoimage.md) – How the image processing and configuration work.
119
- * [CogTiles Architecture](docs/architecture-cogtiles.md) – How the tiling grid is calculated.
120
-
121
123
 
122
124
  <p style="text-align: center;">
123
125
  <sub>Maintained by <a href="https://gisat.cz">Gisat</a></sub>