Zum Inhalt springen
MultiBaseCS Hilfe
Esc
↑↓navigieren↵öffnen⌘Jvorschau

GeocodingPlacesGeoJSON

QUERYGeocodingPlacesGeoJSON
Authorization
AuthorizationBearer token · headerrequired
Arguments

Liefert Details zu einem Ort aus einer vorherigen Abfrage (anhand der gid).

Sucht einen Ort anhand einer Adresse oder eines Namens.

langString

Sprachcode der Ergebnisse nach BCP 47

Ermittelt, was sich an einer bestimmten Koordinate befindet (Reverse Geocoding).

Sucht einen Ort anhand bereits aufgeteilter Adressbestandteile (Hausnummer, Straße, Ort usw.).

Returns

Ergebnis der Ortssuche als GeoJSON-FeatureCollection

Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'https://api.multibasecs.de/graphql' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "query": "query GeocodingPlacesGeoJSON($detailsFilter: GeocodingPlacesGeoJSONItemsDetailsSearchFilterInput, $filter: GeocodingPlacesGeoJSONItemsSearchFilterInput, $lang: String, $reverseFilter: GeocodingPlacesGeoJSONItemsReverseSearchFilterInput, $structuredFilter: GeocodingPlacesGeoJSONItemsSearchStructuredFilterInput) {\n  GeocodingPlacesGeoJSON(detailsFilter: $detailsFilter, filter: $filter, lang: $lang, reverseFilter: $reverseFilter, structuredFilter: $structuredFilter) {\n    bbox\n    features {\n      bbox\n      type\n    }\n    type\n  }\n}",
  "variables": {
    "detailsFilter": {
      "categories": true,
      "gids": [
        "string"
      ]
    },
    "filter": {
      "boundaryCircleLat": 0,
      "boundaryCircleLon": 0,
      "boundaryCircleRadius": 0,
      "boundaryCountry": "string",
      "boundaryGid": "string",
      "boundaryRectMaxLat": 0,
      "boundaryRectMaxLon": 0,
      "boundaryRectMinLat": 0,
      "boundaryRectMinLon": 0,
      "focusPointLat": 0,
      "focusPointLon": 0,
      "isAutocomplete": false,
      "layers": [
        "address"
      ],
      "size": 10,
      "sources": [
        "geonames"
      ],
      "text": "string"
    },
    "lang": "string",
    "reverseFilter": {
      "boundaryCircleRadius": 0,
      "boundaryCountry": "string",
      "boundaryGid": "string",
      "layers": [
        "address"
      ],
      "pointLat": 0,
      "pointLon": 0,
      "sources": [
        "geonames"
      ]
    },
    "structuredFilter": {
      "address": "string",
      "borough": "string",
      "boundaryCircleLat": 0,
      "boundaryCircleLon": 0,
      "boundaryCircleRadius": 0,
      "boundaryCountry": "string",
      "boundaryGid": "string",
      "boundaryRectMaxLat": 0,
      "boundaryRectMaxLon": 0,
      "boundaryRectMinLat": 0,
      "boundaryRectMinLon": 0,
      "country": "string",
      "county": "string",
      "focusPointLat": 0,
      "focusPointLon": 0,
      "layers": [
        "address"
      ],
      "locality": "string",
      "neighbourhood": "string",
      "postalcode": "string",
      "region": "string",
      "size": 10,
      "sources": [
        "geonames"
      ],
      "text": "string"
    }
  }
}'
Response
{
  "data": {
    "GeocodingPlacesGeoJSON": {
      "bbox": [
        0
      ],
      "features": [
        {
          "bbox": [
            0
          ],
          "type": "string"
        }
      ],
      "type": "string"
    }
  }
}