Re: [gdal-dev] C++ Range and Iterator for GDALDataSet

2016-01-27 Thread alex
>> I found these classes very useful for simple map algebra type applications, > >In map algebra you often have two operands. Assuming two raster bands >have the same size and georeferencing, how would you write a code that >works on both of them? > For that I use a zip range. The following exampl

Re: [gdal-dev] C++ Range and Iterator for GDALDataSet

2016-01-26 Thread Ari Jolma
26.01.2016, 17:58, alex kirjoitti: Hi, I developed a C++ class that wraps around a GDALDataSet. The class has associated iterator class and begin() and end() member functions, so it can be used with range-based for-loops. The iterator goes over all pixels row-by-row (so not block-by-block as pro

[gdal-dev] C++ Range and Iterator for GDALDataSet

2016-01-26 Thread alex
Hi, I developed a C++ class that wraps around a GDALDataSet. The class has associated iterator class and begin() and end() member functions, so it can be used with range-based for-loops. The iterator goes over all pixels row-by-row (so not block-by-block as proposed in a recent message). The use