Thanks John.<div><br></div><div><span class="Apple-style-span" style="font-family: 'Gill Sans'; font-size: 42px; ">v.out.ascii input=myvec format=point | r.in.xyz input=- output=myras method=n type=FCELL x=1 y=2 z=3</span><div>
<br></div><div>does the job.</div><div><br></div><div>Robbie</div><div><br></div><div><br><div class="gmail_quote">2010/4/8 John Tate <span dir="ltr"><<a href="mailto:john.tate@ntlworld.com">john.tate@ntlworld.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
You could try r.in.xyz using 'method=n' which will count points per cell<br>
(resolution chosen in g.region) and write a raster map allocating the number<br>
count to the cell.<br>
<br>
John<br>
<div><div></div><div class="h5"><br>
On Thursday 08 April 2010 07:39:12 Robbie Heremans wrote:<br>
> Dear,<br>
><br>
> How can I count vector points by region resolution (quadrat count) and<br>
> write the results in a raster map (in order to perform r.mapcalc on these<br>
> observed frequencies).<br>
><br>
> Is v.to.rast the command I should use (v.to.rast input=myvec output=myras<br>
> use=??? value=???)<br>
><br>
> Robbie<br>
><br>
</div></div>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div><br></div></div>