Re: [gdal-dev] Big three rules for C++ classes

2009-07-11 Thread Mateusz Loskot
Christopher Hunt wrote: > Hi there, > > I've just started using the classes from the ogr_geometry API and note > that they do not obey the C++ Rule of Three: > > http://en.wikipedia.org/wiki/Rule_of_three_(C%2B%2B_programming) Christopher, Yes, you are right. When working with GDAL/OGR classes, i

Re: [gdal-dev] Questions about SQL cursors in GDAL driver

2009-07-11 Thread Jorge Arévalo
2009/7/11 Tamas Szekeres : > Jorge, > > I think this driver is in a special situation comparing to the file based > raster data sources, that is: we should minimize the round trips to the > server as much as possible which is costly. Therefore in addition to write > IReadBlock correctly (required t

Re: [gdal-dev] Questions about SQL cursors in GDAL driver

2009-07-11 Thread Tamas Szekeres
Jorge, I think this driver is in a special situation comparing to the file based raster data sources, that is: we should minimize the round trips to the server as much as possible which is costly. Therefore in addition to write IReadBlock correctly (required to fetch a single row in each call or m

Re: [gdal-dev] Questions about SQL cursors in GDAL driver

2009-07-11 Thread Jorge Arévalo
2009/7/11 Frank Warmerdam : > Jorge Arévalo wrote: >> >> So, clearly, I have a mistake. Think in a table with tiles of 100x100 >> px. We have 30 tiles. When I create RasterBands, their block size will >> be 100x100. So, IReadBlock(0, 0, bufffer) indicates the block going >> from (0, 0) to (100, 100