<div dir="ltr">How odd! Thanks very much for your help, will have a look at the location I'm using and fix.<br><br>Thanks again,<br>Michael<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 11 July 2013 09:34, Markus Metz <span dir="ltr"><<a href="mailto:markus.metz.giswork@gmail.com" target="_blank">markus.metz.giswork@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, Jul 8, 2013 at 6:43 PM, Michael Spencer<br>
<<a href="mailto:spencer.mike.r@gmail.com">spencer.mike.r@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I've a problem with the v.what.rast tool. I imported a vector grid of points<br>
> with a spacing of 5 km (v.in.ogr) to GRASS, along with 12 rasters<br>
> (r.in.arc). There is a point in the centre of each raster cell, with some<br>
> extra points as a buffer around the edge (still on a 5 km grid).<br>
><br>
> Having added extra columns to the point vector file I ran v.what.rast to<br>
> extract the value of the 12 rasters, in turn, at each point location.<br>
><br>
> Checking the result in the GRASS viewer the tool has appended data from the<br>
> raster cell 5 km to the east at all locations.<br>
<br>
</div>It seems that the current region is not properly aligned to the raster<br>
and instead shifted by exactly half a cell in east-west direction,<br>
which would explain the observed results. Try to run g.region -p<br>
align=<raster_to_query> before using v.what.rast.<br>
<br>
HTH,<br>
<br>
Markus M<br>
<div class="im"><br>
><br>
> Is this a bug? Has anyone else experienced it? And most importantly - does<br>
> anyone know how to fix it?!<br>
><br>
> Ta,<br>
> Michael<br>
><br>
</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>
><br>
</blockquote></div><br></div>