[GRASS-user] Problems importing a common GeoTIFF

Dear all,

Recently I have installed a fresh installation of GRASS 6.4 (weekly snapshot) with gdal-1.7.1 on a regularly updated Fedora 12. The import of common geotiff data that previously (quite old installation) seemed to work now yield empty rasters (r.report => only no data). I tried the binary format
as well as to single band (grayscale - 8 bit) converted tifs. The command used is as plain as it can get.

r.in.gdal in=bla.tif out=bla

Any hints appreciated.

Miha

On Fri, Apr 23, 2010 at 1:54 PM, Miha Staut <mihastaut@yahoo.co.uk> wrote:

Dear all,

Recently I have installed a fresh installation of GRASS 6.4 (weekly snapshot) with gdal-1.7.1 on a regularly updated Fedora 12. The import of common geotiff data that previously (quite old installation) seemed to work now yield empty rasters (r.report => only no data). I tried the binary format
as well as to single band (grayscale - 8 bit) converted tifs. The command used is as plain as it can get.

r.in.gdal in=bla.tif out=bla

Did you run
g.region rast=bla -p

before? r.report is region sensitive.

Markus

I did run 'g.region rast=bla' beforehand. The problem was I missed the fact that a MASK layer was present obviously not including the area of the GeoTIFF layer. Thanks for pointing the possibility of region problems.

Best regards
Miha

--- On Fri, 23/4/10, Markus Neteler <neteler@osgeo.org> wrote:

From: Markus Neteler <neteler@osgeo.org>
Subject: Re: [GRASS-user] Fw: Problems importing a common GeoTIFF
To: "Miha Staut" <mihastaut@yahoo.co.uk>
Cc: "GRASS user list" <grass-user@lists.osgeo.org>
Date: Friday, 23 April, 2010, 14:53
On Fri, Apr 23, 2010 at 1:54 PM, Miha
Staut <mihastaut@yahoo.co.uk>
wrote:
> Dear all,
>
> Recently I have installed a fresh installation of
GRASS 6.4 (weekly snapshot) with gdal-1.7.1 on a regularly
updated Fedora 12. The import of common geotiff data that
previously (quite old installation) seemed to work now yield
empty rasters (r.report => only no data). I tried the
binary format
> as well as to single band (grayscale - 8 bit)
converted tifs. The command used is as plain as it can get.
>
>> r.in.gdal in=bla.tif out=bla

Did you run
g.region rast=bla -p

before? r.report is region sensitive.

Markus

Dear all,

I am trying to install Grass7 on my Fedora12 but I always have the same error message:

>[root@localhost GRASS7]# sh grass-7.0.svn-i686-pc-linux-gnu-24_04_2010-install.sh --help
>
>GRASS GIS 7.0.svn-i686-pc-linux-gnu-24_04_2010 binary package installation tool
>
>Usage: grass-7.0.svn-i686-pc-linux-gnu-24_04_2010-install.sh grass-7.0.svn-i686-pc-linux-gnu-24_04_2010.tar.gz [dest_dir] [bin_dir]
>
> with:
> [dest_dir] - optional: FULL path name to the installation directory
> (default: /usr/local/grass7.0.svn-i686-pc-linux-gnu-24_04_2010/)
> [bin_dir] - optional: FULL path name to the grass binary directory
> (default: /usr/local/bin/)
> Notes: 1) Only the grass executable file is stored here
> 2) If you want to change the binary directory only
> then you need to specify the destination
> directory as well
>
>You may need login as root for installation.

I was logged as root (in this case, using su in a console window, but I tried even logged as root on a KDE GUI and logged as root in command line mode (init3).

Can you point to me what I am doing wrong?

Regards,

Adalberto