Features

fetch a single feature

Changed on

Fetch the feature with id featureId in the feature collection with id collectionId.

Use content negotiation to request HTML or GeoJSON.

get/collections/{collectionId}/items/{featureId}

Request

Path parameters

collectionIdstring required

local identifier of a collection

featureIdstring required

local identifier of a feature

Response

fetch the feature with id featureId in the feature collection with id collectionId

type'Feature' required
propertiesobject nullable required

Example response

{
  "links": [
    {
      "href": "http://data.example.com/buildings/123",
      "rel": "alternate",
      "type": "application/geo+json",
      "hreflang": "en",
      "title": "Trierer Strasse 70, 53115 Bonn"
    }
  ]
}

Changes

    • info

      api tag Features added

    • info

      api tag Data removed

    • breaking

      added the new path request parameter collectionId

    • breaking

      added the new path request parameter featureId

    • info

      added the media type application/geo+json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type text/html for the response with the status

    • info

      added the media type text/html for the response with the status