Reverse geocoding — nearest street segment
Find the vejstykke (street segment) nearest to the specified coordinate. The coordinate reference system can be ETRS89/UTM32 with srid=25832 or WGS84/geographic with srid=4326. The default is WGS84.
Authentication
Your API key as a Bearer token.
Parameters
Returns the output in a format other than JSON. See Data formats.
Returns the output as JSONP. See Data formats.
Omits whitespace formatting from the output
Returns the output as Newline Delimited JSON
Specifies the SRID of the coordinate system in which geospatial parameters are specified. The default is 4326 (WGS84 / geographic coordinates). For ETRS89 / UTM zone 32 North, use 25832
X coordinate. (If ETRS89/UTM32 is used, the easting value is specified.) If WGS84/geographic is used, the latitude value is specified.
Y coordinate. (If ETRS89/UTM32 is used, the northing value is specified.) If WGS84/geographic is used, the longitude value is specified.
The struktur parameter specifies whether a flad or nestet response structure is required. The default is nestet for JSON and flad for GeoJSON.
Request
Response
Success response. The MIME type of the response depends on the format parameter.
idstring<uuid>The unique id of the street segment.
bboxnumber[]The smallest rectangle containing the geometry.
hrefstringThe vejstykke's (street segment's) unique URL.
kodestringIdentification of the vejstykke (street segment). Unique within the municipality concerned.
navnstringThe street name as determined and registered by the municipality.
kommuneobjectThe municipality in which the vejstykke (street segment) is located.
historikobjectTimestamps for creation, modification and any discontinuation.
darstatusintegerThe vejstykke's (street segment's) status code. 3=current, 4=discontinued.
postnumreobject[]The postcodes that occur in addresses on the vejstykke (street segment).
navngivenvejobjectThe named road of which the vejstykke (street segment) is a part.
visueltcenternumber[]Coordinates for the visual centre of the vejstykke (street segment), for label placement on maps.
adresseringsnavnstringAn optionally abbreviated version of the street name, no more than 20 characters long.
