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

PostGIS trac at osgeo.org
Wed Jul 6 15:42:47 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 changing the alignment of a raster:

 {{{
 1. ST_Realign(
         rast raster,
         upperleftx double precision,
         upperlefty double precision,
         skewx double precision DEFAULT NULL,
         skewy double precision DEFAULT NULL,
         algorithm text DEFAULT 'NearestNeighbour',
         maxerr double precision DEFAULT 0.125
 ) -> raster
 }}}

   upperleftx: the X component of the corner of the upper-left pixel of the
 resampled raster. default is NULL indicating that the user isn't
 realigning the raster

   upperlefty: the Y component of the corner of the upper-left pixel of the
 resampled raster. default is NULL indicating that the user isn't
 realigning the raster

   skewx: the X component of the resampled raster's skew. default is NULL
 indicating that the skew of the original raster will be applied to the the
 resampled raster

   skewy: the Y component of the resampled raster's skew. default is NULL
 indicating that the skew of the original raster will be applied to the the
 resampled raster

 {{{
 2. ST_Realign(
         rast raster,
         upperleftx double precision,
         upperlefty double precision,
         algorithm text,
         maxerr double precision DEFAULT 0.125
 ) -> raster
 }}}

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