[gdal-dev] STACIT driver seems to return only a subset of all matches
Even Rouault
even.rouault at spatialys.com
Mon Jan 15 04:18:29 PST 2024
Hi,
the STACIT driver has logic to remove the items that are overlapped by
others, to keep only those participating effectively to the mosaic.
Even
Le 15/01/2024 à 11:47, Darius A. Görgen via gdal-dev a écrit :
> Hi everyone,
>
> I am trying to use the STACIT driver under GDAL 3.8.2 to access some
> Sentinel-2 data on MPC.
> However, it seems that using the driver returns only a part of all
> matching items to my query.
>
> For example, if I issue:
>
> ```
> gdalinfo -json
> "STACIT:\"https://planetarycomputer.microsoft.com/api/stac/v1/search?collections=sentinel-2-l2a&bbox=-71,18,-70.5,18.5&datetime=2019-01-01T00:00:00%2F2019-01-31T00:00:00\"":asset=B03
> >> gdal_output.json
>
> jq '.files | length' gdal_output.json
>
> ```
>
> I get an output value of 4.
>
> Where as:
>
> ```
> wget -q -O stac_output.json
> "https://planetarycomputer.microsoft.com/api/stac/v1/search?collections=sentinel-2-l2a&bbox=-71,18,-70.5,18.5&datetime=2019-01-01T00:00:00%2F2019-01-31T00:00:00"
>
> jq '.features | length' stac_output.json
>
> ```
>
> delivers and output of 36.
>
> So it seems that some of the matching items are not caught by the
> STACIT driver?
> Any advise?
>
> Best,
>
> Darius.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
More information about the gdal-dev
mailing list