Well, I hit send on that a bit too soon. The solution that works for me is wrapping everything in single quotes:

gdalinfo 'STACIT:"someurl":asset=image'

Yes, the -sd is sooo much nicer! I don't have access to a windows box, but I expect it will function the same.

On 11/21/24 14:01, Scott wrote:

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

On 11/21/24 05:15, Rahkonen Jukka via gdal-dev wrote:
gdalinfo "STACIT:\ "https://planetarycomputer.microsoft.com/api/stac/ v1/ search? collections=naip&bbox=-100,40,-99,41&datetime=2019-01-01T00:00:00Z%2F..\ <https://planetarycomputer.microsoft.com/api/stac/v1/search? collections=naip&bbox=-100,40,-99,41&datetime=2019-01-01T00:00:00Z%2F.. \> ":asset=image"
"
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to