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

COG S3: image mosaic with objects in folders on S3 not working #300

Open
mhn17 opened this issue Mar 13, 2024 · 0 comments
Open

COG S3: image mosaic with objects in folders on S3 not working #300

mhn17 opened this issue Mar 13, 2024 · 0 comments

Comments

@mhn17
Copy link
Contributor

mhn17 commented Mar 13, 2024

Hi,

When creating an image mosaic where the COGs are stored in a folder on S3, the layer is broken. The layer preview shows a black image and the logs contain the error message:

SEVERE [http-nio-8080-exec-6] it.geosolutions.imageioimpl.plugins.cog.S3RangeReader.readHeader Error reading header for ...

The problem is the creation of the GeoTIFF URL which is returned as "https://##BUCKET_NAME##/##OBJECT_ID##", omitting the path section.

Example:
Object S3 URI: s3://bucket-name/path/to/object/file1.tiff
Created URL: https://bucket-name/file.tiff

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

1 participant