[GRASS-user] grass rastercal doesn't work

Hello everybody,
I have problems with r.mapcalc
I’m use a fresh compiled grass70 from source in my ubuntu desktop 12.10
the review cod of grass is 55939.
I 'm just trying to clip a raster using a mask:
first I created a mask from a raster, then I use r.mapcal:
new_cut_map=old_map

I got a normal conclusion of calculation with 100% done and the specification [Raster MASK present],
but the new raster layer seems to be void.

I think I have problems with gdal lib?
Have you some hints?

Regards

Eugenio

On 22/04/13 17:14, Eugenio Trumpy wrote:

Hello everybody,
I have problems with r.mapcalc
I'm use a fresh compiled grass70 from source in my ubuntu desktop 12.10
the review cod of grass is 55939.
I 'm just trying to clip a raster using a mask:
first I created a mask from a raster, then I use r.mapcal:
new_cut_map=old_map

I got a normal conclusion of calculation with 100% done and the
specification [Raster MASK present],
but the new raster layer seems to be void.

I think I have problems with gdal lib?
Have you some hints?

Check your region settings.

Moritz

Thank Moritz,
your hint partially solved my problem, because now
I got a map, but that is not clipped by the mask.

What could be the problem now?

Regards

Eugenio

Date: Mon, 22 Apr 2013 17:44:29 +0200
From: mlennert@club.worldonline.be
To: frippe12573@hotmail.com
CC: grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] grass rastercal doesn’t work

On 22/04/13 17:14, Eugenio Trumpy wrote:

Hello everybody,
I have problems with r.mapcalc
I’m use a fresh compiled grass70 from source in my ubuntu desktop 12.10
the review cod of grass is 55939.
I 'm just trying to clip a raster using a mask:
first I created a mask from a raster, then I use r.mapcal:
new_cut_map=old_map

I got a normal conclusion of calculation with 100% done and the
specification [Raster MASK present],
but the new raster layer seems to be void.

I think I have problems with gdal lib?
Have you some hints?

Check your region settings.

Moritz

On 22/04/13 17:58, Eugenio Trumpy wrote:

Thank Moritz,
your hint partially solved my problem, because now
I got a map, but that is not clipped by the mask.

What could be the problem now?

Difficult to say without more info. Did you redefine your mask after changing the region settings ? Have you tried to display MASK to see if it is set correctly ?

Moritz

Regards

Eugenio

> Date: Mon, 22 Apr 2013 17:44:29 +0200
> From: mlennert@club.worldonline.be
> To: frippe12573@hotmail.com
> CC: grass-user@lists.osgeo.org
> Subject: Re: [GRASS-user] grass rastercal doesn't work
>
> On 22/04/13 17:14, Eugenio Trumpy wrote:
> > Hello everybody,
> > I have problems with r.mapcalc
> > I'm use a fresh compiled grass70 from source in my ubuntu desktop 12.10
> > the review cod of grass is 55939.
> > I 'm just trying to clip a raster using a mask:
> > first I created a mask from a raster, then I use r.mapcal:
> > new_cut_map=old_map
> >
> > I got a normal conclusion of calculation with 100% done and the
> > specification [Raster MASK present],
> > but the new raster layer seems to be void.
> >
> > I think I have problems with gdal lib?
> > Have you some hints?
>
> Check your region settings.
>
> Moritz

Hello Moritz,
I Tried just now to redefine the mask, and re-run the
r.mapcalc, but I got the sema result:
I have the new map but with the same size of the starting one,
again seems the mask doesn’t work…

Any other hints or test to do?

Regards

E.

Date: Tue, 23 Apr 2013 09:30:15 +0200
From: mlennert@club.worldonline.be
To: frippe12573@hotmail.com
CC: grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] grass rastercal doesn’t work

On 22/04/13 17:58, Eugenio Trumpy wrote:

Thank Moritz,
your hint partially solved my problem, because now
I got a map, but that is not clipped by the mask.

What could be the problem now?

Difficult to say without more info. Did you redefine your mask after
changing the region settings ? Have you tried to display MASK to see if
it is set correctly ?

Moritz

Regards

Eugenio

Date: Mon, 22 Apr 2013 17:44:29 +0200
From: mlennert@club.worldonline.be
To: frippe12573@hotmail.com
CC: grass-user@lists.osgeo.org
Subject: Re: [GRASS-user] grass rastercal doesn’t work

On 22/04/13 17:14, Eugenio Trumpy wrote:

Hello everybody,
I have problems with r.mapcalc
I’m use a fresh compiled grass70 from source in my ubuntu desktop 12.10
the review cod of grass is 55939.
I 'm just trying to clip a raster using a mask:
first I created a mask from a raster, then I use r.mapcal:
new_cut_map=old_map

I got a normal conclusion of calculation with 100% done and the
specification [Raster MASK present],
but the new raster layer seems to be void.

I think I have problems with gdal lib?
Have you some hints?

Check your region settings.

Moritz