Skip to content

Commit

Permalink
- added command to access a local features collection using docker/gdal
Browse files Browse the repository at this point in the history
  • Loading branch information
doublebyte1 committed Nov 16, 2024
1 parent 4b1336e commit 7d1cc09
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions workshop/content/docs/publishing/ogcapi-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,17 @@ QGIS is one of the first GIS Desktop clients which added support for OGC API - F
```
</div>

If can also use `ogrinfo` retrieve information about an OGC API - Features collection. In case you are accessing a local collection, you'll need to make sure the container runs on the host network:
<div class="termy">
```bash
docker run \
--network=host \
ghcr.io/osgeo/gdal:alpine-small-latest \
ogrinfo OAPIF:http://localhost:5000/collections/obs obs -so
```
</div>


### OWSLib - Advanced

[OWSLib](https://owslib.readthedocs.io) is a Python library to interact with OGC Web Services and supports a number of OGC APIs including OGC API - Features.
Expand Down

0 comments on commit 7d1cc09

Please sign in to comment.