[GRASS-dev] [GRASS GIS] #1077: sync nice features of r.out.tiff, r.out.png

GRASS GIS trac at osgeo.org
Sun May 23 13:20:26 EDT 2010


#1077: sync nice features of r.out.tiff, r.out.png
-----------------------------------+----------------------------------------
 Reporter:  hamish                 |       Owner:  grass-dev at lists.osgeo.org
     Type:  enhancement            |      Status:  new                      
 Priority:  normal                 |   Milestone:  6.5.0                    
Component:  Raster                 |     Version:  svn-trunk                
 Keywords:  r.out.tiff, r.out.png  |    Platform:  All                      
      Cpu:  All                    |  
-----------------------------------+----------------------------------------
 Hi,

 r.out.tiff has a -t flag to create a world file.
 r.out.png has a -t flag to make NULL cells transparent.

 it would be really useful if they both could have both flags. For use with
 gdal2tiles.py + OpenLayers you need both but only can get one or the
 other!  Probably it is some pretty easy cutting and pasting of code
 between the two modules.

 GDAL supports extensions of .pgw, .pngw or .wld for PNG World files.
 http://gdal.org/frmt_various.html#PNG

 (& finally, rename the flags in grass7 to make them consistent)


 r.out.gdal is no good here because for OpenLayers you care about the
 colors not the data, and gdal is cranky with color maps.


 thanks,
 Hamish

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


More information about the grass-dev mailing list