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

2025-03-19 Thread Even Rouault via gdal-dev
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-s

[gdal-dev] Yet another GML EPSG::4326 offsetvector XY-order problem

2025-03-19 Thread Riivo Kolka via gdal-dev
Hi. I see that gdaljp2metadata.cpp has lots of code for extracting something useful but I got files that still escape the effort. Some Pleiades jp2 images that gdalinfo fails to find the Origin and Pixel Size and reports wrong Corner Coordinates. gdalinfo only reports (seemingly correct) GeoTrans

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

Re: [gdal-dev] Yet another GML EPSG::4326 offsetvector XY-order problem

2025-03-19 Thread Even Rouault via gdal-dev
Hi, This is a recurring source of confusion as the related specs aren't very explicit / clear about that. But all example in https://docs.ogc.org/is/08-085r8/08-085r8.html use |0 positive_value negative_value 0 for EPSG:4326, so at least the behavior of GDAL is consistent with that, and thu