[Qgis-user] calculate statistics on an attribute table

Maciej Sieczka tutey at o2.pl
Sun May 4 05:46:18 PDT 2008


Mars Sjoden pisze:

> Is there a way to quickly calculate statistics on an attribute table 
> column?

Not that I know of. A workaround for doing this with external software:

1. open attrubute table in QGIS
2. select all rows (select first one, go to bottom of the table, press 
ctrl selecting the last row)
3. ctrl+c
4. open some spreadsheat/statistics software
5. paste

If your layer is PostGIS you can use PostgreSQL advanced stats features 
directly. If you want to put your SHP into PgSQL use the QGIS SPIT 
plugin or shp2pgsql CLI utility.

Best,
Maciek

P.S.

Please don't hi-jack threads.




More information about the Qgis-user mailing list