maplibre-gl-lidar 0.3.1 → 0.3.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.
- package/README.md +45 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,6 +28,16 @@ Try the [live demo](https://opengeos.org/maplibre-gl-lidar).
|
|
|
28
28
|
|
|
29
29
|

|
|
30
30
|
|
|
31
|
+
## Online Viewer
|
|
32
|
+
|
|
33
|
+
Use the [Online Viewer](https://opengeos.org/maplibre-gl-lidar/viewer/) to load and visualize any COPC point cloud by entering a URL. You can also use URL parameters for direct linking:
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
https://opengeos.org/maplibre-gl-lidar/viewer/?url=https://s3.amazonaws.com/hobu-lidar/autzen-classified.copc.laz
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
This allows you to share links that automatically load specific point clouds.
|
|
40
|
+
|
|
31
41
|
## Installation
|
|
32
42
|
|
|
33
43
|
```bash
|
|
@@ -446,6 +456,41 @@ Point clouds are automatically transformed to WGS84 (EPSG:4326) for display on t
|
|
|
446
456
|
- Compound coordinate systems (horizontal + vertical)
|
|
447
457
|
- Automatic unit conversion (feet to meters for elevation)
|
|
448
458
|
|
|
459
|
+
## Docker
|
|
460
|
+
|
|
461
|
+
The examples can be run using Docker. The image is automatically built and published to GitHub Container Registry.
|
|
462
|
+
|
|
463
|
+
### Pull and Run
|
|
464
|
+
|
|
465
|
+
```bash
|
|
466
|
+
# Pull the latest image
|
|
467
|
+
docker pull ghcr.io/opengeos/maplibre-gl-lidar:latest
|
|
468
|
+
|
|
469
|
+
# Run the container
|
|
470
|
+
docker run -p 8080:80 ghcr.io/opengeos/maplibre-gl-lidar:latest
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
Then open http://localhost:8080/maplibre-gl-lidar/ in your browser to view the examples.
|
|
474
|
+
|
|
475
|
+
### Build Locally
|
|
476
|
+
|
|
477
|
+
```bash
|
|
478
|
+
# Build the image
|
|
479
|
+
docker build -t maplibre-gl-lidar .
|
|
480
|
+
|
|
481
|
+
# Run the container
|
|
482
|
+
docker run -p 8080:80 maplibre-gl-lidar
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
### Available Tags
|
|
486
|
+
|
|
487
|
+
| Tag | Description |
|
|
488
|
+
|-----|-------------|
|
|
489
|
+
| `latest` | Latest release |
|
|
490
|
+
| `x.y.z` | Specific version (e.g., `1.0.0`) |
|
|
491
|
+
| `x.y` | Minor version (e.g., `1.0`) |
|
|
492
|
+
|
|
493
|
+
|
|
449
494
|
## Dependencies
|
|
450
495
|
|
|
451
496
|
- [deck.gl](https://deck.gl/) - WebGL visualization layers
|