[postgis-devel] [PostGIS] #1319: [raster] Make raster_columns a view and AddRasterColumn enforce more

PostGIS trac at osgeo.org
Tue Nov 22 00:15:10 PST 2011


#1319: [raster] Make raster_columns a view and AddRasterColumn enforce more
----------------------------+-----------------------------------------------
 Reporter:  robe            |       Owner:  robe         
     Type:  task            |      Status:  new          
 Priority:  high            |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------
 All are we in agreement on this -ditch the raster_columns table and
 replace with a view that reads from table constraints. We will make
 raster_columns a view that reads the properties from the constraints on
 the tables.

 constraints in mind so far SRID, band types, scale x, scale y.

 The other change to make this useful which I think we discussed and
 including in this ticket is to have

 AddRasterColumns enforce band types which will provide the necessary info
 and enforcement of band types, num bands for the raster_columns table)

 Please add to this other columns we will be keeping.

 Just like geometry, people have the choice of relaxing constraints and
 those will just appear as NULL in the view or in case of SRID our unknown.

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