[gdal-dev] Issue with the STACIT usage examples

Even Rouault even.rouault at spatialys.com
Thu Nov 21 07:56:00 PST 2024


Jukka,
>
>
> Is there something special in the STACIT driver that makes it trickier 
> to use than WMS driver?
>
I don't think so. The STACIT driver uses the same type of string 
tokenizer than other drivers that use subdataset syntax. It's weird you 
need to escape &.  Would the shell be confused by the fact that there's 
an escaped double-quote character within the quoted string... ?

At least, just pasting the examples from the documentation page in a 
Bash shell works fine.

As an alternative, you can use:

gdalinfo -if STACIT 
"https://planetarycomputer.microsoft.com/api/stac/v1/search?collections=naip&bbox=-100,40,-99,41&datetime=2019-01-01T00:00:00Z%2F.." 
-oo ASSET=image

Even

-- 
http://www.spatialys.com
My software is free, but my time generally not.
Butcher of all kinds of standards, open or closed formats. At the end, this is just about bytes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20241121/7087e08c/attachment.htm>


More information about the gdal-dev mailing list