ConvertCoordLayerPixelToGround

globalmapper.ConvertCoordLayerPixelToGround(GM_LayerHandle_t32 aLayer, float aPixelX, float aPixelY) GM_Error_t32, float, float[source]

Convert a coordinate between layer pixel space and the current projection. The input layer must be a raster or gridded elevation layer (i.e. a layer where a pixel coordinate makes sense).

Parameters:
  • aLayer (GM_LayerHandle_t32) – raster layer to do conversion in

  • aPixelX (float) – X Coord in layer pixel space

  • aPixelY (float) – Y Coord in layer pixel space

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

X Coord in current projection

Return type:

float

Returns:

Y Coord in current projection

Return type:

float