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

#895: Error linking GeoTiff file with r.external
------------------------+---------------------------------------------------
Reporter: huhabla | Owner: grass-dev@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@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

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

#895: Error linking GeoTiff file with r.external
----------------------+-----------------------------------------------------
  Reporter: huhabla | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.external
  Platform: Linux | Cpu: x86-32
----------------------+-----------------------------------------------------
Comment (by glynn):

Replying to [ticket:895 huhabla]:

Fixed in r40733 (7.0).

Recommend back-porting to 6.5 and 6.4.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/895#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#895: Error linking GeoTiff file with r.external
----------------------+-----------------------------------------------------
  Reporter: huhabla | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Resolution: fixed | Keywords: r.external
  Platform: Linux | Cpu: x86-32
----------------------+-----------------------------------------------------
Changes (by martinl):

  * status: new => closed
  * resolution: => fixed

Comment:

Replying to [comment:1 glynn]:
> Replying to [ticket:895 huhabla]:
>
> Fixed in r40733 (7.0).
>
> Recommend back-porting to 6.5 and 6.4.

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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/895#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>