Skip to content

RS_WorldToRasterCoordY

Converts world coordinates to raster Y coordinate.

Usage

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

Arguments

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

Examples

SELECT RS_WorldToRasterCoordY(RS_Example(), 10.0, 20.0);
┌──────────────────────────────────────────────────────────────┐
│ rs_worldtorastercoordy(rs_example(),Float64(10),Float64(20)) │
│                             int64                            │
╞══════════════════════════════════════════════════════════════╡
│                                                          -28 │
└──────────────────────────────────────────────────────────────┘