[postgis-devel] [PostGIS] #2050: Unable to add constraint: 'extent'. Skipping

PostGIS trac at osgeo.org
Tue Oct 16 21:53:00 PDT 2012

#2050: Unable to add constraint: 'extent'.  Skipping
 Reporter:  mgm1701  |       Owner:  pracine      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.2
Component:  raster   |     Version:  2.0.x        
 Keywords:           |  

Comment(by dustymugs):

 Based upon the message "Unable to get the extent of a sample raster", try
 the following

 SELECT st_ashexewkb(st_convexhull(st_collect(st_convexhull(rast)))) FROM

 That is the query underlying the extent constraint.

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