PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
rt_errorstate rt_raster_cell_to_geopoint | ( | rt_raster | raster, |
double | xr, | ||
double | yr, | ||
double * | xw, | ||
double * | yw, | ||
double * | gt | ||
) |
Convert an xr, yr raster point to an xw, yw point on map.
raster | : the raster to get info from |
xr | : the pixel's column |
yr | : the pixel's row |
xw | : output parameter, X ordinate of the geographical point |
yw | : output parameter, Y ordinate of the geographical point |
gt | : input/output parameter, 3x2 geotransform matrix |
Definition at line 755 of file rt_raster.c.
References ES_NONE, FLT_EQ, RASTER_DEBUGF, and rt_raster_get_geotransform_matrix().
Referenced by RASTER_rasterToWorldCoord(), RASTER_tile(), rt_raster_compute_skewed_raster(), rt_raster_from_two_rasters(), rt_raster_gdal_rasterize(), rt_raster_gdal_warp(), rt_raster_get_convex_hull(), rt_raster_get_envelope(), rt_raster_get_envelope_geom(), rt_raster_get_perimeter(), rt_raster_intersects(), rt_raster_intersects_algorithm(), rt_raster_same_alignment(), and test_raster_cell_to_geopoint().