diff --git a/pygeoapi/linked_data.py b/pygeoapi/linked_data.py index c502922..b79a72a 100644 --- a/pygeoapi/linked_data.py +++ b/pygeoapi/linked_data.py @@ -211,8 +211,10 @@ def geojson2jsonld(cls, data: dict, dataset: str, data.update(data.pop('properties')) # Include multiple geometry encodings - data['type'] = 'schema:Place' - jsonldify_geometry(data) + if (data.get('geometry') is not None): + data['type'] = 'schema:Place' + jsonldify_geometry(data) + data['@id'] = identifier else: