[GRASSLIST:7835] average height

Hello,

i’m searching a function to get the maximum, the minimum und the average
of the heights of a postal-district.

I`ve got the “GTOPO30-Model” and a shapefile with the geometrie of the
postal-districts.
I convertet the shapefile to rasterdata (the postal-codes are still
available). Now i want to use r.mapcalc to get the inforamtions from the
GTOPO30-Model.

I tried:
r.mapcalc newmap=”if(postalmap=5570,max(GTOPO30),null())”

But naturally it didn`t work.
The other functions i tried out didn`t work, too.

Does anybody have an idea how I could get the informations?

Thanks for your help.

Greeting
Maik