Re: [gdal-dev] Merge many raster using maximum value where overlaps

2017-12-06 Thread Rousseau Lambert2, Louis-Philippe (EC)
Thanks for the possible solution. Unfortunately, I could not test using SAGA our NASA Ames Stereo Pipeline toolkit. My script will have to be run on a operational environment in which it is very difficult to have new tools installed. Same thing for VRT pixel function. We don't have gdal 2.2 insta

Re: [gdal-dev] Merge many raster using maximum value where overlaps

2017-11-21 Thread Rutger
Sorry, i had the code embedded as raw text. It appears to be left out of my previous post, even though it worked in the preview. Here it is: max Python Regards, Rutger -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html

Re: [gdal-dev] Merge many raster using maximum value where overlaps

2017-11-21 Thread Rutger
You could also consider using the VRT pixel functions (since 2.2). I'm not sure about the performance when using the Python pixel functions (or perhaps with Numba), i haven't done any benchmarks. It might be a 'nice to have' if some statistics like max,min,std are added to the default functions if

Re: [gdal-dev] Merge many raster using maximum value where overlaps

2017-11-20 Thread David Shean
Hi all, This is also possible with the dem_mosaic tool, part of the NASA Ames Stereo Pipeline toolkit. The utility is multithreaded and meant to handle an arbitrary number of large rasters efficiently. You want the ‘—max’ command line option. Unfortunately, the official NASA ASP site is curre

Re: [gdal-dev] Merge many raster using maximum value where overlaps

2017-11-20 Thread Nicolas Cadieux
Hi, You may be able to do that with the Saga grid mosaic. You can select ´max’ for overlapping areas. http://www.saga-gis.org/saga_tool_doc/2.3.0/grid_tools_3.html Nicolas > Le 17 nov. 2017 à 15:05, Rousseau Lambert2, Louis-Philippe (EC) > a écrit : > > Hi everyone, > > I would like to

Re: [gdal-dev] Merge many raster using maximum value where overlaps

2017-11-17 Thread Rousseau Lambert2, Louis-Philippe (EC)
Hi everyone, I would like to have your opinion on some processing I have to do. So I have to merge many rasters (eventually more then 50). Some overlaps (never completely), but others don't, my files when merged cover Canada. I have to keep the maximum value where there is some overlap between d