Skip to main content
Version: 1.0

Other OGC APIs

These APIs provide access to geo-spatial data and services through the GeoServer via the APISIX endpoint /geoserver. Each API corresponds to a different OGC standard, such as WMS, WFS, WMTS, and more, and enables a variety of geo-spatial operations including map rendering, feature querying, and raster data access.

To utilize an API via APISIX, you need an account registered on our Keycloak IDM, and an administrator needs to grant you access to a workspace.

For accessing the API with valid credentials, please see How to Get an Access Token.

Data spaces

These APIs facilitate a generic approach to tenancy through the division of data into so-called data spaces. These data spaces are represented as GeoServer workspaces and can only be accessed if your Keycloak user is a member of the related group and you have been granted a role to read data in this data space.

Additional Documentation

The official website provides multiple guides, best practices, and maintains Git repositories with use cases and data models.

Description of the REST API Configuration

GeoServer REST API

Examples

Before the following examples can be executed, an access token must be created. The following guide can help with that: How to Get an Access Token.

Tip: All cURL commands given can be used in tools like Postman by just copying the cURL command into the request field.

WMS GetCapabilities

curl --location 'https://api.civitas-core.de/geoserver/wms?service=WMS&version=1.3.0&request=GetCapabilities'\
--header 'Authorization: Bearer <access token>'

alt text

WFS DescribeFeatureType

curl --location 'https://api.civitas-core.de/geoserver/ds_open_data/ows?REQUEST=GetFeature&VERSION=1.3.0&SERVICE=wfs&TYPENAMES=ds_open_data:pln_teilraeume_fla'\
--header 'Authorization: Bearer <access token>'

alt text