PostGIS  2.5.0beta1dev-r@@SVN_REVISION@@

◆ rt_util_gdal_register_all()

int rt_util_gdal_register_all ( int  force_register_all)

Definition at line 336 of file rt_util.c.

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

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