Skip to content

Commit

Permalink
switch to dtm height model requests
Browse files Browse the repository at this point in the history
  • Loading branch information
iamfrank committed Sep 26, 2022
1 parent ce7c3a6 commit c798446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/saul-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c798446

Please sign in to comment.