[Qgis-developer] Exporting a raster layer

G. Allegri giohappy at gmail.com
Sun Jan 13 08:52:55 PST 2013


In Qgis master I think you could use QsgRasterFileWriter [1], for the
raster providers which support writing,e.g. GDAL.
AFAIK in Qgis 1.8 there's no mechanism to do that.

giovanni

[1] http://www.qgis.org/api/classQgsRasterFileWriter.html

Sent from Nexus
Il giorno 13/gen/2013 17:10, "Victor Olaya" <volayaf at gmail.com> ha scritto:

> Hi all
>
> I have just implemented a new mechanism in SEXTANTE to make handling
> of file formats more clear and easy. Now, no matter what provider is
> creating a vector layer, all formats supported by QGIS can be
> selected, without requiring anything special added to the algorithm
> provider. SEXTANTE takes care of converting if needed.
>
> I want to implement the same thing for raster layers, but I do not
> know how to export a raster layer into a given format (except by
> calling GDAL translate), and I need it for that.. Can any one give me
> an idea or point me to some code to do that?
>
> Thanks in advance!
>
> Victor
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130113/2c936bb9/attachment.html>


More information about the Qgis-developer mailing list