Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-22 Thread Sean Gillies via gdal-dev
v1/search?collections=naip%5E&bbox=-100,40,-99,41%5E&datetime=2019-01-01T00:00:00Z%2F..%5C> > and try to show a vrt:// string for > SUBDATASET_1_NAME=STACIT: > https://planetarycomputer.microsoft.com/api/stac/v1/search?collections=naip&bbox=-100,40,-99,41&datetime=20

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-22 Thread Even Rouault via gdal-dev
kka- *Lähettäjä:* Michael Sumner *Lähetetty:* perjantai 22. marraskuuta 2024 11.10 *Vastaanottaja:* Rahkonen Jukka *Aihe:* Re: [gdal-dev] Issue with the STACIT usage examples On Fri, 22 Nov 2024, 03:52 Rahkonen Jukka via gdal-dev, wrote: Understood, and good reason to start using the new

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-22 Thread Rahkonen Jukka via gdal-dev
e -Jukka- Lähettäjä: Michael Sumner Lähetetty: perjantai 22. marraskuuta 2024 11.10 Vastaanottaja: Rahkonen Jukka Aihe: Re: [gdal-dev] Issue with the STACIT usage examples On Fri, 22 Nov 2024, 03:52 Rahkonen Jukka via gdal-dev, mailto:gdal-dev@lists.osgeo.org>> wrote: Understood, and

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Rahkonen Jukka via gdal-dev
Hi Scott, Your expectation was wrong, single outer quotes do not work on Windows. -Jukka- -Alkuperäinen viesti- Lähettäjä: gdal-dev Puolesta Scott via gdal-dev Lähetetty: perjantai 22. marraskuuta 2024 0.08 Vastaanottaja: gdal-dev@lists.osgeo.org Aihe: Re: [gdal-dev] Issue with the

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Scott via gdal-dev
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 wro

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Rahkonen Jukka via gdal-dev
ogc/stac/v1/search?collections=corine_land_cover_at_geocubes%5C>" -sd 2 -Jukka- Lähettäjä: Even Rouault Lähetetty: torstai 21. marraskuuta 2024 18.36 Vastaanottaja: Rahkonen Jukka ; Daniel Evans Kopio: 'gdal-dev@lists.osgeo.org' (gdal-dev@lists.osgeo.org) Aihe: Re: [gdal-dev]

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Even Rouault via gdal-dev
However, the subdataset names on the list are not accepted as-is without small edits. Does not work: gdalinfo STACIT:"https://paituli.csc.fi/geoserver/ogc/stac/v1/search?collections=corine_land_cover_at_geocubes":asset=1000m That's "expected". Subdataset names are designed to be used verba

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Rahkonen Jukka via gdal-dev
taja: Rahkonen Jukka ; Daniel Evans Kopio: 'gdal-dev@lists.osgeo.org' (gdal-dev@lists.osgeo.org) Aihe: Re: [gdal-dev] Issue with the STACIT usage examples Jukka, Is there something special in the STACIT driver that makes it trickier to use than WMS driver? I don't think

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Even Rouault via gdal-dev
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 t

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Rahkonen Jukka via gdal-dev
024 15.34 Vastaanottaja: Daniel Evans Kopio: 'gdal-dev@lists.osgeo.org' (gdal-dev@lists.osgeo.org) Aihe: Re: [gdal-dev] Issue with the STACIT usage examples Thanks Daniel, Works with backslash escapes for internal " (this is for GDAL I suppose) and carets for & (this i

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Rahkonen Jukka via gdal-dev
onen Jukka Kopio: 'gdal-dev@lists.osgeo.org' (gdal-dev@lists.osgeo.org) Aihe: Re: [gdal-dev] Issue with the STACIT usage examples Hi Jukka, Those are errors from your the Windows command prompt. You will need to escape or enclose some special characters like the ampersands. On Thu, 21

Re: [gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Daniel Evans via gdal-dev
Hi Jukka, Those are errors from your the Windows command prompt. You will need to escape or enclose some special characters like the ampersands. On Thu, 21 Nov 2024, 14:15 Rahkonen Jukka via gdal-dev, < gdal-dev@lists.osgeo.org> wrote: > Hi, > > > > The examples in https://gdal.org/en/latest/dr

[gdal-dev] Issue with the STACIT usage examples

2024-11-21 Thread Rahkonen Jukka via gdal-dev
Hi, The examples in https://gdal.org/en/latest/drivers/raster/stacit.html with &bbox in the search parameters may not work as they have used to work. For example: gdalinfo "STACIT:\ "https://planetarycomputer.microsoft.com/api/stac/v1/search?collections=naip&bbox=-100,40,-99,41&datetime=2019-01-