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 }