[gdal-dev] Issue with the STACIT usage examples
Rahkonen Jukka
jukka.rahkonen at maanmittauslaitos.fi
Thu Nov 21 23:56:52 PST 2024
Hi Scott,
Your expectation was wrong, single outer quotes do not work on Windows.
-Jukka-
-----Alkuperäinen viesti-----
Lähettäjä: gdal-dev <gdal-dev-bounces at lists.osgeo.org> Puolesta Scott via gdal-dev
Lähetetty: perjantai 22. marraskuuta 2024 0.08
Vastaanottaja: gdal-dev at lists.osgeo.org
Aihe: Re: [gdal-dev] Issue with the STACIT usage examples
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://eur06.safelinks.protection.outlook.com/?url=https%3A%25
> 2F%2Fplanetarycomputer.microsoft.com%2Fapi%2Fstac%2Fv1%2F&data=05%7C02
> %7Cjukka.rahkonen%40maanmittauslaitos.fi%7C2afa2313c77d450d4f9708dd0a7
> 8f4bb%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638678236838999055%
> 7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIl
> AiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=YQN%
> 2FbrvzaW3m%2FIl8y%2FQQS0sKJonb%2FhwUN3K0OaU6vpE%3D&reserved=0
> 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://pl/
>> anetarycomputer.microsoft.com%2Fapi%2Fstac%2F&data=05%7C02%7Cjukka.ra
>> hkonen%40maanmittauslaitos.fi%7C2afa2313c77d450d4f9708dd0a78f4bb%7Cc4
>> f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C638678236839020157%7CUnknown
>> %7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW
>> 4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=%2FbzYDacyd
>> punS7nItIAeIeHC8%2F90lvaI9rHSCVvURaQ%3D&reserved=0
>> 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 at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list