[postgis-devel] [PostGIS] #895: [raster]: FV.01 functions

PostGIS trac at osgeo.org
Fri Apr 1 11:36:50 PDT 2011


#895: [raster]: FV.01 functions
----------------------------+-----------------------------------------------
 Reporter:  dustymugs       |       Owner:  pracine              
     Type:  patch           |      Status:  new                  
 Priority:  medium          |   Milestone:  PostGIS Raster Future
Component:  postgis raster  |     Version:  trunk                
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by dustymugs):

 I'd like some feedback on the TIFF, PNG, and JPEG ST_AsXXX functions.
 I've already implemented the most generic functions but and particularly
 interested in opinions regarding the "compression" and "bands" arguments.

 Are there any other function parameters that should be considered?

 {{{
 -- ST_AsTIFF
 ST_AsTIFF(rast raster)
 ST_AsTIFF(rast raster, options text[])
 ST_AsTIFF(rast raster, options text[], srs text)

 ST_AsTIFF(rast raster, bands int[])
 ST_AsTIFF(rast raster, bands int[], options text[])
 ST_AsTIFF(rast raster, bands int[], options text[], srs text)

 ST_AsTIFF(rast raster, compression text) /* e.g. DEFLATE9 or JPEG75 */
 ST_AsTIFF(rast raster, compression text, srs text)
 ST_AsTIFF(rast raster, bands int[], compression text)
 ST_AsTIFF(rast raster, bands int[], compression text, srs text)

 -- ST_AsJPEG
 ST_AsJPEG(rast raster)
 ST_AsJPEG(rast raster, options text[])

 ST_AsJPEG(rast raster, bands int[])
 ST_AsJPEG(rast raster, bands int[], options text[])

 ST_AsJPEG(rast raster, compression int)
 ST_AsJPEG(rast raster, bands int[], compression int)

 -- ST_AsPNG
 ST_AsPNG(rast raster)
 ST_AsPNG(rast raster, options text[])

 ST_AsPNG(rast raster, bands int[])
 ST_AsPNG(rast raster, bands int[], options text[])

 ST_AsPNG(rast raster, compression int)
 ST_AsPNG(rast raster, bands int[], compression int)

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/895#comment:7>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list