[GRASS-user] r.reclass null values

----- Mensaje original ----
De: António Rodrigues agrodrigues@ipt.pt
Para: grass-user@lists.osgeo.org
Enviado: martes, 22 de enero, 2008 2:22:10
Asunto: [GRASS-user] r.reclass null values

<Hi,

<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 = <6kmh to every cell outside the network, which involves reclassifying all NULL values to 6. However. <r.reclass> doesn’t allow me to reclass the <nulls. The following message appears:

<WARNING: can’t have null on the left-hand side of the rule
<illegal reclass rule. ignored

<Any clues on how to do this? I couldn’t find any offer function which would do the trick.

<Apologize if this is a “too simple” kind of question…
<Thanks in advance,
<António

r.null map=yourmap null=6

JM Garijo


Web Revelación Yahoo! 2007:
Premio Favorita del Público - ¡Vota tu preferida!