@basemaps/server 6.38.0 → 6.39.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 CHANGED
@@ -3,6 +3,17 @@
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.39.0](https://github.com/linz/basemaps/compare/v6.38.0...v6.39.0) (2023-01-25)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **server:** correctly forward array query strings to the lambda function ([#2630](https://github.com/linz/basemaps/issues/2630)) ([4a021b2](https://github.com/linz/basemaps/commit/4a021b20ad55709861bcb910cd48a2d0e9d3c26b))
12
+
13
+
14
+
15
+
16
+
6
17
  # [6.38.0](https://github.com/linz/basemaps/compare/v6.37.0...v6.38.0) (2022-12-11)
7
18
 
8
19
  **Note:** Version bump only for package @basemaps/server
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/tiler into a standalone express 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.
6
6
 
7
7
  ## Usage
8
8
  Basemaps server expects a folder tree full of configuration, with multiple tilesets and styles configuration files.
@@ -27,12 +27,12 @@ Where `${PWD}/config` contains all the configuration and `${PWD}/tiffs` is all t
27
27
 
28
28
  ### Bundled configuration
29
29
 
30
- Basemaps server can also be configured with a single configuration bundle file, which can be created from a configuration folder
30
+ Basemaps server can also be configured with a single JSON configuration bundle file using [@basemaps/cli](https://github.com/linz/basemaps/blob/master/packages/cli/README.md)
31
31
 
32
32
  By bundling the configuration the startup time is greatly reduced as each individual tiff file does not have to be scanned for dimensions, it does mean that new tiffs will not be picked up until a new bundle is created.
33
33
 
34
34
  ```bash
35
- basemaps-server --config path/to/config/ --bundle config.bundle.json
35
+ bmc bundle --config config/ --output config.bundle.json
36
36
  basemaps-server --config config.bundle.json
37
37
  ```
38
38
 
@@ -41,18 +41,18 @@ basemaps-server --config config.bundle.json
41
41
  Usage with basemaps config, you will need access to basemaps' imagery cache
42
42
 
43
43
  please contact basemaps@linz.govt.nz if you need access.
44
- ```
44
+
45
+ ```bash
45
46
  git clone github.com/linz/basemaps-config
46
47
 
47
- basemaps-server --config basemaps-config/config
48
+ bmc bundle --config basemaps-config/config --output config.bundle.json
49
+ basemaps-server --config config.bundle.json
48
50
  ```
49
51
 
50
52
 
51
-
52
-
53
53
  ### Direct TIFF access
54
54
 
55
- If you have a folder of tiffs the basemaps-server can index the folder and create tiles from
55
+ If you have a folder of tiffs the `@basemaps/server` can index the folder and create tiles from it
56
56
 
57
57
 
58
58
  For example given a structure where there are two folders full of tiffs
@@ -67,7 +67,7 @@ running `basemaps-server --config /images --no-config` will create two tile sets
67
67
 
68
68
  ## Developing
69
69
 
70
- When running the `@basemaps/server` in development mode, ensure `@basemaps/landing` page has been bundled
70
+ When running the `@basemaps/server` in development mode, ensure `@basemaps/landing` page has been built and bundled
71
71
 
72
72
  ```bash
73
73
  yarn