@basemaps/server 6.39.0 → 6.40.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/CHANGELOG.md +17 -0
- package/README.md +5 -5
- package/bin/basemaps-server.cjs +186 -181
- package/build/bin.js +8 -1
- package/build/bin.js.map +1 -1
- package/build/cli.d.ts +17 -8
- package/build/cli.d.ts.map +1 -1
- package/build/cli.js +39 -36
- package/build/cli.js.map +1 -1
- package/build/config.d.ts +22 -0
- package/build/config.d.ts.map +1 -0
- package/build/config.js +52 -0
- package/build/config.js.map +1 -0
- package/build/server.d.ts +1 -6
- package/build/server.d.ts.map +1 -1
- package/build/server.js +4 -32
- package/build/server.js.map +1 -1
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [6.40.0](https://github.com/linz/basemaps/compare/v6.39.0...v6.40.0) (2023-03-16)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **server:** Fix the server cli to load config from config path. ([#2690](https://github.com/linz/basemaps/issues/2690)) ([64d1f14](https://github.com/linz/basemaps/commit/64d1f14910324b04cf4355200141454fb1a3b0ad))
|
|
12
|
+
* **server:** make --no-config actually load the configuration from tiffs ([#2682](https://github.com/linz/basemaps/issues/2682)) ([019ee50](https://github.com/linz/basemaps/commit/019ee50ee22cda2ce143f9a012d4aaa9ffc0edc9))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **server:** change CLI interface to support multiple tiff folders ([#2688](https://github.com/linz/basemaps/issues/2688)) ([7fcd310](https://github.com/linz/basemaps/commit/7fcd310425aaf02bbadab2bb3b89cce5b7462c8f))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
6
23
|
# [6.39.0](https://github.com/linz/basemaps/compare/v6.38.0...v6.39.0) (2023-01-25)
|
|
7
24
|
|
|
8
25
|
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
WMTS/XYZ Tile server command line interface.
|
|
4
4
|
|
|
5
|
-
This wraps the [@basemaps/lambda-tiler](https://github.com/linz/basemaps/blob/master/packages/lambda-tiler/README.md) into a standalone http server.
|
|
5
|
+
This wraps the [@basemaps/lambda-tiler](https://github.com/linz/basemaps/blob/master/packages/lambda-tiler/README.md) into a standalone http server using [fastify](https://www.fastify.io/).
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
Basemaps server expects a folder tree full of configuration, with multiple tilesets and styles configuration files.
|
|
@@ -20,7 +20,7 @@ docker run -it \
|
|
|
20
20
|
--volume $PWD/config:/config \
|
|
21
21
|
--volume $PWD/tiffs:$PWD/tiffs \
|
|
22
22
|
-p 5000:5000 \
|
|
23
|
-
ghcr.io/linz/basemaps-server:v6
|
|
23
|
+
ghcr.io/linz/basemaps-server:v6 --config /config
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
Where `${PWD}/config` contains all the configuration and `${PWD}/tiffs` is all the relevant tiff files
|
|
@@ -58,11 +58,11 @@ If you have a folder of tiffs the `@basemaps/server` can index the folder and cr
|
|
|
58
58
|
For example given a structure where there are two folders full of tiffs
|
|
59
59
|
|
|
60
60
|
```
|
|
61
|
-
/images/00_gebco_2021_305-75m
|
|
62
|
-
/images/10_geographx_nz_texture_shade_2012_8-
|
|
61
|
+
/images/00_gebco_2021_305-75m/*.tiff
|
|
62
|
+
/images/10_geographx_nz_texture_shade_2012_8-0m/*.tiff
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
running `basemaps-server
|
|
65
|
+
running `basemaps-server /images/00_gebco_2021_305-75m/ /images/10_geographx_nz_texture_shade_2012_8-0m/` will create two tile sets one for each folder `gebco_2021...` and `geographx_nz_t...` and then also create a combined layer in the order the tiffs are found.
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
## Developing
|