Opened 15 years ago

Closed 15 years ago

#895 closed defect (fixed)

Error linking GeoTiff file with r.external

Reported by: huhabla Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: Raster Version: svn-trunk
Keywords: r.external Cc:
CPU: x86-32 Platform: Linux

Description

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@PERMANENT
GRASS 7.0.svn (spearfish60):~ > r.out.gdal input=elevation.dem@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

Change History (2)

in reply to:  description ; comment:1 by glynn, 15 years ago

Replying to huhabla:

Fixed in r40733 (7.0).

Recommend back-porting to 6.5 and 6.4.

in reply to:  1 comment:2 by martinl, 15 years ago

Resolution: fixed
Status: newclosed

Replying to glynn:

Replying to huhabla:

Fixed in r40733 (7.0).

Recommend back-porting to 6.5 and 6.4.

Done in r40734 (6.5) and r40735 (6.4).

Note: See TracTickets for help on using tickets.