PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ _rti_warp_arg_init()

static _rti_warp_arg _rti_warp_arg_init ( )
static

Definition at line 70 of file rt_warp.c.

70 {
71 _rti_warp_arg arg = NULL;
72
73 arg = rtalloc(sizeof(struct _rti_warp_arg_t));
74 if (arg == NULL) {
75 rterror("_rti_warp_arg_init: Could not allocate memory for _rti_warp_arg");
76 return NULL;
77 }
78
79 arg->src.drv = NULL;
80 arg->src.destroy_drv = 0;
81 arg->src.ds = NULL;
82 arg->src.srs = NULL;
83
84 arg->dst.drv = NULL;
85 arg->dst.destroy_drv = 0;
86 arg->dst.ds = NULL;
87 arg->dst.srs = NULL;
88
89 arg->wopts = NULL;
90
91 arg->transform.option.item = NULL;
92 arg->transform.option.len = 0;
93
94 arg->transform.arg.transform = NULL;
95 arg->transform.arg.imgproj = NULL;
96 arg->transform.arg.approx = NULL;
97
98 arg->transform.func = NULL;
99
100 return arg;
101}
void rterror(const char *fmt,...) __attribute__((format(printf
Wrappers used for reporting errors and info.
void * rtalloc(size_t size)
Wrappers used for managing memory.
Definition rt_context.c:191
struct _rti_warp_arg_t::@20 src
GDALDriverH drv
Definition rt_warp.c:44
struct _rti_warp_arg_t::@20 dst
GDALDatasetH ds
Definition rt_warp.c:45
void * transform
Definition rt_warp.c:59
GDALWarpOptions * wopts
Definition rt_warp.c:50

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().

Here is the call graph for this function:
Here is the caller graph for this function: