[postgis-devel] [PostGIS] #595: [raster] Add a series of ST_SetValues functions
PostGIS
trac at osgeo.org
Tue Sep 4 10:33:36 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:15 dustymugs]:
> If the rasters aren't aligned, there isn't much that can be done.
Why? Just convert the first raster pixel x and y into world coordinates
(the centroid acutally) and then those world coordinates into the second
raster x and y coordinates to look for a value. If the world coordinates
fall outside the second raster extent and keepsourcetnodata is false, just
leave the destination value unchanged. If keepsourcetnodata is true, the
destination becomes nodata. In other word, threat any out of bound
coordinate as nodata. That's what we should always do.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/595#comment:16>
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