RS_PixelAsPolygon¶
Returns the bounding polygon of the specified pixel.
Usage¶
geometry RS_PixelAsPolygon(rast: raster, colX: integer, rowY: integer)
Arguments¶
- rast (raster): Input raster
- colX (integer)
- rowY (integer)
Examples¶
SELECT RS_PixelAsPolygon(RS_Example(), 1, 1);
┌──────────────────────────────────────────────────────────────────────────────┐
│ rs_pixelaspolygon(rs_example(),Int64(1),Int64(1)) │
│ struct │
╞══════════════════════════════════════════════════════════════════════════════╡
│ {item: POLYGON((43.08 79.07,45.08 80.07,46.08 82.07,44.08 81.07,43.08 79.07… │
└──────────────────────────────────────────────────────────────────────────────┘