Skip to content

Commit

Permalink
Update example to include multiple projections. Currently only the lo…
Browse files Browse the repository at this point in the history
…cal example includes multiple projections, not the cloud-backed (azure) example
  • Loading branch information
rkettelerij committed Nov 28, 2023
1 parent 83be787 commit 311e46c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ This example uses vector tiles from the [PDOK BGT dataset](https://www.pdok.nl/i
## OGC API Features example

There are 2 examples configurations:
- `config_features_local.yaml` - use the local [addresses.gpkg](resources%2Faddresses.gpkg) geopackage
- `config_features_azure.yaml` - use [addresses.gpkg](resources%2Faddresses.gpkg) hosted in Azure Blob as a [Cloud-Backed SQLite/Geopackage](https://sqlite.org/cloudsqlite/doc/trunk/www/index.wiki).
- `config_features_local.yaml` - use local addresses geopackages in WGS84, RD and ETRS89 projections.
- `config_features_azure.yaml` - use addresses geopackage (just one in WGS84) hosted in Azure Blob as a [Cloud-Backed SQLite/Geopackage](https://sqlite.org/cloudsqlite/doc/trunk/www/index.wiki).

For the local version just start GoKoala as specified in the root [README](../README.md#run)
and provide the mentioned config file.
Expand Down
15 changes: 14 additions & 1 deletion examples/config_features_local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,22 @@ ogcApi:
defaultWGS84:
geopackage:
local:
file: ./examples/resources/addresses.gpkg
file: ./examples/resources/addresses-crs84.gpkg
fid: fid
queryTimeout: 5s
additional:
- srs: EPSG:28992
geopackage:
local:
file: ./examples/resources/addresses-rd.gpkg
fid: fid
queryTimeout: 10s
- srs: EPSG:3035
geopackage:
local:
file: ./examples/resources/addresses-etrs89.gpkg
fid: fid
queryTimeout: 10s
collections:
- id: dutch-addresses
tableName: addresses # name of the feature table (optional), when omitted collection ID is used.
Expand Down
Binary file not shown.
Binary file added examples/resources/addresses-etrs89.gpkg
Binary file not shown.
Binary file added examples/resources/addresses-rd.gpkg
Binary file not shown.

0 comments on commit 311e46c

Please sign in to comment.