PostGIS  2.1.10dev-r@@SVN_REVISION@@
static _rti_warp_arg _rti_warp_arg_init ( )
static

Definition at line 9603 of file rt_api.c.

References _rti_warp_arg_t::destroy_drv, _rti_warp_arg_t::drv, _rti_warp_arg_t::ds, _rti_warp_arg_t::dst, rtalloc(), rterror(), _rti_warp_arg_t::src, _rti_warp_arg_t::srs, _rti_warp_arg_t::transform, and _rti_warp_arg_t::wopts.

Referenced by rt_raster_gdal_warp().

9603  {
9604  _rti_warp_arg arg = NULL;
9605 
9606  arg = rtalloc(sizeof(struct _rti_warp_arg_t));
9607  if (arg == NULL) {
9608  rterror("_rti_warp_arg_init: Could not allocate memory for _rti_warp_arg");
9609  return NULL;
9610  }
9611 
9612  arg->src.drv = NULL;
9613  arg->src.destroy_drv = 0;
9614  arg->src.ds = NULL;
9615  arg->src.srs = NULL;
9616 
9617  arg->dst.drv = NULL;
9618  arg->dst.destroy_drv = 0;
9619  arg->dst.ds = NULL;
9620  arg->dst.srs = NULL;
9621 
9622  arg->wopts = NULL;
9623 
9624  arg->transform.option.item = NULL;
9625  arg->transform.option.len = 0;
9626 
9627  arg->transform.arg.transform = NULL;
9628  arg->transform.arg.imgproj = NULL;
9629  arg->transform.arg.approx = NULL;
9630 
9631  arg->transform.func = NULL;
9632 
9633  return arg;
9634 }
GDALWarpOptions * wopts
Definition: rt_api.c:9583
char * srs
Definition: rt_api.c:9579
GDALDatasetH ds
Definition: rt_api.c:9578
struct _rti_warp_arg_t::@6 src
struct _rti_warp_arg_t::@6 dst
void * rtalloc(size_t size)
Raster core memory management functions.
Definition: rt_api.c:867
void rterror(const char *fmt,...)
Raster core error and info handlers.
Definition: rt_api.c:895
GDALDriverH drv
Definition: rt_api.c:9577
void * transform
Definition: rt_api.c:9592

Here is the call graph for this function:

Here is the caller graph for this function: