We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34b7600 commit 05474e7Copy full SHA for 05474e7
isis/src/base/objs/Cube/Cube.cpp
@@ -2408,6 +2408,17 @@ namespace Isis {
2408
* @return bool True if the BLOB was found
2409
*/
2410
bool Cube::hasBlob(const QString &name, const QString &type) {
2411
+ if (gdalDataset()) {
2412
+ string key = type.toStdString() + "_" + name.toStdString();
2413
+ const char *jsonblobStr = gdalDataset()->GetMetadataItem(key.c_str(), "USGS");
2414
+
2415
+ if (jsonblobStr) {
2416
+ return true;
2417
+ }
2418
2419
+ return false;
2420
2421
2422
for(int o = 0; o < label()->objects(); o++) {
2423
PvlObject &obj = label()->object(o);
2424
if (obj.isNamed(type)) {
0 commit comments