Skip to content
Snippets Groups Projects
Commit 0676c28a authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Adding no data flags and value in metadata keys

parent 229fd4f6
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,9 @@ namespace MetaDataKey
extern char const* TileHintX;
extern char const* TileHintY;
extern char const * NoDataValueAvailable;
extern char const * NoDataValue;
enum KeyType
{
......@@ -77,6 +80,7 @@ namespace MetaDataKey
TVECTOR,
TOSSIMKEYWORDLIST,
TVECTORDATAKEYWORDLIST,
TBOOLVECTOR
};
/*
typedef struct
......@@ -102,6 +106,7 @@ namespace MetaDataKey
KeyType GetKeyType(const std::string& name);
typedef std::vector<double> VectorType;
typedef std::vector<bool> BoolVectorType;
typedef itk::VariableLengthVector<double> VariableLengthVectorType;
}
......
......@@ -59,6 +59,9 @@ char const* CacheSizeInBytes = "CacheSizeInBytes";
char const* TileHintX = "TileHintX";
char const* TileHintY = "TileHintY";
char const * NoDataValueAvailable = "NoDataValueAvailable";
char const * NoDataValue = "NoDataValue";
}
const MetaDataKey::KeyTypeDef Types[] =
......@@ -86,7 +89,9 @@ const MetaDataKey::KeyTypeDef Types[] =
MetaDataKey::KeyTypeDef(MetaDataKey::SubDatasetIndex, MetaDataKey::TENTIER),
MetaDataKey::KeyTypeDef(MetaDataKey::CacheSizeInBytes, MetaDataKey::TENTIER),
MetaDataKey::KeyTypeDef(MetaDataKey::TileHintX, MetaDataKey::TENTIER),
MetaDataKey::KeyTypeDef(MetaDataKey::TileHintY, MetaDataKey::TENTIER)
MetaDataKey::KeyTypeDef(MetaDataKey::TileHintY, MetaDataKey::TENTIER),
MetaDataKey::KeyTypeDef(MetaDataKey::NoDataValueAvailable, MetaDataKey::TVECTOR),
MetaDataKey::KeyTypeDef(MetaDataKey::NoDataValue, MetaDataKey::TVECTOR)
};
MetaDataKey::KeyType MetaDataKey::GetKeyType(const std::string& name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment