[GRASS-user] count vector points (quadrat count)

Robbie Heremans robbie.heremans at gmail.com
Thu Apr 8 04:55:22 EDT 2010


Thanks John.

v.out.ascii input=myvec format=point | r.in.xyz input=- output=myras
method=n type=FCELL x=1 y=2 z=3

does the job.

Robbie


2010/4/8 John Tate <john.tate at ntlworld.com>

> Hi,
>
> You could try r.in.xyz using 'method=n' which will count points per cell
> (resolution chosen in g.region) and write a raster map allocating the
> number
> count to the cell.
>
> John
>
> On Thursday 08 April 2010 07:39:12 Robbie Heremans wrote:
> > Dear,
> >
> > How can I count vector points by region resolution (quadrat count) and
> >  write the results in a raster map (in order to perform r.mapcalc on
> these
> >  observed frequencies).
> >
> > Is v.to.rast the command I should use (v.to.rast input=myvec output=myras
> > use=??? value=???)
> >
> > Robbie
> >
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20100408/d9d21d00/attachment.html


More information about the grass-user mailing list