R: [GRASS-dev] Re: [GRASS-user] trouble with v.rast.stats
underWINGRASS
Marco Pasetti
marco.pasetti at alice.it
Tue Apr 8 17:01:34 EDT 2008
Hi Moritz,
Moritz, does it probably has been fixed in RC6?
Niels, could you download and install WinGRASS-6.3.0RC6 (before uninstall
RC5 using Add/Remove programs utility) and check if v.rast.stats works in
it?
Thanks
Marco
-----Messaggio originale-----
Da: grass-dev-bounces at lists.osgeo.org
[mailto:grass-dev-bounces at lists.osgeo.org] Per conto di Moritz Lennert
Inviato: martedì 8 aprile 2008 23.03
A: Niels.Thevs at uni-greifswald.de
Cc: grass-user at lists.osgeo.org; GRASS devel; Hamish
Oggetto: [GRASS-dev] Re: [GRASS-user] trouble with v.rast.stats
underWINGRASS
On 08/04/08 18:04, Niels Thevs wrote:
> Dear GRASS users,
>
> I am using WINGRASS 6.3 (RC5) and tried the command v.rast.stats. But
> I encountered the error messages below, though the vector and raster
> are in the same mapset.
>
> split1 at PERMANENT_3280.0 is not in the current mapset (PERMANENT)
>
> An error occurred while converting vector to raster
> G__open(r): mapset (PERMANENT) doesn't match xmapset
> (PERMANENT_3280.0)
> G__open(r): mapset (PERMANENT) doesn't match xmapset
> (PERMANENT_3280.0)
>
> split1 at PERMANENT_3280.0 is not in the current mapset (PERMANENT)
>
> Does anybody know, how to overcome this problem ?
This was fixed by Hamish here http://trac.osgeo.org/grass/changeset/30136
but apparently it did not get backported.
A quick fix for you is to click on the command in the Output window, so that
you can edit it at the bottom and change the
vector=split1 at PERMANENT_3280.0
into
vector=split1
and then push 'Run'.
A more permanent fix is to download the current version of the script from
here:
http://trac.osgeo.org/grass/browser/grass/trunk/scripts/v.rast.stats/v.rast.
stats
and replace you $GISBASE/scripts/v.rast.stats
with the downloaded file.
Moritz
_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
More information about the grass-dev
mailing list