<p dir="ltr">In Qgis master I think you could use QsgRasterFileWriter [1], for the raster providers which support writing,e.g. GDAL. <br>
AFAIK in Qgis 1.8 there's no mechanism to do that. </p>
<p dir="ltr">giovanni </p>
<p dir="ltr">[1] <a href="http://www.qgis.org/api/classQgsRasterFileWriter.html">http://www.qgis.org/api/classQgsRasterFileWriter.html</a></p>
<p dir="ltr">Sent from Nexus</p>
<div class="gmail_quote">Il giorno 13/gen/2013 17:10, "Victor Olaya" <<a href="mailto:volayaf@gmail.com">volayaf@gmail.com</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all<br>
<br>
I have just implemented a new mechanism in SEXTANTE to make handling<br>
of file formats more clear and easy. Now, no matter what provider is<br>
creating a vector layer, all formats supported by QGIS can be<br>
selected, without requiring anything special added to the algorithm<br>
provider. SEXTANTE takes care of converting if needed.<br>
<br>
I want to implement the same thing for raster layers, but I do not<br>
know how to export a raster layer into a given format (except by<br>
calling GDAL translate), and I need it for that.. Can any one give me<br>
an idea or point me to some code to do that?<br>
<br>
Thanks in advance!<br>
<br>
Victor<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div>