Alex,

I'd suggest to use the COG support instead (and make sure the tiffs are
proper COGs)

Here are good answers from Ian and Andrea:
https://gis.stackexchange.com/questions/442695/s3-support-for-geotiff-vs-cog-cloud-optimized-geotiff-support-geoserver-co
*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Gabriel Roldán*
Geospatial Developer



On Tue, Apr 30, 2024 at 3:31 AM Alexandre Gacon <alexandre.ga...@gmail.com>
wrote:

> It is the thing that I don't understand:
>
>    - In GeoTools, the SDK version in the pom of s3-geotiff points to the
>    right version (1.12.261) since the version 30 of geotools
>    - In GeoServer, we normally are at version 31
>    - But the dependencies are not OK : is it a problem in geotools
>    delivery process or in geoserver build process?
>
>
> Alexandre
>
> Le mar. 30 avr. 2024 à 07:15, Jody Garnett <jody.garn...@gmail.com> a
> écrit :
>
>> Can you change the geotools dependency then :)
>>
>> It would be nice to define this only one place.
>>
>> --
>> Jody Garnett
>>
>>
>> On Mon, Apr 29, 2024 at 9:14 PM Alexandre Gacon <
>> alexandre.ga...@gmail.com> wrote:
>>
>>> Hello Jody,
>>>
>>> The module does not precise the AWS version to retrieve (only the
>>> GeoTools version).
>>>
>>> I see that the task manager community plugin references a version
>>> (1.11.36): could it hide/override the version required by the GeoTools
>>> dependency?
>>>
>>> Should I add the dependency in the pom file of the geotiff S3 module?
>>>
>>> Alexandre
>>>
>>> Le lun. 29 avr. 2024 à 22:37, Jody Garnett <jody.garn...@gmail.com> a
>>> écrit :
>>>
>>>> Hello Alexandre,
>>>>
>>>> You should be able to adjust the version used by changing the pom.xml
>>>> information in GeoServer, or by removing the dependency completely (so it
>>>> always gets the version defined and tested by GeoTools).
>>>>
>>>> Are you in position to prepare and test a pull request?
>>>> --
>>>> Jody Garnett
>>>>
>>>>
>>>> On Apr 29, 2024 at 12:53:11 PM, Alexandre Gacon <
>>>> alexandre.ga...@gmail.com> wrote:
>>>>
>>>>> Hello there,
>>>>>
>>>>> I am trying to use the S3 geotiff community module and it does not
>>>>> work. When trying to validate the store definition, I have the following
>>>>> error:
>>>>> Caused by: java.lang.NoClassDefFoundError:
>>>>> com/amazonaws/client/builder/AwsClientBuilder$EndpointConfiguration at
>>>>> org.geotools.s3.S3Connector.getS3Client(S3Connector.java:120)
>>>>>
>>>>> The class is available in the AWS SDK from the 1.12 version.
>>>>>
>>>>> In the geotools project, the version in the pom.xml is the 1.12.261.
>>>>>
>>>>> On the geoserver build server, when I download the zip of the
>>>>> extension, the version of the SDK is 1.11.36 whereas the version of
>>>>> geotools is the 31, which expects the 1.12 version.
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Alexandre Gacon
>>>>> _______________________________________________
>>>>> Geoserver-users mailing list
>>>>>
>>>>> Please make sure you read the following two resources before posting
>>>>> to this list:
>>>>> - Earning your support instead of buying it, but Ian Turton:
>>>>> http://www.ianturton.com/talks/foss4g.html#/
>>>>> - The GeoServer user list posting guidelines:
>>>>> http://geoserver.org/comm/userlist-guidelines.html
>>>>>
>>>>> If you want to request a feature or an improvement, also see this:
>>>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>>>
>>>>>
>>>>> Geoserver-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>>
>>>>
>>>
>>> --
>>> Alexandre Gacon
>>>
>>
>
> --
> Alexandre Gacon
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to