Terrain profile along a straight line (at most 2000 m)

Samples dhm_terraen every trin metres from fra to til, ALWAYS including both endpoints, and reports fald_m (the fall across the line). One upstream raster, not one per station. Consumes ONE billable unit per returned station. The answer carries the fall and nothing more — whether a project clears the højdegrænseplan is not this API's call. The line may be at most 2000 m long (measured in EPSG:25832) and yield at most 500 stations; a longer line or a finer trin is REFUSED with a 400 naming the limit. Lines over ~240 m are read from a coarser raster than the native 0.4 m — oploesning_m states which. A station outside the model's coverage (abroad, open sea) is terraen_m: null, never 0.

get/v1/dhm/profil

Request

  • Base URL: https://api.grundfast.dk
  • URL: https://api.grundfast.dk/v1/dhm/profil
  • Auth: one of:
    • HTTP bearer
    • API key in query parameter token

Query parameters

frastring required
Example:9.9147,56.031834

Start of the line as lon,lat in WGS84 decimal degrees.

tilstring required
Example:9.91534,56.031834

End of the line as lon,lat in WGS84 decimal degrees.

trinnumber

Station spacing in metres (default 1). Must be at least 0.4 — the DHM cell size — and coarse enough to keep the profile under 500 stations.

Response

OK

laengde_mnumber required
trin_mnumber required
terraen_min_mnumber nullable required
terraen_maks_mnumber nullable required
fald_mnumber nullable required
system'DVR90' required
system_epsg5799 required
oploesning_mnumber required
metode'naermeste_celle' required
usikkerhed_mnumber nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.