GDI-DE AP Workshop - TOP7c - OGC API - Features (Neue Chancen für die GDI-DE) - Frankfurt 2019-12-03
OpenAPI Description (HTML):
LD Proxy (Interactive Instruments):
Voraussetzungen:
Erweiterter Anwendungsfall:
Umsetzung von WFS 3.0 / OGC API Features war der nächste konsequente Schritt
Vorgehensweise:
Für alle OpenData WFS 2.0+ gibt es automatisch ein OGC API Features Interface
API Definition
Die Metadaten für das REST Interface werden an den GDK-DE abgegeben
Es gibt für jedes Objekt eine persistente URI zur Referenzierung
Export von Metadaten für das neue Interface ins OpenData Portal (dcat - distribution) inkl. CKAN resource_view
Nutzung von JSON Schema für das Mapping von Attributbezeichnern
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://geoportal.trier.de/trier/config/jsonschema/pois.json",
"type": "object",
"title": "POIs Stadt Trier",
"description": "Points of Interest (Pois) im Stadtgebiet Trier",
"readOnly": true,
"writeOnly": false,
"required": [
"gid",
"bez",
"str_hsnr",
"plz_ort",
"beschr",
"internet",
"x",
"y"
],
"properties": {
"gid": {
"$id": "#/properties/gid",
"type": "integer",
"title": "Objektschlüssel",
"description": "Ein eindeutiger Objektschlüssel des POIs",
"examples": [
"22534"
]
},
"bez": {
"$id": "#/properties/bez",
"type": "string",
"title": "Name",
"description": "Name des POIs",
"examples": [
"SHG"
]
},
"str_hsnr": {
"$id": "#/properties/str_hsnr",
"type": "string",
"title": "Straße / Hsnr.",
"description": "Straße und Hausnummer des Ortes",
"examples": [
"Mainz"
]
},
"plz_ort": {
"$id": "#/properties/plz_ort",
"type": "string",
"title": "PLZ / Ort",
"description": "Postleitzahl und Name des Ortes",
"examples": [
"Mainz"
]
},
"beschr": {
"$id": "#/properties/plz_ort",
"type": "string",
"title": "Infos und Beschreibung",
"description": "Beschreibungen und weitere Informationen zum POI (auch HTML Content)",
"examples": [
"Mainz"
]
},
"internet": {
"$id": "#/properties/internet",
"type": "string",
"title": "Internet",
"description": "Webadresse mit weiteren Infos",
"examples": [
"Mainz"
]
},
"x": {
"$id": "#/properties/x",
"type": "integer",
"title": "X-Koordinate",
"description": "X-Koordinate im UTM Zone 32 System",
"examples": [
"22534"
]
},
"y": {
"$id": "#/properties/y",
"type": "integer",
"title": "Y-Koordinate",
"description": "Y-Koordinate im UTM Zone 32 System",
"examples": [
"22534"
]
}
}
}
Nutzung von JSON Schema für das Mapping von Attributbezeichnern
Nutzung von JSON-LD für das semantische Mapping des Datenmodells
TBD - ist aber schon vorbereitet ;-)
Armin Retterath
Zentrale Stelle GDI-RP
armin.retterath@vermkv.rlp.de
0261/492-466