[GRASS-user] Suggestion for creating a script to create a map of agricultural capacity

Marcello Benigno benigno.marcello at gmail.com
Mon May 27 06:41:25 PDT 2013


I'm working on the preparation of the statement of Agricultural Capacity in
general terms the *final map* has classes ranging 1-8.

To get this map I use three themes with their respective notes:

   - Map of Slope: with classes ranging 1 to 8;
   - Soil Map: with classes ranging 1 to 8;
   - Map of flood risk: with classes ranging 1 to 8;

I - After converting all to a vector format and "merge" the three layers, I
have multiple polygons with various combinations, eg:
a) 1,3,1
b) 5,2,1
c) 4,2,1
d) 1,1,8

II - To determine the final value of the class is chosen the highest value:
a) 3
b) 5
c) 4
d) 8

I need to automate this task because the last step (II) is very slow
(actually manually), which would be the best way to do this? I think the
whole process can be done with the data in raster format, but have not
found a formula that I can apply in r.mapcalc to this problem.

Thanks in advance,
-- 
*Marcello Benigno B. de Barros Filho*
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE
http://profmarcello.blogspot.com
http://about.me/marcello.benigno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130527/1ac8e592/attachment.html>


More information about the grass-user mailing list