Hopp til innhold

← API-referanse

Nearest SEFRAK-registered buildings

sefrak_buildings14 felter14 av feltene åpne i demoen
Kilde
Riksantikvaren SEFRAK via Geonorge
Geografi
Rundt adressen
Regnes som foreldet etter
120 døgn
Tilgang
Krever API-nøkkel med tilgang til seksjonen
Kontraktversjon
2
I pakkene
planning_restrictions

Hva dette ikke sier

Gjengitt ordrett fra seksjonens warnings-felt, slik API-et returnerer det. Vi oversetter dem ikke: en oversettelse ville vist noe annet enn det svaret ditt faktisk inneholder.

  • SEFRAK is a register of pre-1900 buildings, not a protection decision; a listed neighbour does not make this address protected. Verify status with the municipality or Askeladden.
  • Straight-line EPSG:25833 distances from the address point to the feature; not travel distance. Source features are imported as published, with their own accuracy and update cadence; updated_at is our import time.
  • Routes follow the car profile, from the address to the feature; ranking remains straight-line. Static modelled travel time excludes live traffic and emergency response. Road snapping is limited to 250 m at each end. Ferries may be included without timetable/wait guarantees. Graph source date is unverified unless supplied. © OpenStreetMap contributors, ODbL: https://www.openstreetmap.org/copyright
  • walk_route and cycle_route follow OSRM's foot and bicycle profiles on the same OpenStreetMap data: paths and stairs allowed on foot, road rules for bicycles; modelled times at profile default speeds, not measured.

Felter

2 av 14 felter er verdifelter — de som avgjør om en post faktisk sier noe. Resten er kontekst: identifikatorer, koder og tidsstempler. Feltene merket «åpen» returnerer verdier til anonyme kallere; de øvrige krever nøkkel.

FeltTypeRolleDemo
feature_idstring | nullkontekståpen
labelstring | nullverdiåpen
municipality_codestring | nullkontekståpen
updated_atstring | nullkontekståpen
building_typestring | nullkontekståpen
heritage_groupstring | nullkontekståpen
protection_valuestring | nullkontekståpen
datingstring | nullkontekståpen
straight_line_distance_minteger | null (m)verdiåpen
lonnumber | nullkontekståpen
latnumber | nullkontekståpen
routeobjectkontekståpen
walk_routeobjectkontekståpen
cycle_routeobjectkontekståpen

Hent denne seksjonen

curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643?include=sefrak_buildings"

# paginated, one section at a time
curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643/sections/sefrak_buildings?limit=25"

Prøv den nå

Dette er et ekte kall mot den offentlige demoen, herfra. Svaret under er det API-et returnerte — ikke et eksempel.