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

Follow up on COG S3 Like support #223

Open
dromagnoli opened this issue Oct 1, 2020 · 6 comments
Open

Follow up on COG S3 Like support #223

dromagnoli opened this issue Oct 1, 2020 · 6 comments

Comments

@dromagnoli
Copy link
Member

Improve S3 support to take into account S3 like storages (Minio, Cohesity).

@dnavre
Copy link

dnavre commented Mar 29, 2023

As I understand there has been no progress on the implementation of pathStyleAccess for s3? I need that feature in Geoserver but after struggling to make it work for several hours I ended up here :) Is there a roadmap of when this will be available? Or maybe some directions of how I should proceed if I'm going to implement this myself?

@ColorMaestro
Copy link

Is there any other syntax in which I could write the URL to make it work?

@dnavre
Copy link

dnavre commented Apr 21, 2023

Is there any other syntax in which I could write the URL to make it work?

No, a change to the code-base has to be done. Currently there's no support for path style access, hence Minio, Ceph and others are also not supported.

@drndos
Copy link

drndos commented May 14, 2023

Looks like it is possible like this:

  • specify env variables:
      IIO_S3_AWS_USER: minio
      IIO_S3_AWS_PASSWORD: password
      IIO_S3_AWS_ENDPOINT: "http://192.168.1.120:9000"
      IIO_S3_AWS_REGION: "us-east-1"
  • add geotiff repository with url: cog://s3://bucket-name/cog_georeferenced.tif

So far I have some issues with Caused by: org.geotools.data.DataSourceException: Raster to Model Transformation is not available for: null but that might be issue with my geotiff file.

@ColorMaestro
Copy link

ColorMaestro commented May 15, 2023

@drndos
Thank you for the hint, creation of coverage store work now.

For your files, make sure they are in compatible format, see https://www.cogeo.org/developers-guide.html

@vuvkar
Copy link

vuvkar commented Jun 8, 2023

@drndos thank you for your update.
I have my env configured with the params as you mentioned above, but it's still trying to reach with virtual paths. I am using ceph.
Is there any additional configs that should have been done? :///

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

5 participants