globalmapper.GetPixelBandValue ============================== .. currentmodule:: globalmapper .. py:function:: GetPixelBandValue (GM_LayerHandle_t32 aLayer, sint32 aRow, sint32 aCol, sint32 aBand) -> GM_Error_t32, sint32 Retrieves the band value at a given pixel location in the provided layer. If the layer does not contain a valid sample at the provided pixel location (i.e. it is a "no data" or transparent value), GM_Error_NoDataAtLocation will be returned. Use this to access the raw values from high-bit depth and multi-band imagery layers. :param GM_LayerHandle_t32 aLayer: Layer to get color from :param sint32 aRow: Y coord of pixel (0 is topmost) :param sint32 aCol: X coord of pixel (0 is leftmost) :param sint32 aBand: Band to get value for (0-based, so first band is 1) :returns: Error Code :rtype: GM_Error_t32 :return: Color of pixel at location :rtype: sint32