Skip to content

Commit

Permalink
#51 extend pygeoapi config with part 2 CRS support - add test page
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed Mar 15, 2023
1 parent 6408e15 commit 1c4ccf7
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
2 changes: 1 addition & 1 deletion services/home/src/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Open Source products running in this instance. Links to documentation and HOWTOs
| [/goaf](/goaf?f=html) | Kadaster PDOK | [docs](https://github.com/PDOK/goaf) | [HOWTO](https://apitestdocs.geonovum.nl/howto/howto_goaf/)
| [/pycsw/csw.py](/pycsw/csw.py/collections/metadata:main) | [GeoPython Community](https://geopython.github.io/) | [docs](https://docs.pycsw.org/en/latest/index.html) | [HOWTO](https://apitestdocs.geonovum.nl/howto/howto_pycsw/)


* see the [pygeoapi Test Page](pygeoapi-test.md) for test of recent added functions: Part 2 CRS support and INSPIRE.
* *"QGIS" is the QGIS Server Application.*

## Storage Services
Expand Down
41 changes: 41 additions & 0 deletions services/home/src/docs/pygeoapi-test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: OGC-API-Testbed - pygeoapi tests
---

# OGC-API-Testbed - pygeoapi tests

This page provides some links to URLs on the API Testbed Server in order to test
pygeoapi additions made as part of the Tender [OGC-API-Features tooling adjustments to the Dutch API Design Rules and INSPIRE](https://www.geonovum.nl/themas/invitation-to-tender).

## OGC API Features Part 2
This is basically support for the query parameters `crs` and `crs-bbox`.

### CRS BBOX

The AddressesNL is a small (100) set of INSPIRE Harmonized Addresses (AD) situated in the
North-East of The Netherlands.

Find the [Collection config](https://github.com/Geonovum/ogc-api-testbed/blob/main/services/pygeoapi/local.config.yml#L57) here.
BBOX of the Collection is `6.85, 53.311, 6.87, 53.322` (WGS84, lon, lat axis ordering).

BBOX CRS in Dutch RD (EPSG:28992):

* https://apitestbed.geonovum.nl/pygeoapi/collections/AddressesNL/items?bbox=13000,400000,400000,700000&bbox-crs=http://www.opengis.net/def/crs/EPSG/0/28992

BBOX CRS in ETRS89 INSPIRE EPSG:4258 - note the lat, lon axis ordering:

* https://apitestbed.geonovum.nl/pygeoapi/collections/AddressesNL/items?bbox=53,6,54,7&bbox-crs=http://www.opengis.net/def/crs/EPSG/0/4258

BBOX CRS in CRS 4326 - note the lat, lon axis ordering:

* https://apitestbed.geonovum.nl/pygeoapi/collections/AddressesNL/items?bbox=53,6,54,7&bbox-crs=http://www.opengis.net/def/crs/EPSG/0/4326

BBOX CRS in CRS 4326 - note that lon, lat axis ordering gives zero Items:

* https://apitestbed.geonovum.nl/pygeoapi/collections/AddressesNL/items?bbox=6,53,7,54&bbox-crs=http://www.opengis.net/def/crs/EPSG/0/4326

BBOX CRS in "OGC WGS84" - note the lon, lat axis ordering):

* https://apitestbed.geonovum.nl/pygeoapi/collections/AddressesNL/items?bbox=6,53,7,54&bbox-crs=http://www.opengis.net/def/crs/OGC/1.3/CRS84
* GeoJSON: https://apitestbed.geonovum.nl/pygeoapi/collections/AddressesNL/items?bbox=6,53,7,54&bbox-crs=http://www.opengis.net/def/crs/OGC/1.3/CRS84&f=json

0 comments on commit 1c4ccf7

Please sign in to comment.