[GRASS-dev] Re: [GRASS-user] v.rast.stats error
Michael Barton
michael.barton at asu.edu
Tue Feb 12 14:31:06 EST 2008
voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
On Feb 12, 2008, at 12:17 PM, grass-user-request at lists.osgeo.org wrote:
> Date: Tue, 12 Feb 2008 18:20:21 +0100
> From: Jarek Jasiewicz <jarekj at amu.edu.pl>
> Subject: [GRASS-user] v.rast.stats error
> To: grass-user at lists.osgeo.org
> Message-ID: <47B1D555.9080506 at amu.edu.pl>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi
> When runs v.rast stats with foolowing command:
>
> v.rast.stats -e vector=debs at LUBSKO layer=1 raster=depresions at LUBSKO
> colprefix=dep percentile=90
>
> recive error:
> ERROR:debs at LUBSKO_9432.0 is not in the current mapset (LUBSKO)
> ERROR:An error occurred while converting vector to raster
> G__open(r): mapset (LUBSKO) doesn't match xmapset (LUBSKO_9432.0)
> G__open(r): mapset (LUBSKO) doesn't match xmapset (LUBSKO_9432.0)
> ERROR:debs at LUBSKO_9432.0 is not in the current mapset (LUBSKO)
>
> everything seems clear, but why postfix: _9432.0 after mapset name??
>
> Jarek
I just ran into the same issue today. The script checks to see if the
map is in the current mapset and is not properly parsing the
map at mapset format (debs at LUBSKO)
Delete the @mapset part and rerun this. It should work fine.
Michael
More information about the grass-dev
mailing list