Skip to content
Snippets Groups Projects

Implement a GetSize() function for the ImageMetadata class

Merged Julien Osman requested to merge 2237-add_GetSize_to_ImageMetadata into develop

Summary

Add a GetSize() function to ImageMetadataBase and ImageMetadata.

Rationale

Fix #2237 (closed)

Implementation Details

Classes and files

Update the class ImageMetadataBase that return the count of key:value pairs contained in the metadata maps (NumericKeys, StringKeys, etc).

Update the class ImageMetadata that return the count of key:value pairs contained in all bands and base object.

Tests

Add a test for this functions.

Copyright

The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.


Check before merging:

  • All discussions are resolved
  • At least 2 :thumbsup: votes from core developers, no :thumbsdown: vote.
  • The feature branch is (reasonably) up-to-date with the base branch
  • Dashboard is green
  • Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
  • Optionally, run git diff develop... -U0 --no-color | clang-format-diff.py -p1 -i on latest changes and commit

Merge request reports

Merge request pipeline #9241 passed

Merge request pipeline passed for c3b8d6c4

Merged by Cédric TraizetCédric Traizet 3 years ago (Dec 8, 2021 5:45pm UTC)

Loading

Pipeline #9279 failed

Pipeline failed for 7c6de401 on develop

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading