[GRASS-user] (no subject)

Christian Schwartze Christian.Schwartze at uni-jena.de
Mon Jul 14 09:22:03 EDT 2008


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


More information about the grass-user mailing list