PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ rt_util_gdal_register_all()

int rt_util_gdal_register_all ( int  force_register_all)

Definition at line 342 of file rt_util.c.

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

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: