From c798446e17f9b783c75e0d42ee28430dc6130a17 Mon Sep 17 00:00:00 2001 From: Frank Thomsen Date: Mon, 26 Sep 2022 17:45:28 +0200 Subject: [PATCH] switch to dtm height model requests --- modules/saul-core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/saul-core.js b/modules/saul-core.js index 1be60ae..91a609d 100644 --- a/modules/saul-core.js +++ b/modules/saul-core.js @@ -124,7 +124,7 @@ function radians(degrees) { * @returns {number} Elevation in meters */ async function getZ(xcoor, ycoor, auth) { - let zcoor_data = await getDHM(`?geop=POINT(${xcoor} ${ycoor})&elevationmodel=dsm`, auth) + let zcoor_data = await getDHM(`?geop=POINT(${xcoor} ${ycoor})&elevationmodel=dtm`, auth) let z = zcoor_data.HentKoterRespons.data[0].kote return z }