Going through a huge backlog of GRASS mails, so sorry if this was already answered:

On 10/03/08 15:43, Nikos Alexandris wrote:
On Mon, 2008-03-10 at 07:19 -0700, Nikos Alexandris wrote:
[...]
I am replying in an old thread but I've been trying to grab area size per
class from a (CORINE land cover) vector map. Still no luck for a quick and
easy way.

I forgot:

My column with the various land cover classes is "a_code".

So thw question is actually how could I sum up area's based on "a_code"?

Have you tried (using sqlite or postresql as data backend):

v.to.db area

echo "select a_code, sum(area) from CorineTable group by a_code" | db.execute

Moritz
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to