[GRASS-user] r.out.gdal creates images with only NoData values

Andras.Balazs at metla.fi Andras.Balazs at metla.fi
Tue May 17 13:46:02 EDT 2011


Hi Everyone,

I'm using GRASS 6.4.0/6.4.1 on Ubuntu Lucid to orthorectify aerial imagery.
When I try to export the orthorectified images using r.out.gdal, every
pixel gets NoData value, whereas the image displays perfectly in GRASS.
For some strange reason it was working last week. Then I included the
unstable ubuntugis repository
(http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu) and
installed qgis. I probably installed some updates coming from this repo,
including gdal-bin and GRASS. I tried to remove qgis and
ubuntugis-unstable and reinstall GRASS, but I just can't get it to export
any of the raster maps. I tried to export my images in both 6.4.1 and
6.4.0 without success.
I use the following command (tried explicitly defining file type (byte)
and nodata value (255) as well, nothing worked):
r.out.gdal -c input=FIM90271_0008blue.ortho at PERMANENT output=blue.tif

the metadata of the input raster map:
Type of Map:  raster               Number of Categories: 241
  |   Data Type:CELL
  |   Rows:15181
  |   Columns:15348
  |   Total Cells:232997988
  |   Projection: Transverse Mercator
  |   N:  6734134.5    S:    6726544   Res: 0.5
  |   E:  3352185.5    W:  3344511.5   Res: 0.5
  |   Range of data:    min = 0  max = 241
Data Description:
  |    generated by i.photo.rectify
Comments:
  |    i.photo.rectify -a group="FIM90271_0008" extension=".ortho"
resolution=0.500000 memory=1000 method="nearest"

The same problem appears with WinGrass 6.4.1.

Could someone enlighten me what might be the problem?

Thanks a lot in advance!

Andras



More information about the grass-user mailing list