Hopp til innhold

← API-referanse

Mapped NVE hazard-zone matches at the address point

hazard_zones14 felter9 av feltene åpne i demoen
Kilde
NVE flood/quick-clay/landslide zones
Geografi
Adressepunktet
Regnes som foreldet etter
120 døgn
Tilgang
Krever API-nøkkel med tilgang til seksjonen
Kontraktversjon
1
I pakkene
hazard_screen

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.

  • The canonical hazard answer: hazards, safety_and_regulations and ground_integrity answer from the same zones and the same rule. Point-in-polygon against locally ingested NVE zones. True reports a match in a mapped zone. False reports no match, and only where the address's kommune is in the layer's coverage (/coverage) — that proves we hold zones there, not complete municipal surveying. Outside coverage the answer is null and the matching *_status is unknown_not_covered. Missing matches never establish absence of hazard. Null must never be read as clearance. Source freshness is unverified unless a retrieval timestamp is supplied.
  • flood_min_return_period is the lowest present-climate recurrence whose zone covers the point (e.g. 20 = inside the 20-year flood zone); flood_climate_adjusted is true when the point lies in NVE's climate-adjusted (year-2100) zone, so in_flood_zone true with a null flood_min_return_period means the 2100 zone only. Quick clay reports the most severe NVE grade at the point, whether that zone is the release area (where a slide starts) or the run-out area (where the masses end up), and NVE's risk class 1-5. landslide_hazard_type 'combined' is NVE's joint zone for every slide type in steep terrain. Not an engineering assessment.

Felter

10 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
in_flood_zoneboolean | nullverdiåpen
flood_statusstring | nullverdi—
flood_min_return_periodinteger | null (år)verdiåpen
flood_climate_adjustedboolean | nullkontekståpen
in_quick_clay_zoneboolean | nullverdiåpen
quick_clay_statusstring | nullverdi—
quick_clay_hazard_levelstring | nullverdiåpen
quick_clay_zone_typestring | nullverdi—
quick_clay_consequence_classstring | nullkontekståpen
quick_clay_risk_classinteger | nullkontekst—
in_landslide_zoneboolean | nullverdiåpen
landslide_statusstring | nullverdi—
landslide_hazard_typestring | nullverdiåpen
landslide_safety_classstring | nullkontekståpen

Hent denne seksjonen

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

# paginated, one section at a time
curl -H "X-API-Key: $APPROACH_API_KEY" \
  "https://api.approach.no/api/v1/addresses/285717643/sections/hazard_zones?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.