Elevation sampler not the same with custom elevation input

321
2
Jump to solution
02-15-2022 02:36 AM
Muhammad_AzhaziqBin_Mohd_Azlan
New Contributor III

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
New Contributor III

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

0 Kudos