[gdal-dev] Virtual Raster Tile Index (VRTTI) driver, and associated gdaltindex improvements

Even Rouault even.rouault at spatialys.com
Tue Jan 30 17:17:00 PST 2024


Hint: use EPSG:4326 for the SRS of the .gti.fgb, because this is the SRS 
of the tiles.  The GTI driver isn't smart enough to figure out that 
OGC:CRS84 ~= EPSG:4326, and thus a rather dummy on-the-fly warping is done.

Le 31/01/2024 à 01:37, Michael Sumner a écrit :
> just to follow up, I got it all working in latest GDAL:
>
> script at
>
> https://github.com/mdsumner/cog-example/blob/main/gti/cop90.py
>
> creates dsn
>
> /vsicurl/https://github.com/mdsumner/cog-example/raw/main/gti/cop90.gti.fgb
>
> which works nicely, thanks!
>
> Cheers, Mike
>
>
>
> On Tue, Jan 30, 2024 at 10:57 PM Even Rouault 
> <even.rouault at spatialys.com> wrote:
>
>
>>     as you could also attach the XRES, YRES, BANDCOUNT, etc. metadata
>>     items that would help the GTI driver avoid probing one of the tiles.
>>
>     PS: OGRLayer::SetMetadataItem(key, value) only works on FlatGeoBuf
>     and GPKG drivers with latest master as well
>
>     -- 
>     http://www.spatialys.com
>     My software is free, but my time generally not.
>
>
>
> -- 
> Michael Sumner
> Software and Database Engineer
> Australian Antarctic Division
> Hobart, Australia
> e-mail: mdsumner at gmail.com

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240131/4887083d/attachment.htm>


More information about the gdal-dev mailing list