globalmapper.GetPixelElevationRow ================================= .. currentmodule:: globalmapper .. py:function:: GetPixelElevationRow (GM_LayerHandle_t32 aLayer, sint32 aRow, float_array aElevRow, float aInvalidVal) -> GM_Error_t32 Retrieves the elevation values for an entire row of the provided layer. If any elevations don't have valid values they will be replaced by *aInvalidVal*. This function is much faster than individually getting the elevation value for individual pixels using the :doc:`GetPixelElevation` function, so use this to access large portions of a loaded layer. The results will be returned through the *aElevRow* parameter. :param GM_LayerHandle_t32 aLayer: Layer to get elevation from :param sint32 aRow: Y coord of pixel (0 is topmost) :param float_array aElevRow: In/Out: Buffer to hold elevation values for row in meters :param float aInvalidVal: Value to use for invalid samples (i.e. -9999.9) :returns: Error Code :rtype: GM_Error_t32