Skip to content

RS_RasterToWorldCoordX

Converts raster pixel coordinates to world X coordinate.

Usage

double RS_RasterToWorldCoordX(rast: raster, x: integer, y: integer)

Arguments

  • rast (raster): Input raster
  • x (integer)
  • y (integer)

Examples

SELECT RS_RasterToWorldCoordX(RS_Example(), 10, 20);
┌──────────────────────────────────────────────────────────┐
│ rs_rastertoworldcoordx(rs_example(),Int64(10),Int64(20)) │
│                          float64                         │
╞══════════════════════════════════════════════════════════╡
│                                                    83.08 │
└──────────────────────────────────────────────────────────┘