Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • otb otb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 207
    • Issues 207
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Main Repositories
  • otbotb
  • Merge requests
  • !870

Provide access to the metadata from the python API

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Julien Osman requested to merge 2226-wrap-image-metadata-in-swig into develop Nov 24, 2021
  • Overview 16
  • Commits 22
  • Pipelines 12
  • Changes 19

Summary

Provides a wrapping of the ImageMetadata object through the Python API, using SWIG.

Rationale

Fix #2226 (closed)

Implementation Details

Classes and files
  • Creation of an ImageMetadata.i file to describe the new API.
Applications
  • Add a getter/setter to access metadata from the application object
Documentation
  • Update the Cookbook with this new API.

Additional notes

This is a work in progress. Before merging, we still need to:

  • Wrap the geom metadata
  • Wrap the new time metadata (see !868 (merged))
  • Modify the Import/ExportImage of the current API so it provides the ImageMetadata
  • Update the documentation
  • Set up some tests

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 👍 votes from core developers, no 👎 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
Edited Dec 21, 2021 by Julien Osman
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 2226-wrap-image-metadata-in-swig