Re: [gdal-dev] GTI: override SRS of source tiles (disable reprojection)

2025-03-19 Thread Craig de Stigter via gdal-dev
Thanks for the replies. Using a FGB tile index without GTI/VRT unfortunately doesn't solve the problem since at some point the caller will still have to (pointlessly) transform the tiles, but thanks for the suggestion anyway. The VRT connection string sounds ideal; I hadn't seen that before. I had

[gdal-dev] GTI: override SRS of source tiles (disable reprojection)

2025-03-18 Thread Craig de Stigter via gdal-dev
Hi folks I'm working on converting an existing VRT mosaic pipeline to use GTI to improve its scalability with huge layers. A problem is that our individual raster tiles may have projections with subtly varying WKT, since they were often produced by customers using different tooling and in differe

Re: [gdal-dev] Adding external overviews for a VRT whose source tiles already have overviews

2024-07-17 Thread Craig de Stigter via gdal-dev
This was my mistake. I had set `GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR`, which was preventing GDAL from noticing the .vrt.ovr file I had generated. So, the answer is that the .vrt.ovr is just a TIF file, and it can be generated via gdal_translate and additional overviews added to it via gdaladdo 👍

[gdal-dev] Adding external overviews for a VRT whose source tiles already have overviews

2024-07-17 Thread Craig de Stigter via gdal-dev
Hi folks I have a VRT which is a mosaic of several thousand s3-stored COGs. Doing any kind of low-res downsampling from this VRT causes very slow performance and high memory usage because it causes requests to all the individual source tiles. I'd like to add external overviews to the VRT via a `.

Re: [gdal-dev] GDAL 3.9: How to pass negative flag values to GDALArgumentParser?

2024-07-01 Thread Craig de Stigter via gdal-dev
A colleague has noticed a workaround: prefix the argument with a space: $ gdalwarp '-dstnodata' ' -inf' ... On Tue, 2 Jul 2024 at 16:04, Craig de Stigter < craig.destig...@koordinates.com> wrote: > While trying to upgrade to GDAL 3.9 i'm hitting this error: > > $ gdalwarp '-dstnodata' '-inf' ..

[gdal-dev] GDAL 3.9: How to pass negative flag values to GDALArgumentParser?

2024-07-01 Thread Craig de Stigter via gdal-dev
While trying to upgrade to GDAL 3.9 i'm hitting this error: $ gdalwarp '-dstnodata' '-inf' ... ERROR 1: Too few arguments for '-dstnodata'. ... The same happens with `gdalbuildvrt -vrtnodata '-1 -1 -1' ...` We use negative values for NODATA in a few places because they're unlikely to already be

[gdal-dev] WFS: How to use feature ordering?

2023-11-01 Thread Craig de Stigter via gdal-dev
Hey folks We're having a lot of trouble getting data out of a WFS server that doesn't have primary keys. (previous work on this) The URL that's causing us grief is this one: https://opendata.maps.vic.gov.au/geoserver/wfs?REQUEST=GetFeature&SERVICE=WFS&VE