PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
Clone an existing raster.
raster | : raster to clone |
deep | : flag indicating if bands should be cloned |
Definition at line 1544 of file rt_raster.c.
References window::gt, pixval::nband, rt_raster_from_band(), rt_raster_get_geotransform_matrix(), rt_raster_get_height(), rt_raster_get_num_bands(), rt_raster_get_srid(), rt_raster_get_width(), rt_raster_new(), rt_raster_set_geotransform_matrix(), rt_raster_set_srid(), rtalloc(), rtdealloc(), and rterror().
Referenced by _rti_colormap_arg_init(), RASTER_colorMap(), RASTER_union_transfn(), rtpg_union_noarg(), and test_raster_clone().