<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Mensaje original ----<br>De: António Rodrigues &lt;agrodrigues@ipt.pt&gt;<br>Para: grass-user@lists.osgeo.org<br>Enviado: martes, 22 de enero, 2008 2:22:10<br>Asunto: [GRASS-user] r.reclass null values<br><br><title>r.reclass null values</title>


 
 




<p><font size="2">&lt;Hi,<br>
<br>&lt;I want to use r.cost to calculate accessibility surfaces based on an existing road network. In my cost surface, I want to associate a speed limit = &lt;6kmh to every cell outside the network, which involves reclassifying all NULL values to 6. However. &lt;r.reclass&gt; doesn't allow me to reclass the &lt;nulls. The following message appears:<br>
<br>&lt;WARNING: can't have null on the left-hand side of the rule<br>
&lt;illegal reclass rule. ignored<br>
<br>
&lt;Any clues on how to do this? I couldn't find any offer function which would do the trick.<br>
<br>&lt;Apologize if this is a "too simple" kind of question...<br>&lt;Thanks in advance,<br>&lt;António</font></p><p><br></p><pre>r.null map=yourmap null=6<br><br>JM Garijo<br></pre><p><br></p><p><br></p><p><font size="2"><br></font>
</p>

</div><br></div></div><br>


      <hr size=1><br><font face="Verdana" size="-2">Web Revelación Yahoo! 2007:<br> Premio Favorita del Público - <a href="http://es.promotions.yahoo.com/revelacion2007/favoritos/">¡Vota tu preferida!</a></font></body></html>