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

Update raster exporter to also support COG (cloud optimized GeoTIFF) #106

Closed
neteler opened this issue Sep 16, 2020 · 2 comments · Fixed by #108
Closed

Update raster exporter to also support COG (cloud optimized GeoTIFF) #106

neteler opened this issue Sep 16, 2020 · 2 comments · Fixed by #108
Labels
enhancement New feature or request

Comments

@neteler
Copy link
Member

neteler commented Sep 16, 2020

In the raster exporter currently there are hardcoded GeoTIFF settings:

https://github.com/mundialis/actinia_core/blob/8353b231c1a475955f68e4484e329c7d74b292e0/src/actinia_core/resources/ephemeral_processing_with_export.py#L251

Since GDAL 3.1+ there is a new COG driver which works nicely with r.out.gdal.

Wish: add COG driver support and use it if present. This would require a test:

r.out.gdal -l
  COG (rw): Cloud optimized GeoTIFF generator
  • if COG driver present, use it for r.out.gdal export:
    • r.out.gdal -m input=mymap output=mymap.tif format=COG
  • if COG driver not present, use the current GeoTIFF based r.out.gdal export.
@neteler neteler added the enhancement New feature or request label Sep 16, 2020
@mmacata
Copy link
Member

mmacata commented Sep 29, 2020

Isn't this implemented by #108 ?

@neteler neteler linked a pull request Sep 29, 2020 that will close this issue
@neteler
Copy link
Member Author

neteler commented Sep 29, 2020

Yes - the PR wasn't linked.

@neteler neteler closed this as completed Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants