[gdal-dev] STACIT driver seems to return only a subset of all matches
Darius A. Görgen
info at dariusgoergen.com
Mon Jan 15 05:05:14 PST 2024
Thanks, that actually makes sense, if the aim of the driver is to create
a mosaic. It was not totally clear to me how overlapping tiles would be
handled reading the docs. So, I understand it is a "last-items-first"
approach until the whole area-of-interest has effectively been covered?
On 15.01.24 13:18, Even Rouault wrote:
> 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
>
--
Darius A. Görgen (M.Sc. Physical Geography)
Spatial Data Science | Remote Sensing | ML | Open Source
Mobile: (+49)163-1999524
E-Mail: info at dariusgoergen.com
Address: Am Linsenberg 5 | 55131 Mainz | Germany
More information about the gdal-dev
mailing list