161 | | 2) ST_Clip(raster, geometry) -> raster |
162 | | |
163 | | 3) ST_Clip(raster, geometry, 'EXACT') -> raster |
164 | | |
165 | | |
166 | | |
167 | | Variant 1 takes the upper left corner, the width and the height of the desired zone. Variant 2 determine the extent of this zone from the extent of a geometry. Variant 3 determine the extent of this zone from the extent of a geometry and set all pixel outside the geometry to no data values. |
| 161 | 2) ST_Clip(raster, band, ulx float8, uly float8, width int, height int) -> raster |
| 162 | |
| 163 | 3) ST_Clip(raster, geometry) -> raster |
| 164 | |
| 165 | 4) ST_Clip(raster, band, geometry) -> raster |
| 166 | |
| 167 | 5) ST_Clip(raster, geometry, 'EXACT') -> raster |
| 168 | |
| 169 | 6) ST_Clip(raster, band, geometry, 'EXACT') -> raster |
| 170 | |
| 171 | |
| 172 | |
| 173 | Variant 1 takes the upper left corner, the width and the height of the desired zone. Variant 3 determine the extent of this zone from the extent of a geometry. Variant 5 determine the extent of this zone from the extent of a geometry and set all pixel outside the geometry to no data values. |
| 174 | |
| 175 | Variants 2, 4 and 6 return only the selected band with the clipped raster. |