[postgis-devel] [PostGIS] #595: [raster] Add a series of ST_SetValues functions

PostGIS trac at osgeo.org
Tue Aug 28 08:18:11 PDT 2012


#595: [raster] Add a series of ST_SetValues functions
---------------------+------------------------------------------------------
 Reporter:  pracine  |       Owner:  pracine      
     Type:  task     |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.1.0
Component:  raster   |     Version:  trunk        
 Keywords:  history  |  
---------------------+------------------------------------------------------

Comment(by pracine):

 Replying to [comment:10 dustymugs]:
 > Looking at the variant taking values from a second raster in the plpgsql
 prototype, I had a question.  Is the second raster a simple data source
 since there is no validation of pixel types, SRID, width, height?

 This variant works in world coordinate so if the SRID, the width, the
 height are different it should not matter. In the worst case nothing is
 copied. If the pixel type are different, the source value should be casted
 to the destination pixel type.

 This variant will be, with ST_AddBand(from another raster), our only way
 to copy values from another raster.

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