[GRASSLIST:7835] average height

Maik Trömel maik.troemel at maitro.net
Tue Aug 9 06:27:29 EDT 2005


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20050809/6942611d/attachment.html


More information about the grass-user mailing list