[GRASS-user] r.mapcalc and producing a max value map
G. Allegri
giohappy at gmail.com
Mon Jul 14 09:32:55 EDT 2008
Take a loot to r.statistics:
http://grass.osgeo.org/grass64/manuals/html64_user/r.statistics.html
2008/7/14 Christian Schwartze <Christian.Schwartze at uni-jena.de>:
> Dear GRASS users,
>
> could somebody help me to find some solution for the following task?
> I have a raster map representing many distinct areas (MAP_1) and a second int
> raster with specific values (MAP_2). The result map should contain the same
> areas of MAP_1 but with the max MAP_2 value of each area as IDs. I tried some
> approaches with r.mapcalc but I don't know how to code the region aspect of
> MAP_1 into r.mapcalc.
>
> MAP_1 MAP_2 ---> MAP_MAX
> ----- ----- -------
>
> 1111333332 5266723974 7777999995
> 1113333222 1429784155 ---> 7779999555
> 1113333322 4152763923 7779999955
> 1111144442 4125718443 7777788885
>
> Thanks a lot for any help!
> Regards,
> Christian.
>
>
>
> ----------------------------------------------------------------
> This mail was sent through http://webmail.uni-jena.de
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
More information about the grass-user
mailing list