Yervand created an issue |
Issue Type: |
Improvement |
---|---|
Assignee: |
Unassigned |
Created: |
21/Apr/23 8:02 PM |
Priority: |
Medium |
Reporter: |
Currently Geoserver does not support working with COGs stored on S3 like storage solutions such as Minio or Ceph. The reason being that S3 path style access is impossible to enable. The underlying issue is that the library that that handles COGs, https://github.com/geosolutions-it/imageio-ext , does not have this functionality. In GitHub issues there is some talk about implementing this but it doesn’t not look like this has any priority https://github.com/geosolutions-it/imageio-ext/issues/223. The fix in Imageio-ext is really easy. In this file: https://github.com/geosolutions-it/imageio-ext/blob/6728446fc05e715359a654a5bab9e5d591b22a5f/plugin/cog/cog-rangereader-s3/src/main/java/it/geosolutions/imageioimpl/plugins/cog/S3ClientFactory.java#L24 one method call should be added to the ClientBuilder: forcePathStyle(true). This can be enabled and disabled via an environment variable. If someone from Geoserver or Imageio-ext can confirm that enabling this functionality via an env var is okay, and also probably specify the name of the variable ot be used, I can contribute the PR. |
Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS |
|
This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100223-sha1:bddbaa2) |