GetPathProfileLOS ================= .. currentmodule:: globalmapper .. py:function:: GetPathProfileLOS (GM_LayerHandle_t32 aLayer, GM_PathProfileLOSParams_t aParams) -> GM_Error_t32 Retrieves a list of elevations along a path in the provided layer or from the list of currently loaded elevation layers (topmost elevation layer first). Can also perform a line-of-sight calculation and return additional information about a 3D path, by enabling the *GM_PathProfile_LOSValid* flag in *aParams.mFlags*. The results are returned via the GM_PathProfileLOSParams_t input object, which will be modified by this function. Note that *aParams.mElevList* must be initialized with a gm.float_array object, and *aParams.mListSize* must be equal to the size of the gm.float_array. :param GM_LayerHandle_t32 aLayer: Layer to get elevation from or gm.NULL for topmost :param GM_PathProfileLOSParams_t aParams: Calculation parameters :returns: Error Code :rtype: GM_Error_t32