[GRASS-dev] Re: [GRASS GIS] #73: r.out.gdal tiff output does not work

GRASS GIS trac at osgeo.org
Wed Apr 15 06:26:12 EDT 2009


#73: r.out.gdal tiff output does not work
--------------------------+-------------------------------------------------
  Reporter:  helena       |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  new                      
  Priority:  critical     |   Milestone:  6.4.0                    
 Component:  Raster       |     Version:  svn-trunk                
Resolution:               |    Keywords:  r.out.gdal, tiff         
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Comment (by mlennert):

 Replying to [comment:32 mmetz]:
 > Replying to [comment:31 mlennert]:
 > > Is this still an issue, or have Markus' patches solved the problem ?
 >
 > My patch only adds safety checks to make sure that the selected GDAL
 data type covers the range of the raster band to be exported and that the
 given null value is within the range of the selected GDAL data type. That
 would be an enhancement, not a bugfix.
 >
 > AFAICT, r.out.gdal as it is now (without the patch) can produce
 perfectly readable output, but it is possible to produce bogus output
 without these two safety checks. This is now a trade-off between code
 complexity and additional checks of user-specified options. I would opt to
 keep the code simple, also because the manual has been updated.
 >
 > In any case, it would be great if this ticket could be solved before the
 final release of 6.4.

 Yes, but what I'm trying to understand is what exactly needs to be solved.
 From the discussion, I gather that most of the problem is not a bug in
 r.out.gdal, but rather the incapacity of certain viewers to display
 certain types of data. r.out.gdal does export an image to be viewed, but
 raster data for analysis and a viewer cannot handle this.

 Or am I misunderstanding something ?

 Moritz

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/73#comment:33>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list