# Metadata Handling for Pleiades images

**URL:** <https://forum.orfeo-toolbox.org/t/metadata-handling-for-pleiades-images/1760>\
**Category:** OTB Usage\
**Created:** [April 18, 2024, 10:16pm UTC](https://forum.orfeo-toolbox.org/t/metadata-handling-for-pleiades-images/1760 "2024-04-18T22:16:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhbawa](https://forum.orfeo-toolbox.org/letter_avatar_proxy/v4/letter/m/fbc32d/32.png) [@mhbawa](https://forum.orfeo-toolbox.org/u/mhbawa)\
**Post date:** [April 18, 2024, 10:16pm UTC](https://forum.orfeo-toolbox.org/t/metadata-handling-for-pleiades-images/1760/1 "2024-04-18T22:16:04Z")

</div>

Hi,

I am a new user to OTB and was testing the following python workflow with Pleiades data. I am using the OTB version 9.0.0.

[Common Use Cases — Orfeo ToolBox 9.0.0 documentation (orfeo-toolbox.org)](https://www.orfeo-toolbox.org/CookBook/Common_Use_Cases.html)

In my case, the data is in raw format (.jp2 files in different folders) with .XML files containing metadata. In the given workflow I tested "BundleToPerfectSensor’ by providing the PAN and XS bands in .jp2 format. The output was written to a .tif file.

The process ran successfully, however, I am unable to see the file and bands metadata in the output. How could I ensure the proper transfer of the metadata.

Thanks.

Hussain

---

<div class="post-metadata">

**Author:** ![thibaut.romain](https://forum.orfeo-toolbox.org/letter_avatar_proxy/v4/letter/t/ecc23a/32.png) [@thibaut.romain](https://forum.orfeo-toolbox.org/u/thibaut.romain)\
**Post date:** [April 19, 2024, 6:59am UTC](https://forum.orfeo-toolbox.org/t/metadata-handling-for-pleiades-images/1760/2 "2024-04-19T06:59:36Z")

</div>

Hi,

You can see the Metadata with `otbcli_ReadImageInfo -in /Path/image.tif -imagemetadata true` , could you provide the output of this command?

Best regards

---

<div class="post-metadata">

**Author:** ![mhbawa](https://forum.orfeo-toolbox.org/letter_avatar_proxy/v4/letter/m/fbc32d/32.png) [@mhbawa](https://forum.orfeo-toolbox.org/u/mhbawa)\
**Post date:** [April 19, 2024, 2:09pm UTC](https://forum.orfeo-toolbox.org/t/metadata-handling-for-pleiades-images/1760/3 "2024-04-19T14:09:34Z")

</div>

Hi Thibaut,

Many thanks for the response.

I was able to see the metadata information when ran the command which you provided.

I was also able to get the information in python. I realized that I was not setting “imagemetadata” parameter to “true” for the ReadImageInfo as it is described in the:

[ReadImageInfo — Orfeo ToolBox 9.0.0 documentation (orfeo-toolbox.org)](https://www.orfeo-toolbox.org/CookBook/Applications/app_ReadImageInfo.html)

Many thanks for the help.

Hussain
