PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
Create a new band duplicated from source band.
Memory is allocated for band path (if band is offline) or band data (if band is online). The caller is responsible for freeing the memory when the returned rt_band is destroyed.
the band to duplicate |
Memory is allocated for band path (if band is offline) or band data (if band is online). The caller is responsible for freeing the memory when the returned rt_band is destroyed.
the band to copy |
Definition at line 186 of file rt_band.c.
References ovdump::data, rt_band_t::data, rt_band_t::hasnodata, rt_band_t::height, rt_band_t::mem, rt_band_t::nodataval, rt_band_t::offline, rt_band_t::pixtype, rt_band_new_inline(), rt_band_new_offline(), rt_band_set_ownsdata_flag(), rt_pixtype_size(), rtalloc(), rterror(), and rt_band_t::width.
Referenced by rt_raster_copy_band().