> ## 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_RasterToWorldCoordX

Returns the upper left X coordinate of the given row and column of the given raster geometric units of the geo-referenced raster. If any out of bounds values are given, the X coordinate 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_RasterToWorldCoordX/RS_RasterToWorldCoordX.svg?fit=max&auto=format&n=AayJA2u8CknIeTgt&q=85&s=f57501480b22095619e4f7484d3c893a" alt="RS_RasterToWorldCoordX" width="620" height="360" data-path="images/sql-functions/RS_RasterToWorldCoordX/RS_RasterToWorldCoordX.svg" />

## Signatures

```sql theme={"system"}
RS_RasterToWorldCoordX(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="Double">
  A numeric value.
</ResponseField>

## Example

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

```
-123
```
