Feature/globe speedup (#862)

* Updated GDAL version to 2.4.1
 * Add vtune performance commands
 * Add Nvtools performance commands
 * Add warning if GDAL dataset could not be loaded
This commit is contained in:
Alexander Bock
2019-05-17 18:24:14 +02:00
committed by GitHub
parent 514d6e6a78
commit 512e35bea6
67 changed files with 2043 additions and 520 deletions

View File

@@ -610,6 +610,10 @@ void GlobeBrowsingModule::loadWMSCapabilities(std::string name, std::string glob
GA_ReadOnly
);
if (!dataset) {
LWARNING("Could not open dataset: " + downloadUrl);
return Capabilities();
}
char** subDatasets = GDALGetMetadata(dataset, "SUBDATASETS");
const int nSubdatasets = CSLCount(subDatasets);
Capabilities cap = parseSubDatasets(subDatasets, nSubdatasets);