151 | | 1. ST_ApproxMinMax(rast raster, nband int, ignore_nodata boolean, sample float8) -> record |
152 | | |
153 | | sample: a value between 0 and 100 indicating the percentage of the raster band's pixels to consider when determining the min/max pair. |
154 | | |
155 | | {{{ |
156 | | ST_ApproxMinMax(rast, 3, FALSE, 10) |
157 | | |
158 | | ST_ApproxMinMax(rast, 1, TRUE, 50) |
159 | | }}} |
160 | | |
161 | | 2. ST_ApproxMinMax(rast raster, ignore_nodata boolean, sample float8) -> record |
| 151 | 1. ST_ApproxMinMax(rast raster, nband int, ignore_nodata boolean, sample double precision) -> record |
| 152 | |
| 153 | sample: a value between 0 and 1 indicating the percentage of the raster band's pixels to consider when determining the min/max pair. |
| 154 | |
| 155 | {{{ |
| 156 | ST_ApproxMinMax(rast, 3, FALSE, 0.1) |
| 157 | |
| 158 | ST_ApproxMinMax(rast, 1, TRUE, 0.5) |
| 159 | }}} |
| 160 | |
| 161 | 2. ST_ApproxMinMax(rast raster, ignore_nodata boolean, sample double precision) -> record |
166 | | ST_ApproxMinMax(rast, FALSE, 1) |
167 | | |
168 | | ST_ApproxMinMax(rast, TRUE, 2.5) |
169 | | }}} |
170 | | |
171 | | 3. ST_ApproxMinMax(rast raster, sample float8) -> record |
| 166 | ST_ApproxMinMax(rast, FALSE, 0.01) |
| 167 | |
| 168 | ST_ApproxMinMax(rast, TRUE, 0.025) |
| 169 | }}} |
| 170 | |
| 171 | 3. ST_ApproxMinMax(rast raster, sample double precision) -> record |