[gdal-dev] STACIT and limit

Michael Sumner mdsumner at gmail.com
Wed Apr 3 07:35:54 PDT 2024


Oh, my bad. It's documented to split into SDS for multiple CRS.

Ouch that's not how I thought it was working, but it makes sense.

Thanks, Mike



On Thu, Apr 4, 2024 at 1:26 AM Michael Sumner <mdsumner at gmail.com> wrote:

> this works for me, there are ten items in the filelist:
>
> gdalinfo "STACIT:\"
> https://earth-search.aws.element84.com/v1/search?collections=sentinel-2-c1-l2a&bbox=0,0,10,10&datetime=2023-01-01T00:00:00Z/2023-12-31T23:59:59Z\":asset=visual"
> -oo MAX_ITEMS=10
>
> and with 20 it's also fine, filelist of 20.
>
> but, with MAX_ITEMS=40 there's the warning
>
> Warning 1: Maximum number of items (1000) allowed to be retrieved has been
> hit
>
> and the result is SDS list split by CRS:
>
> gdalinfo "STACIT:\"
> https://earth-search.aws.element84.com/v1/search?collections=sentinel-2-c1-l2a&bbox=0,0,10,10&datetime=2023-01-01T00:00:00Z/2023-12-31T23:59:59Z\":asset=visual"
> -oo MAX_ITEMS=40
> Driver: VRT/Virtual Raster
> Files: none associated
> Size is 0, 0
> Subdatasets:
>   SUBDATASET_1_NAME=STACIT:"
> https://earth-search.aws.element84.com/v1/search?collections=sentinel-2-c1-l2a&bbox=0,0,10,10&datetime=2023-01-01T00:00:00Z/2023-12-31T23:59:59Z
> ":asset=visual,crs=EPSG_32631
>   SUBDATASET_1_DESC=Asset visual of
> https://earth-search.aws.element84.com/v1/search?collections=sentinel-2-c1-l2a&bbox=0,0,10,10&datetime=2023-01-01T00:00:00Z/2023-12-31T23:59:59Z
> in CRS EPSG:32631
>   SUBDATASET_2_NAME=STACIT:"
> https://earth-search.aws.element84.com/v1/search?collections=sentinel-2-c1-l2a&bbox=0,0,10,10&datetime=2023-01-01T00:00:00Z/2023-12-31T23:59:59Z
> ":asset=visual,crs=EPSG_32632
>   SUBDATASET_2_DESC=Asset visual of
> https://earth-search.aws.element84.com/v1/search?collections=sentinel-2-c1-l2a&bbox=0,0,10,10&datetime=2023-01-01T00:00:00Z/2023-12-31T23:59:59Z
> in CRS EPSG:32632
>
>
> Another case is this where there should be 4 TCI.tif items, but I only get
> 2 subdatasets (one for each CRS)
>
> gdalinfo "STACIT:\"
> https://earth-search.aws.element84.com/v1/search?collections=sentinel-2-c1-l2a&bbox=179,-17,180,-16&datetime=2023-01-01T00:00:00Z/2023-01-03T23:59:59Z\
> ":asset=visual"
>
> It feels like something awry with the limit for the server, or the driver,
> or maybe interacting.
>
> But, I think it's reasonable expect to not get SDS listed when an asset is
> specified?
>
> Cheers, Mike
>
> --
> Michael Sumner
> Software and Database Engineer
> Australian Antarctic Division
> Hobart, Australia
> e-mail: mdsumner at gmail.com
>


-- 
Michael Sumner
Software and Database Engineer
Australian Antarctic Division
Hobart, Australia
e-mail: mdsumner at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240404/0ed99638/attachment.htm>


More information about the gdal-dev mailing list