Hi Rich,

When I want to modify a raster, I usually draw a vector and use
v.to.rast, then r.mapcalc if necessary.

Regards,
Laurent

2017-06-08 18:57 GMT-05:00 Rich Shepard <[email protected]>:
> On Thu, 8 Jun 2017, Mark Seibel wrote:
>
>> Maybe if-then statements with mapcalc are applicable to the situation.
>> outputRaster=if(EXPRESSION,true,false)
>
>
> Mark,
>
>   I'll try writing an expression that tests for a map name. I can use any
> output map name because if it contains the appropriate cell values a simple
> g.rename will work.
>
>   Perhaps this will work:
>
>   r.mapcalc 'output1 = if (mapname@mapset,value=0.0)'
>
> I'll try it tomorrow morning and post the results.
>
> Thanks,
>
>
> Rich
> _______________________________________________
> grass-user mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/grass-user
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to