PostGIS
3.4.0dev-r@@SVN_REVISION@@
|
rt_errorstate rt_band_get_pixel_resample | ( | rt_band | band, |
double | xr, | ||
double | yr, | ||
rt_resample_type | resample, | ||
double * | r_value, | ||
int * | r_nodata | ||
) |
Retrieve a point value from the raster using a world coordinate and selected resampling method.
band | : the band to read for values |
xr | : x unrounded raster coordinate |
yr | : y unrounded raster coordinate |
resample | : algorithm for reading raster (nearest or bilinear) |
r_value | : return pointer for point value |
r_nodata | : return pointer for if this is a nodata |
Retrieve a point value from the raster using a world coordinate and selected resampling method.
band | : the band to read for values |
xr | : x unrounded raster coordinate |
yr | : y unrounded raster coordinate |
r_value | : return pointer for point value |
r_nodata | : return pointer for if this is a nodata |
Definition at line 1221 of file rt_band.c.
References ovdump::band, ES_ERROR, rt_band_get_pixel(), rt_band_get_pixel_bilinear(), RT_BILINEAR, RT_NEAREST, and rtwarn().
Referenced by RASTER_getPixelValueResample(), and rt_raster_copy_to_geometry().