globalmapper.GetPixelColor ========================== .. currentmodule:: globalmapper .. py:function:: GetPixelColor (GM_LayerHandle_t32 aLayer, sint32 aRow, sint32 aCol) -> GM_Error_t32, GM_Color_t Retrieves the color at a given pixel location from the provided raster layer. If the layer does not contain a valid color value at the provided pixel location (i.e. it is a "no data" or transparent value), GM_Error_NoDataAtLocation will be returned. :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) :returns: Error Code :rtype: GM_Error_t32 :return: Color of pixel at location :rtype: GM_Color_t