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

PostGIS trac at osgeo.org
Fri Jul 8 10:53:36 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):

 Pierre,

 I've a question regarding how realigning a raster using the upper left
 pixel coordinate should happen.

 [[Image(ticket:1114:realign.png)]]

 From the image above, when a raster is being resampled with a new upper
 left corner, should it be like the upper or lower change?  The red outline
 indicates the extent of the resampled raster.

 I've written the resampling code to behave like the upper where shifting
 the corner preserves the dimensions of the raster.

 Thoughts?

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