[gdal-dev] GTI: override SRS of source tiles (disable reprojection)
Craig de Stigter
craig.destigter at koordinates.com
Wed Mar 19 13:37:55 PDT 2025
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
been considering adding VRTs for each tile but tons of XML files lying
around wasn't very appealing, so it's great that we can do that without the
extra files!
Thanks
Craig
On Wed, 19 Mar 2025 at 22:24, Even Rouault <even.rouault at spatialys.com>
wrote:
> Craig,
> >
> > Is there a way to override the projection of the source tiles when
> > using the GTI driver?
>
> One way would be to put in the GTI index
> "vrt:///path/to/file?a_srs=srs_def" where srs_def is an EPSG code or a
> WKT string (cf
> https://gdal.org/en/stable/drivers/raster/vrt.html#vrt-connection-string)
>
> Even
>
> --
>
> http://www.spatialys.com
> My software is free, but my time generally not.
>
>
--
Regards,
Craig
Platform Engineer
Koordinates
koordinates.com / @koordinates <https://twitter.com/koordinates>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250320/54e48a06/attachment.htm>
More information about the gdal-dev
mailing list