[postgis-devel] [PostGIS] #1373: Can't apply Scale Y constraint -- raster2pgsql

PostGIS trac at osgeo.org
Tue Dec 13 13:44:12 PST 2011


#1373: Can't apply Scale Y constraint -- raster2pgsql
----------------------------+-----------------------------------------------
 Reporter:  robe            |       Owner:  pracine      
     Type:  defect          |      Status:  new          
 Priority:  medium          |   Milestone:  PostGIS 2.0.0
Component:  postgis raster  |     Version:  trunk        
 Keywords:                  |  
----------------------------+-----------------------------------------------

Comment(by dustymugs):

 Your two ST_ScaleY statements are exactly the statements that are used for
 the scaley constraint.

 Are you able to run...

 {{{
 ALTER TABLE aerials.boston ADD CONSTRAINT enforce_scaley_rast CHECK
 (ST_ScaleY(rast) = -0.3::double precision);
 }}}

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