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 STA

[gdal-dev] GDAL linking issues

2024-11-21 Thread Shiva shankar V T via gdal-dev
Dear Sir/Madam, I hope this mail finds you well. I am working on a geospatial engine and trying to implement GDAL and ORG tools in the engine, but I am facing issues with the linking process. The path in the system environment variable has been set-up yet when I try to call the library on Qt for

Re: [gdal-dev] fail to pip install gdal

2024-11-21 Thread Mike Taves via gdal-dev
On Fri, 22 Nov 2024 at 10:26, ni hao via gdal-dev wrote: > when I tried to pip install gdal, I got: > > Collecting gdal > Downloading gdal-3.10.tar.gz (848 kB) This fails because the source distribution of gdal needs to be compiled. There are no pre-compiled binary wheels on PyPI. There are se

[gdal-dev] gdal.org default version switched to stable

2024-11-21 Thread Even Rouault via gdal-dev
Hi, Just wanted to mention quickly that https://gdal.org now resolves to https://gdal.org/en/stable which points to the state of the documentation for the maintained version, which is 3.10 for now. This will hopefully help reduce confusion, especially for less seasoned users, which otherwise

[gdal-dev] fail to pip install gdal

2024-11-21 Thread ni hao via gdal-dev
Hi list, I have python 3.13.0 when I tried to pip install gdal, I got: Collecting gdal Downloading gdal-3.10.tar.gz (848 kB) 848.1/848.1 kB 7.7 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done

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

[gdal-dev] Sentinel-1 SLC overlapping Tiff images

2024-11-21 Thread ni hao via gdal-dev
Hi list, Sentinel-1 SLC consists of three overlapping Tiff images. Can GDAL handle this format? Or it only ingests the first Tiff? Thank you! ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

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

2024-11-21 Thread Rahkonen Jukka via gdal-dev
Understood, and good reason to start using the new gdalinfo convenience option "-sd" for selecting sub-datasets by their index. gdalinfo "STACIT:\https://paituli.csc.fi/geoserver/ogc/stac/v1/search?collections=corine_land_cover_at_geocubes\

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
Hi Even, The syntax of the alternative command is clearer for my mind, and it works for me with GDAL 3.11dev (OSGeo4W). I tried first GDAL 3.9.3 but it failed. There is another minor inconvenience but I can live with it. I can get a list of subdatasets with gdalinfo "STACIT:\"https://paituli.c

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
Hi, I do not still quite understand. I think that usually "&" is accepted without escaping. There are examples on the WMS page which work with copy-paste on windows, like gdalinfo "http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer?f=json&pretty=true"; and gdallocati

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

2024-11-21 Thread Rahkonen Jukka via gdal-dev
Thanks Daniel, Works with backslash escapes for internal " (this is for GDAL I suppose) and carets for & (this is for Windows). gdalinfo "STACIT:\ "https://planetarycomputer.microsoft.com/api/stac/v1/search?collections=naip^&bbox=-100,40,-99,41^&datetime=2019-01-01T00:00:00Z%2F..\

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-