Re: [gdal-dev] Access window out of range error with standard utils

2021-12-08 Thread Even Rouault
No better with your .msk file. I don't think it is a usage issue. You could likely create reproducers using gdal_create that will create a blank file with same dimension, band count, spatial information, etc. gdal_create -if input.tif output.tif -co sparse_ok=yes -co tiled=yes Le 08/12/2021 à

Re: [gdal-dev] Access window out of range error with standard utils

2021-12-08 Thread Matt.Wilkie
Thanks Even, I've narrowed it down to the mask file. When I move it out of the way gdal_translate completes without error. Perhaps my optimization step of using nearblack on only the infrared band instead of all 4 is at fault? I agree it's hard to troubleshoot when the examples are not self-con

Re: [gdal-dev] Access window out of range error with standard utils

2021-12-08 Thread Even Rouault
Matt, this is likely a rounding bug somewhere, but I couldn't reproduce with what you provided (with GDAL master and 3.3.2 on Linux). I had to fix a few hardcoded paths in the VRTs and create SPOT7_FiftyMileCkSixtyMileR_321_150cm_19Jun2015_utm7.tif and SPOT7_FiftyMileCkSixtyMileR_432_150cm_19

[gdal-dev] Access window out of range error with standard utils

2021-12-08 Thread Matt.Wilkie
Hello, Why is gdal off by one for the access window? I'm using standard utilities, no custom code. This is only happening (so far) on one file out of dozens. ``` $ gdal_translate -co compress=zstd -co predictor=yes -co level=17 ^ -co bigtiff=yes -of cog INFILE.rgb-nir.vrt OUTFILE.tif Input file

Re: [gdal-dev] ogrinfo XML (AIXM)

2021-12-08 Thread Andreas Oxenstierna
Paul, AIXM is far too complex to be read completely by ogr, at least two years ago. You need some of the specific AIXM readers that is in the market. Best Regards Andreas Oxenstierna T-Kartor Geospatial AB Olof Mohlins väg 12 Kristianstad mobile: +46 733 206831 mailto: andreas.oxenstie...@t-kar

Re: [gdal-dev] ogrinfo XML (AIXM)

2021-12-08 Thread Even Rouault
Paul, the GML driver can open some formulation of AIXM, but probably not all. You may also try the generic GMLAS driver: https://gdal.org/drivers/vector/gmlas.html Even Le 08/12/2021 à 14:06, paul.m...@lfv.se a écrit : Hi, I’m trying to read a XML (AIXM) file. But ogrinfo says it can’t be

[gdal-dev] ogrinfo XML (AIXM)

2021-12-08 Thread paul.malm
Hi, I'm trying to read a XML (AIXM) file. But ogrinfo says it can't be read with either KML, KMZ or GML installed drivers (among other formats). Is there anything I must do, the GML, KML, KMZ drivers are there. I'm working in Windows 10. Kind Regards, Paul [1_LFV_svensk_96] Paul Malm