Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data format #7

Open
Phil-Mao opened this issue Oct 1, 2021 · 4 comments
Open

Data format #7

Phil-Mao opened this issue Oct 1, 2021 · 4 comments

Comments

@Phil-Mao
Copy link

Phil-Mao commented Oct 1, 2021

Hi,

I test the samples in the data_samples directory, and I found that every input images with a .geom file , I'm not sure how to get the .geom file for the preparation, Is there any tools to generate this type of file? As I want use cars to run the WorldView3 data, I'm a little in trouble with the provided data format.

Thanks in advance,

Phil,

@dyoussef
Copy link
Member

Hi,

We use OTB to read the images (https://www.orfeo-toolbox.org/). These geom files are a specific format of this tool. Then, the OTB is able to read other products. So that should also work. Could you send us your data so that we can analyze the problem? Or your can try to lauch this command to retrieve geom files:
otbcli_ExtractROI -in YOUR_PRODUCT -out YOUR_NEW_PRODUCT.tif

Thanks in advance,
David

@Phil-Mao Phil-Mao closed this as completed Nov 1, 2021
@BrooksXiaoxi
Copy link

Hi,

We use OTB to read the images (https://www.orfeo-toolbox.org/). These geom files are a specific format of this tool. Then, the OTB is able to read other products. So that should also work. Could you send us your data so that we can analyze the problem? Or your can try to lauch this command to retrieve geom files: otbcli_ExtractROI -in YOUR_PRODUCT -out YOUR_NEW_PRODUCT.tif

Thanks in advance, David

Hi,

I have tried to install OTB 8.0.1 on my windows and it seems to be working well.
Image
As you can see, my output path is D:\Desktop\ When I check this path, I only see the output TIF file, not any. GEOM file, what is the reason? Looking forward to your help!

this is my input:
input_product = "E:\BJ3A1_PMS1_20230316032316_L1_200B95_TR_102_0120221209021001_010\PAN\BJ3A1_PAN1_20230316032316_L1_200B95_TR_102_0120221209021001_010.tif"
output_product = "D:\Desktop\233.tif"

@dyoussef dyoussef reopened this Feb 10, 2025
@BrooksXiaoxi
Copy link

Hi,
We use OTB to read the images (https://www.orfeo-toolbox.org/). These geom files are a specific format of this tool. Then, the OTB is able to read other products. So that should also work. Could you send us your data so that we can analyze the problem? Or your can try to lauch this command to retrieve geom files: otbcli_ExtractROI -in YOUR_PRODUCT -out YOUR_NEW_PRODUCT.tif
Thanks in advance, David

Hi,

I have tried to install OTB 8.0.1 on my windows and it seems to be working well. Image As you can see, my output path is D:\Desktop\ When I check this path, I only see the output TIF file, not any. GEOM file, what is the reason? Looking forward to your help!

this is my input: input_product = "E:\BJ3A1_PMS1_20230316032316_L1_200B95_TR_102_0120221209021001_010\PAN\BJ3A1_PAN1_20230316032316_L1_200B95_TR_102_0120221209021001_010.tif" output_product = "D:\Desktop\233.tif"

Thank you for your attention, I have solved the problem.
Maybe I'm trying to make things too complicated to run successfully without using OTB.
My config file looks like this, and it works:
{ "inputs": { "sensors": { "one": { "image": "img1.tif", }, "two": { "image": "img2.tif", }, "three": { "image": "img3.tif" } }, "pairing": [ ["one", "two"], ["one", "three"], ["two", "three"] ] }, "applications": { "point_cloud_rasterization": { "method": "simple_gaussian", "resolution": 2.0 } }, "output": { "out_dir": "out" }, "orchestrator": { "mode": "multiprocessing", "nb_workers": 100 } }

@dyoussef
Copy link
Member

dyoussef commented Mar 5, 2025

Hi,

By removing dependency on OSSIM, OTB no longer uses .geom files. Normally, RPCs are now contained directly in images: you can check this by doing a “gdalinfo”. Can you check this and tell me if you can see the RPCs in the file?

Regards,
David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants