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

Make GDAL dependency optional #27

Open
kautlenbachs opened this issue Nov 15, 2023 · 0 comments
Open

Make GDAL dependency optional #27

kautlenbachs opened this issue Nov 15, 2023 · 0 comments

Comments

@kautlenbachs
Copy link
Member

It is needed only for deeper analysis where intensity file could be saved as a geotiff for example.
For environments where only initial goal is intended - produce only envisat formats - this is not needed.

This could be implemented as (to separate/segregate debug/analysis):

  • In the CMakeLists.txt file check if GDAL is present
    • If it is set a define e.g. GDAL_ENABLED
  • Based on the defined symbol link gdal and inside the main flow use it to enable secret 'intensity' option to write TIFF otherwise log a warning
  • Also GDAL specific error checks move into single file e.g. img_output.cc

for ootpa runtime container installation, remove GDAL e.g. update setup_runtime.sh script. Add GDAL to development setups then.

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

No branches or pull requests

1 participant