PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ rt_util_gdal_register_all()

int rt_util_gdal_register_all ( int  force_register_all)

Definition at line 338 of file rt_util.c.

338  {
339  static int registered = 0;
340 
341  if (registered && !force_register_all) {
342  RASTER_DEBUG(3, "Already called once... not calling GDALAllRegister");
343  return 0;
344  }
345 
346  RASTER_DEBUG(3, "Calling GDALAllRegister");
347  GDALAllRegister();
348  registered = 1;
349 
350  return 1;
351 }
#define RASTER_DEBUG(level, msg)
Definition: librtcore.h:295

References RASTER_DEBUG.

Referenced by RASTER_addBandOutDB(), RASTER_fromGDALRaster(), rt_band_load_offline_data(), rt_band_new_offline_from_path(), rt_raster_gdal_drivers(), rt_raster_gdal_polygonize(), rt_raster_to_gdal(), rtpg_assignHookGDALEnabledDrivers(), and test_util_gdal_open().

Here is the caller graph for this function: