Re: [gdal-dev] Idea: support JP2 TLM as sidecar in GDAL/OpenJPEG

2024-12-18 Thread Jérémy Anger via gdal-dev
> So you would have a XML file that would point > to the beginning of the .jp2 file, then an auxiliary file with the TLM > marker, and then the rest of the .jp2 file, and then you open > /vsisparse/my_patched_jp2.xml . I believe that should work because there > are no absolute offsets in JP2 files.

Re: [gdal-dev] Modify DST_SRS in Python RasterizeLayer

2024-12-18 Thread Even Rouault via gdal-dev
William, Le 18/12/2024 à 13:05, Starms, William (MU-Student) via gdal-dev a écrit : Howdy! I’m trying to rasterize a shape that is in absolute pixel/line coordinates, but it gets burned wrong if the destination dataset has an srs due to coordinate conversion. There aren’t any docs for that s

[gdal-dev] Modify DST_SRS in Python RasterizeLayer

2024-12-18 Thread Starms, William (MU-Student) via gdal-dev
Howdy! I’m trying to rasterize a shape that is in absolute pixel/line coordinates, but it gets burned wrong if the destination dataset has an srs due to coordinate conversion. There aren’t any docs for that specific function (https://gdal.org/en/stable/api/python/utilities.html#osgeo.gdal.Raster

Re: [gdal-dev] Hi: GDAL CONFIG

2024-12-18 Thread Michał Kowalczuk via gdal-dev
Thank you Jukka, it helps in command line. Now I need to investigate why the same but using C API fails. The issue scenario is: 1. I set *GDAL_HTTP_USERPWD* using *CPLSetConfigOption* 2. I connect to the service as dataset (*GDALOpen*) 3. I get the first subdataset (*GDALOpen*) and downlo