globalmapper.GetPathProfile =========================== .. currentmodule:: globalmapper .. py:function:: GetPathProfile (GM_LayerHandle_t32 aLayer, float aStartX, float aStartY, float aEndX, float aEndY, float_array aElevList, int aListSize, float aDfltElev) -> 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). The result is returned into the *aElevList* parameter as a float_array. :param GM_LayerHandle_t32 aLayer: Layer to get elevation from or gm.NULL for topmost :param float aStartX: Start X coord in current projection :param float aStartY: Start Y coord in current projection :param float aEndX: End X coord in current projection :param float aEndY: End Y coord in current projection :param float_array aElevList: Buffer to hold list of elevations; must be initialized before using as a parameter :param int aListSize: Number of elevations to retrieve; must not be greater than length of *aElevList* :param float aDfltElev: Elev to use when none could be found :returns: Error Code :rtype: GM_Error_t32