Re: [gdal-dev] WMS, blocksize and black lines

2018-07-09 Thread Arno Gerretsen
Chris, Thanks for the answer, if I put the window in the XML file it indeed also works for me. But in my application I am sampling the GDAL dataset from code and setting a different window each time from code as well. So to modify the WMS XML every time in that case would not really be a wor

Re: [gdal-dev] WMS, blocksize and black lines

2018-07-09 Thread Chris Smemoe
Arno, I suspect the black lines has something to do with using the -projwin argument to gdal_translate along with the DataWindow tag information in the XML file. The following XML works fine for me with the following command line: "gdal_translate wms.xml test.tif" 1.1.1 https://gis.a

[gdal-dev] Missing Alpha flag for Warped VRT Single band UInt16 dataset

2018-07-09 Thread Vincent Sarago
Previous discussion can be found in https://github.com/mapbox/rasterio/issues/1403 When creating Warped VRT of a 1band Uint16 dataset with internal mask, gdal creates an Alpha band but don’t seems to set the Alpha/Mask flags. ___

[gdal-dev] WMS, blocksize and black lines

2018-07-09 Thread Arno Gerretsen
Hi all, I'm trying to create a WMS XML to access some WMS data in GDAL. But I get black lines in the resulting image. I have found out that if I reduce the size of the BlockSize in the WMS XML that the lines get more narrow, but the download speed of the images also reduces a lot. Am I missin

Re: [gdal-dev] GDAL 2.3.1 on linux disregarding nodata values

2018-07-09 Thread Tom van Tilburg
A follow up on the previous problem with versions (see below): I removed all old libgdal versions that were in /usr/local/lib and that has solved the issue. Best, Tom -- I thought LD_LIBRARY_PATH could be untouched since I'm doing a system-install according to: https