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

PostGIS trac at osgeo.org
Fri Apr 1 17:51:14 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):

 In the latest patch, I've dramatically expanded on the ST_AsTIFF,
 ST_AsJPEG and ST_AsPNG functions.  I've created functions for:

 {{{
 -- 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)
 ST_AsTIFF(rast raster, compression text, options text[])
 ST_AsTIFF(rast raster, compression text, options text[], srs text)

 ST_AsTIFF(rast raster, bands int[], compression text)
 ST_AsTIFF(rast raster, bands int[], compression text, options text[])
 ST_AsTIFF(rast raster, bands int[], compression text, options 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, compression int, options text[])

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

 -- 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, compression int, options text[])

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

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/895#comment:8>
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