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
  • !202

Metadata reading from compound datasets

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Guillaume Pasero requested to merge 1589-support-s1-safe into develop Aug 17, 2018
  • Overview 4
  • Commits 5
  • Pipelines 0
  • Changes 7

Summary

Improve the detection of metadata for sub-datasets ( SENTINEL1 SAFE, ...)

Rationale

It was implemented to solve #1589 (closed).

Implementation Details

Classes and files

In a nutshell, we can use the list of files attached to a dataset (see GDALDataset::GetFileList() ) as a final step when looking for OSSIM sensor models.

This list is stored in otb::ImageIOBase, empty by default. Only GDALImageIO can fill it for now. The ImageFileReader will try this list when no keywordlist has been found so far.

Tests

A tests has been added in OTBImageIO to verify the loading of a keywordlist from a VRT file.

Documentation

The SoftwareGuide has been updated (sensor model section).

Additional notes

The following use cases are now working:

Input path Keywordlist detected ?
S1A_IW_SLC_[...].SAFE Yes: IW1 image
S1A_IW_SLC_[...].SAFE/manifest.xml Yes: IW1 image
SENTINEL1_DS:S1A_IW_SLC_[...].SAFE:IW2_VV Yes: IW2 image
S1A_IW_SLC_[...].SAFE?sdataidx=2 Yes: IW3 image
iw1_vv_vh.vrt (stack of VV and VH) Yes: IW1 VV image

As shown, it also works with VRT files, it can load the metadata from the first raster source. This enables the orthorectification of sensor images in a VRT stack.

At the moment, any geom file associate with an attached file is ignored, but this could be added if there is a valid use case.

Copyright

The copyright owner is COPYRIGHT OWNER (OR OWNER'S AGENT) 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
Edited Aug 22, 2018 by Guillaume Pasero
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 1589-support-s1-safe