Skip to content
Snippets Groups Projects
Commit da215dfb authored by Julien Osman's avatar Julien Osman
Browse files

BUG: Implement GeomMetadataSupplier::GetNbBands

parent 03976ee1
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@ public:
GeomMetadataSupplier(const std::string &);
GeomMetadataSupplier(const GeomMetadataSupplier &) = delete;
GeomMetadataSupplier& operator=(const GeomMetadataSupplier&) = delete;
~GeomMetadataSupplier() = default;
/**
* @brief Get the metadata value corresponding to a given path
......
......@@ -52,7 +52,7 @@ std::string GeomMetadataSupplier::GetResourceFile(std::string) const
int GeomMetadataSupplier::GetNbBands() const
{
return 0;
return this->GetAsVector<std::string>("support_data.band_name_list").size();
}
const boost::any& GeomMetadataSupplier::FetchRPC(ImageMetadata & imd)
......
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