Elaboradar  0.1

◆ gdal_init_once()

void radarelab::gdal_init_once ( )

Initialize the GDAL library when called for the first time; does nothing all other times.

Definizione alla linea 12 del file image.cpp.

13 {
14 #ifdef HAVE_GDAL
15  static bool initialized = false;
16  if (initialized) return;
17  GDALAllRegister();
18  initialized = true;
19 #else
20  throw std::runtime_error("GDAL support was not enabled at compile time");
21 #endif
22 }

Referenzia gdal_init_once().

Referenziato da elaboradar::Assets::Assets(), gdal_init_once(), e radarelab::volume::classifier::print_ppi_class().