[postgis-devel] [PostGIS] #1174: [raster] C-level index-to-geocoordinate functions

PostGIS trac at osgeo.org
Fri Aug 26 19:02:49 PDT 2011


#1174: [raster] C-level index-to-geocoordinate functions
----------------------------+-----------------------------------------------
 Reporter:  bnordgren       |       Owner:  pracine      
     Type:  enhancement     |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  1.5.X        
 Keywords:                  |  
----------------------------+-----------------------------------------------
 Primarily, this patch adds a geocoordinate-to-index function for raster at
 the C level.

 The attached patch changes the internal structure of `rt_raster` such that
 it stores forward and reverse affine transformations between pixel index
 coordinates and geospatial coordinates. The inverse transform is also
 stored in "struct rt_raster_t" and is automatically recomputed when the
 accessors are used to change the affine transform parameters. Tidied up
 the code in rt_api.c to ensure it uses accessors.

 The serialized structure is left unchanged, but it is no longer possible
 to memcpy between struct rt_raster_t and struct rt_raster_serialized_t.

 All tests pass. Patch applies against r7789

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