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.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to