[Qgis-developer] Announcing raster-pipes-2 branch for testing

Marco Hugentobler marco.hugentobler at sourcepole.ch
Wed Jul 18 08:13:05 PDT 2012


Hi devs

I'd like to announce the branch 'raster-pipes-2' in Radims repository 
https://github.com/blazek/Quantum-GIS for testing.
Radim did a great job in refactoring the process of reading / resampling 
/ reprojecting / displaying / modifying raster layers. Every step is now 
a subclass of QgsRasterInterface, with the advantage that several steps 
can be chained in a QgsRasterPipe. Like that, the raster functionality 
is nicely separated into different classes and it is easy to add/remove 
elements in the pipe. The iteration over the raster parts is controlled 
by QgsRasterIterator (because for high-resolution prints or analysis on 
large datasets, it is impossible to keep everything in memory at once).

Please report any issue you find in the branch to the developer mailing 
list.

Besides the changes in code architecture, there is also a new feature in 
the raster-pipes-2 branch. It is now possible to write through 
QgsRasterDataProvider (currently only supported by the gdal provider). 
There is a 'save as...' function also for rasters now (though it is not 
100% complete at the moment). There is the option to save a raster in 
one file or in tiles (the tiles are then saved in one directory and vrt 
/ pyramides are automatically created. Very usefull for saving the 
contents of a WMS layer).

Regards,
Marco

-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee



More information about the Qgis-developer mailing list