[Qgis-developer] Create rasterlayer in python

PALMIER Patrick (Responsable de groupe) - CEREMA/DTerNP/TM/STS Patrick.Palmier at cerema.fr
Fri Sep 19 07:56:50 PDT 2014


Hello,

Is it possible to create a rasterlayer from nothing with python api use?

 1.   create an empty raster layer (for example 200x200pixels)
 2. and set each pixel with a specific value obtained by a custom
    interpolation


Thanks in advance
-- 

Patrick PALMIER
Responsable du groupe Systèmes de Transport et Sécurité
tél :  +33 (0)3 20 49 60 70
mob:+33 (0)7 77 34 25 07

Centre d’études et d’expertise sur les risques, l’environnement, la 
mobilité et l’aménagement - *www.cerema.fr*
Direction territoriale Nord-Picardie - 2, rue de Bruxelles CS 20275 - 
59019 Lille Cedex
Siège social : Cité des Mobilités - 25 avenue François Mitterrand - CS 
92 803 - 69674 Bron Cedex - tél : +33 (0)4 72 14 30 30

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140919/d98307d4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image1
Type: image/png
Size: 7245 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140919/d98307d4/attachment-0001.png>


More information about the Qgis-developer mailing list