DAWA-kompatibel

DAWA bebyggelser (byer, bydele, sommerhusområder … from Danske Stednavne)

The body is DAWA’s own representation: a bare object (single lookups) or a bare array (lists, type-aheads), shaped by struktur (nestet | mini | flad) and format (json | geojson | csv); callback wraps JSON as JSONP.

get/dawa/bebyggelser

Request

  • Base URL: https://api.grundfast.dk
  • URL: https://api.grundfast.dk/dawa/bebyggelser
  • Auth: one of:
    • HTTP bearer
    • API key in query parameter token

Query parameters

idstring

Bebyggelse UUID. Several values separated by |.

navnstring

Exact name. Several values separated by |.

typestring

bebyggelsestype as the register spells it (by, bydel, …). Several values separated by |.

qstring

Name prefix.

xnumber

Longitude (srid 4326) or easting (srid 25832).

ynumber

Latitude (srid 4326) or northing (srid 25832).

lonnumber

WGS84 longitude (alternative to x).

latnumber

WGS84 latitude (alternative to y).

per_sideinteger

Page size, at most 1000. Without it a list answers WHOLE, as DAWA did: past 10,000 rows the body streams (X-Total-Count gives its size) and costs one call plus one per started 1,000 rows beyond the first 10,000. One streamed list per account at a time (429 while one runs); a filtered list stops at 1,000,000 rows (400) — the whole set is the replication udtræk.

sideinteger

Page number (from 1). Paging past the first 25,000 rows is refused.

format'json' | 'geojson' | 'geojsonz' | 'csv'

json (default), geojson, geojsonz or csv.

struktur'nestet' | 'mini' | 'flad'

nestet (default for json), mini or flad.

srid'4326' | '25832'

Output (and cirkel/polygon input) reference system: 4326 (default) or 25832.

callbackstring

JSONP callback name.

noformatstring

Compact JSON instead of DAWA’s pretty-printing.

Response

OK. The body is DAWA’s own representation: a bare object (single lookups) or a bare array (lists, type-aheads), shaped by struktur (nestet | mini | flad) and format (json | geojson | csv); callback wraps JSON as JSONP.

object[] required

Changes

No recorded changes to this operation across all 1 revision of this API.