Repository navigation
Expand file tree
/
Copy pathstacs.toml
More file actions
37 lines (33 loc) · 1.41 KB
/
Copy pathstacs.toml
File metadata and controls
37 lines (33 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This catalogue, declared for stacs: `stacs verify|register|audit --config stacs.toml`.
#
# The collection id, bucket and asset key also live in scripts/laz_item.py, and
# tests/test_stacs_config.py fails if the two disagree. Change the module, then this.
#
# No setting is a secret. The password stays on the host, named by password_env.
[catalogue]
api = "https://images.a11s.one"
collection_id = "stac-pointcloud-bc"
bucket_url = "https://stac-pointcloud-bc.s3.us-west-2.amazonaws.com"
[assets]
require = "laz"
[transport]
# The STAC host over the tailnet, as stac_dem_bc's stacs.toml documents (root only;
# the DigitalOcean reserved IP 146.190.12.8 is the same machine).
host = "root@geopro"
db = "stac"
env_file = "/opt/geoserv/.env"
workdir = "/opt/geoserv/scripts"
path_prepend = "/root/.local/bin"
pg_host = "localhost"
pg_port = 5432
pg_user = "stac"
password_env = "POSTGRES_PASSWORD"
pypgstac = ["uv", "run", "pypgstac"]
# The delivery key stac-elevation-bc items carry too, so one CQL2 filter returns a flight's
# point clouds and its rasters (#5). The pattern is laz_item.DELIVERY's, pinned by
# tests/test_stacs_config.py. `register` loads it; `verify` reports it missing until then.
[queryables."lidarbc:delivery"]
type = "string"
title = "LidarBC delivery"
description = "The objectstore path <block>/<sheet>/<year> of the LidarBC delivery a file came from, e.g. 092/092g/2016"
pattern = "^[0-9]{3}/[0-9]{3}[a-p]/[0-9]{4}$"