globalmapper.ConvertCoordLayerGroundToPixel =========================================== .. currentmodule:: globalmapper .. py:function:: ConvertCoordLayerGroundToPixel (GM_LayerHandle_t32 aLayer, float aGroundX, float aGroundY) -> GM_Error_t32, float, float Convert a coordinate between the current projection and layer pixel space and the current. The input layer must be a raster or gridded elevation layer (i.e. a layer where a pixel coordinate makes sense). :param GM_LayerHandle_t32 aLayer: raster layer to do conversion in :param float aGroundX: X Coord in current projection :param float aGroundY: Y Coord in current projection :returns: Error Code :rtype: GM_Error_t32 :return: X Coord in layer pixel space :rtype: float :return: Y Coord in layer pixel space :rtype: float