Re: [gdal-dev] mosaicking files with partial overlap and binary mask

2021-02-11 Thread lars . schylberg
Maybe this could help a little. I had a problem a while ago when I wanted to filter just the mask and then assemble it again. It took some reading to get it right. So I took the image apart with gdal_translate -b mask. Then ran gdal_sieve.py where I got a 8 bit mask. The tricky part was then the

Re: [gdal-dev] GeoTiff writer refuses to set 42113 (NoData) from Python

2021-02-11 Thread jratike80
Hi, There is a common belief that problems with images happen only with exactly that confidential multigigabyte image that user is playing with. That is uncommon and usually the problem can be repeated with any other image with similar structure. If you have GDAL v. 3.2 you can use https://gdal.

Re: [gdal-dev] WMTS services error

2021-02-11 Thread Travis Kirstine
Elena, I'm not exactly sure what is causing the issue but if you look at the capabilities of the 4326 tilematrixset compared to the InspireCRS84Quad the topleftcorner coordinates are reversed. My guess gdal is expecting a X Y order. InspireCRS84Quad http://www.opengis.net/def/crs/OGC/1.3/CRS84

[gdal-dev] GeoTiff writer refuses to set 42113 (NoData) from Python

2021-02-11 Thread Dustin Sims
Hey devs, I have an issue where writing any GeoTiff from python results in ERROR 1: TIFFSetField:Path/To/File: Unknown tag 42113 This happens regardless of warp or translate (the only two applicable tools for my use case) However, running this through the CLI tools with the exact same inputs r

[gdal-dev] WMTS services error

2021-02-11 Thread Elena Ruiz
Hello, I´m trying call web services (WMTS and WMS) using GDAL 3.0.2, but I have a problem with this example: gdal_translate "WMTS:http://www.ign.es/wmts/pnoa-ma?request=GetCapabilities&service=WMTS,layer=OI.OrthoimageCoverage,tilematrixset=EPSG:4326"; d://wmts_bm.xml -of WMTS ERROR 1: Invalid d

Re: [gdal-dev] Alpine Docker build with ODBC support

2021-02-11 Thread Andrew Murdoch
Just to close the loop on this and refresh my own memory when I need to review this... To fully enable MS SQL Server Spatial, I _did_ also need to add the specific MS SQL ODBC _driver_ found here: https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for

Re: [gdal-dev] Info about technical details of loading massive data

2021-02-11 Thread Gerald Nelson
I’m an end user, of software for which gdal is a critical input, in particular the R package terra, the successor to the raster package. I’m using it with very large climate data files. Terra (and raster) are built to deal with memory space available and the read and write from disk to temporary

Re: [gdal-dev] mosaicking files with partial overlap and binary mask

2021-02-11 Thread jratike80
Hi Daniele, Test data, please. -Jukka Rahkonen- Daniele Romagnoli-3 wrote > Thanks for the feedback, Patrick. > I have downloaded the latest build from GisInternals and it worked as > expected. > I have another question. > It looks like warping an input file containing a binary mask isn't > pr

Re: [gdal-dev] Info about technical details of loading massive data

2021-02-11 Thread Andrew C Aitchison
On Thu, 11 Feb 2021, Richard Duivenvoorde wrote: Hi Dev's, I had a discussion with a friend about the sometimes hard times a GIS-person has when handling/loading/viewing (using QGIS/GDAL) massive (vector/raster) datasets, versus the R/Data-mangling community. Ending with a conclusion that it s

[gdal-dev] Info about technical details of loading massive data

2021-02-11 Thread Richard Duivenvoorde
Hi Dev's, I had a discussion with a friend about the sometimes hard times a GIS-person has when handling/loading/viewing (using QGIS/GDAL) massive (vector/raster) datasets, versus the R/Data-mangling community. Ending with a conclusion that it seemed (to us) that data-scientists try to load as