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

◆ _rti_rasterize_arg_destroy()

static void _rti_rasterize_arg_destroy ( _rti_rasterize_arg  arg)
static

Definition at line 2452 of file rt_raster.c.

2452 {
2453 if (arg->noband) {
2454 if (arg->pixtype != NULL)
2455 rtdealloc(arg->pixtype);
2456 if (arg->init != NULL)
2457 rtdealloc(arg->init);
2458 if (arg->nodata != NULL)
2459 rtdealloc(arg->nodata);
2460 if (arg->hasnodata != NULL)
2461 rtdealloc(arg->hasnodata);
2462 if (arg->value != NULL)
2463 rtdealloc(arg->value);
2464 }
2465
2466 if (arg->bandlist != NULL)
2467 rtdealloc(arg->bandlist);
2468
2469 if (arg->src_sr != NULL)
2470 OSRDestroySpatialReference(arg->src_sr);
2471
2472 rtdealloc(arg);
2473}
void rtdealloc(void *mem)
Definition rt_context.c:206
rt_pixtype * pixtype
Definition rt_raster.c:2417
OGRSpatialReferenceH src_sr
Definition rt_raster.c:2415

References _rti_rasterize_arg_t::bandlist, _rti_rasterize_arg_t::hasnodata, _rti_rasterize_arg_t::init, _rti_rasterize_arg_t::noband, _rti_rasterize_arg_t::nodata, _rti_rasterize_arg_t::pixtype, rtdealloc(), _rti_rasterize_arg_t::src_sr, and _rti_rasterize_arg_t::value.

Referenced by rt_raster_gdal_rasterize().

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