[GRASS-dev] [GRASS GIS] #895: Error linking GeoTiff file with r.external

GRASS GIS trac at osgeo.org
Thu Jan 28 17:35:17 EST 2010


#895: Error linking GeoTiff file with r.external
------------------------+---------------------------------------------------
 Reporter:  huhabla     |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect      |      Status:  new                      
 Priority:  normal      |   Milestone:  7.0.0                    
Component:  Raster      |     Version:  svn-trunk                
 Keywords:  r.external  |    Platform:  Linux                    
      Cpu:  x86-32      |  
------------------------+---------------------------------------------------
 I receiving an error while trying to link a geotiff file with r.external
 into a spearfish60 location. The file was previously generated with
 r.out.gdal.
 The import of the same file with r.in.gdal works without problems.
 The error message of r.external:
 {{{
 ERROR: Missing type: field in file
        '/home/soeren/grassdata/spearfish60/user1/cell_misc/test/f_format'
 }}}

 Here the workflow:
 {{{
 GRASS 7.0.svn (spearfish60):~ > g.region rast=elevation.dem at PERMANENT
 GRASS 7.0.svn (spearfish60):~ > r.out.gdal input=elevation.dem at PERMANENT
 format=GTiff type=Float64 output=elevation.30m.tiff -c
 Exporting to GDAL data type: Float64
 Checking GDAl data type and nodata value
  100%
 Input raster map contains cells with NULL-value (no-data). The value nan
 will be used to represent no-data values in the input map. You can specify
 a nodata value with the nodata option.
 Exporting to GDAL raster
  100%
 r.out.gdal complete.
 GRASS 7.0.svn (spearfish60):~ > r.external input=elevation.30m.tiff
 output=test
 Projection of input dataset and current location appear to match
 Importing band 1 of 1...
 ERROR: Missing type: field in file
        '/home/soeren/grassdata/spearfish60/user1/cell_misc/test/f_format'
 GRASS 7.0.svn (spearfish60):~ >
 }}}

 Soeren

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/895>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list