Skip to content

GitLab

  • Menu
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 183
    • Issues 183
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • 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
  • !759

Merged
Created Oct 06, 2020 by Julien Osman@julienosmanDeveloper

Reading the metadata from the geom files without OSSIM

  • Overview 12
  • Commits 17
  • Pipelines 22
  • Changes 25

Summary

Implement the classes to read GEOM files

Rationale

OSSIM is in charge of the interface with the geom files. As we remove OSSIM, we need a new interface. The new framework for the metadata will not need to write geom files, because it will use GDAL's ability to deal with metadata. So we only need to implement a geom file reader. See #2106 (closed).

Implementation Details

Classes and files

New class GeomMetadataSupplier

Modification of ImageFileReader, so it uses GeomMetadataSupplier when a GEOM file is present. It first tries to read a geom provided in the extended filename. If not found, it tries to read a GEOM file next to the image file. If not found, it uses GDAL to read the metadata stored in the image file. For now, this new metadata reading mechanism works in parallel to the former mechanism based on OSSIM and KeyWordLists. But the old mechanism will be removed with #2089 (closed).

Tests

A classical GEOM file is read and is written to a file. This file is then compared to an other file containing the expected result.

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

Closes #2106 (closed)

Edited Oct 13, 2020 by Julien Osman
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 2024_GeomMetadataSupplier