Select to view content in your preferred language

Elevation sampler not the same with custom elevation input

422
2
Jump to solution
02-15-2022 02:36 AM
Muhammad_AzhaziqBin_Mohd_Azlan
Occasional Contributor

Hi,

I'm initializing initial input into ElevationProfile. However, the line generated from the sampler seems like having an offset from the initial input. Any idea why?

 

Link to codepen: https://codepen.io/azhaziqgoh/pen/podWVdg?editors=1000

0 Kudos
1 Solution

Accepted Solutions
JohnGrayson
Esri Regular Contributor

Your polyline is very long but only has a few points.  For better display and analytical results, try to densify the polyline before creating a profile.  https://codepen.io/john-grayson/pen/NWwaoBg 

View solution in original post

2 Replies
JohnGrayson
Esri Regular Contributor

Your polyline is very long but only has a few points.  For better display and analytical results, try to densify the polyline before creating a profile.  https://codepen.io/john-grayson/pen/NWwaoBg 

Muhammad_AzhaziqBin_Mohd_Azlan
Occasional Contributor

Thanks @JohnGrayson . By the way, as we zoom in the line will eventually having offset, is it because of the demResolution?

0 Kudos