Hi,

I did not get an answer for my question bellow so I did some testing.  I write 
to help others that will find this post.  (I am making a point to raster query 
tool.) It’s much faster to load a cloud of point to a function and to loop a 
query to each band than to load a single band to a function and to loop through 
the points.  Tested on 6 million points and a 288 band raster.  This might be 
obvious to some but I needed to test it.  

Cheers 
Nicolas

“Would it be a better approach to loop through the 200 bands inside this 
function?  So basically, is it faster to loop the 200 bands or to loop the 
thousands of points one band at a time inside this function? “

> Le 12 mars 2019 à 08:49, Nicolas Cadieux <nicolas.cadi...@archeotec.ca> a 
> écrit :
> 
> Would it be a better approach to loop through the 200 bands inside this 
> function?  So basically, is it faster to loop the 200 bands or to loop the 
> thousands of points one band at a time inside this function? 
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to