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.roua...@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: mdsum...@gmail.com
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev