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" <[email protected]> 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
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to