# Can I get array of ground X and Y values in LOS

mg.srikanth
Global Mapper UserPosts:

**27**
Hi,

I was able to get the array of (1024) elevation points in LOS, like wise can I get array of (1024) ground X and ground Y values corresponding to elevation points using GM_GetPathProfileLOS() function call?

I tried using GM_GetPathProfileLOS to get those points but failed to do so.

I also tried to get the points using range and bearing function to calculate second point upto 1024th point using SDK functions along the path of LOS but, my last point and actual end point which i gave input to GM_GetPathProfileLOS are not matching.

Can anyone help me in finding those points?

Can i calculate slope and gradient using SDK?

Srikanth

I was able to get the array of (1024) elevation points in LOS, like wise can I get array of (1024) ground X and ground Y values corresponding to elevation points using GM_GetPathProfileLOS() function call?

I tried using GM_GetPathProfileLOS to get those points but failed to do so.

I also tried to get the points using range and bearing function to calculate second point upto 1024th point using SDK functions along the path of LOS but, my last point and actual end point which i gave input to GM_GetPathProfileLOS are not matching.

Can anyone help me in finding those points?

Can i calculate slope and gradient using SDK?

Srikanth

## Comments

17,238For the slope, if you know the X and Y points and the elevations you can easily calculate the distance between them and the resulting slope caused by a change in Z.

Thanks,

Mike

Global Mapper Guru

gmsupport@bluemarblegeo.com

http://www.globalmapper.com

27