Skip to content
Help center

Coordinate systems (EPSG/srid) and lon/lat vs. x/y

1 min read

Coordinate systems

Data is by default WGS84 (lon/lat, degrees). Supported srid:

  • 4326 — WGS84 (default). lon/lat in degrees.
  • 25832 — ETRS89 / UTM zone 32N (metres). DAR's own system, [easting, northing].

An unknown srid falls back gracefully to 4326 (does not error).

⚠️ Reverse geocoding: different parameters

  • /v1/reverse uses lat + lon (+ optional srid).
  • /dawa reverse (/dawa/adgangsadresser/reverse, /dawa/adresser/reverse) uses x + y, where x = lon and y = lat.

The parameter is named lon — not lng.

Bash
# v1 (lat, lon):
curl -H "Authorization: Bearer <key>" \
  "https://api.danskadresseapi.dk/v1/reverse?lat=55.6761&lon=12.5683"

# dawa (x=lon, y=lat):
curl "https://api.danskadresseapi.dk/dawa/adgangsadresser/reverse?x=12.5683&y=55.6761"
Was this helpful?