> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RS_RasterToWorldCoord

Returns the upper left X and Y coordinates of the given row and column of the given raster geometric units of the geo-referenced raster as a Point geometry. If any out of bounds values are given, the X and Y coordinates of the assumed point considering existing raster pixel size and skew values will be returned.

<img src="https://mintcdn.com/wherobots/AayJA2u8CknIeTgt/images/sql-functions/RS_RasterToWorldCoord/RS_RasterToWorldCoord.svg?fit=max&auto=format&n=AayJA2u8CknIeTgt&q=85&s=b9eccee14dfac80993b22d6b436faa18" alt="RS_RasterToWorldCoord" width="780" height="400" data-path="images/sql-functions/RS_RasterToWorldCoord/RS_RasterToWorldCoord.svg" />

## Signatures

```sql theme={"system"}
RS_RasterToWorldCoord(raster: Raster, colX: Integer, rowY: Integer)
```

## Parameters

<ParamField body="raster" type="Raster" required>
  The input raster.
</ParamField>

<ParamField body="colX" type="Integer" required>
  The col x value.
</ParamField>

<ParamField body="rowY" type="Integer" required>
  The row y value.
</ParamField>

## Return type

<ResponseField type="Geometry">
  The resulting geometry.
</ResponseField>

## Example

```sql theme={"system"}
SELECT RS_RasterToWorldCoord(ST_MakeEmptyRaster(1, 5, 10, -123, 54, 5, -10, 0, 0, 4326), 1, 1) from rasters
```

```
POINT (-123 54)
```
