DAWA Address Normalization & Geocoding
Step-by-step instructions for parsing messy Danish addresses, resolving official DAWA UUIDs, and geocoding coordinates.
Installation
skills.sh / CLI
Install this skill directly into your AI coding agent or project.
npx skills add lordavocado/AgentAccess.dk --skill dawa-address-normalizationAbout DAWA Address Normalization & Geocoding
Equips autonomous agents with the rules of the Danish Address Web Architecture (DAWA). Teaches agents how to handle Danish characters (æ, ø, å), separate street name from house number and floor/door identifiers, perform fuzzy autocomplete, and fetch authoritative ETRS89/UTM32 and WGS84 coordinates.
SKILL.md Instructions
SKILL.mdSKILL.md
The procedural instructions executed step-by-step by the AI agent.
---
name: dawa-address-normalization
description: Parse and normalize Danish addresses to official DAWA UUIDs and coordinates.
metadata:
system: dawa
country: DK
---
# DAWA Address Normalization Skill
Use this skill when processing user-provided or extracted Danish postal addresses.
## Core Rules
1. **Danish Special Characters**: Never strip `æ`, `ø`, or `å`. If user input uses replacements (`ae`, `oe`, `aa`), use DAWA's fuzzy matching (`fuzzy=true`) rather than naive exact string matching.
2. **Structure**:
- `vejnavn` (Street name): e.g. "Nørrebrogade"
- `husnr` (House number): e.g. "12", "14B"
- `etage` (Floor): e.g. "st", "1", "2"
- `dør` (Door identifier): e.g. "th", "tv", "mf"
- `postnr` (Postal code): strictly 4 digits (e.g. "2200")
- `postnrnavn` (City/Town): e.g. "København N"
## Autocomplete Workflow
Call DAWA autocomplete endpoint:
`GET https://api.dataforsyningen.dk/adresser/autocomplete?q={raw_query}&fuzzy=true`
Select the matching entry and extract:
- `id`: The canonical address UUID (Adgangsadresse / Enhedsadresse).
- `adgangsadresse.koordinater`: WGS84 [longitude, latitude].
Related Danish System
View systemDAWA — Danmarks Adressers Web API
Authoritative Danish address registry exposing high-performance REST APIs and real-time replication feeds.