[postgis-devel] [PostGIS] #1114: [raster] ST_Resample

PostGIS trac at osgeo.org
Wed Jul 6 15:32:51 PDT 2011


#1114: [raster] ST_Resample
----------------------------+-----------------------------------------------
 Reporter:  dustymugs       |       Owner:  pracine              
     Type:  task            |      Status:  new                  
 Priority:  medium          |   Milestone:  PostGIS Raster Future
Component:  postgis raster  |     Version:  trunk                
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by dustymugs):

 For setting the raster's scale only:

 {{{
 1. ST_Rescale(
         rast raster,
         scalex double precision,
         scaley double precision,
         algorithm text DEFAULT 'NearestNeighbour',
         maxerr double precision DEFAULT 0.125
 ) -> raster
 }}}

   scalex: the resampled raster's scale in the X axis. default is 0
 indicating that the user isn't specifying the resampled raster's scale

   scaley: the resampled raster's scale in the Y axis. default is 0
 indicating that the user isn't specifying the resampled raster's scale


 {{{
 2. ST_Rescale(
         rast raster,
         scalexy double precision,
         algorithm text DEFAULT 'NearestNeighbour',
         maxerr double precision DEFAULT 0.125
 ) -> raster
 }}}

 scalexy: the reprojected raster's scale in the X and Y axes. default is 0
 indicating that the user isn't specifying the reprojected raster's scale

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