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

GRASS GIS trac at osgeo.org
Wed Apr 15 07:58:31 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 hamish):

 Replying to [comment:32 mmetz]:
 > 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.

 Pretend you are r.out.gdal iterating through the raster cells to output.
 You come across a NULL cell. You have to write down some value, and are
 completely constrained to options available in the output type. What do
 you write out? Overflow/wrap the type? type min? type max? well (as things
 were) whatever you do is going to be arbirtary, and thus could lead to
 data loss, which is grounds for a most serious blocker bug.


 > also, because the manual has been updated.

 that is easily modified, so shouldn't stop us.

 > In any case, it would be great if this ticket could be solved
 > before the final release of 6.4.

 yup


 Hamish

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


More information about the grass-dev mailing list