[GRASS-dev] Re: [GRASS GIS] #942: v.univar: please add support for
geometry statistics
GRASS GIS
trac at osgeo.org
Tue Feb 16 00:19:43 EST 2010
#942: v.univar: please add support for geometry statistics
--------------------------+-------------------------------------------------
Reporter: neteler | Owner: grass-dev at lists.osgeo.org
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: default | Version: svn-trunk
Resolution: | Keywords: vector, statistics
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by hamish):
''really'' dumb and inefficient emergency workaround:
* g.region rows=1 cols=1
* r.in.xyz x=1 y=2 z=1 out=x_mean
* r.univar x_mean
etc
or just use v.out.ascii + awk.
see this script for calc'ing the mean:
source:grass-addons/vector/v.points.cog/v.points.cog
that script could probably get a flag to also output numbers for
variance,stddev without too much work.
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/942#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list