<div dir="ltr">Yann,<div style>You could just use r.reclass  on an existing layer and set everything to NULL,</div><div style><a href="http://grass.osgeo.org/grass64/manuals/r.reclass.html">http://grass.osgeo.org/grass64/manuals/r.reclass.html</a><br>

</div><div style><br></div><div style>Doug</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 27, 2013 at 11:38 PM, Yann Chemin <span dir="ltr"><<a href="mailto:ychemin@gmail.com" target="_blank">ychemin@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>is there a small way to open a new file and set all values to NULL?<br>
</div>
The function would be something like Rast_open_new_null(),<br><br></div>Yann<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div>
<div><div><div><br>-- <br>----
</div></div></div></div></div></font></span></div>
<br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Doug Newcomb</div><div>

USFWS</div><div>Raleigh, NC</div><div>919-856-4520 ext. 14 <a href="mailto:doug_newcomb@fws.gov" target="_blank">doug_newcomb@fws.gov</a></div><div>---------------------------------------------------------------------------------------------------------</div>

<div>The opinions I express are my own and are not representative of the official policy of the U.S.Fish and Wildlife Service or Dept. of the Interior.   Life is too short for undocumented, proprietary data formats.</div>


</div>