[postgis-devel] [PostGIS] #2060: GetTopoGeomElementArray: ERROR: value for domain topoelementarray violates check constraint "dimensions"

PostGIS trac at osgeo.org
Sun Oct 21 10:38:24 PDT 2012


#2060: GetTopoGeomElementArray: ERROR:  value for domain topoelementarray violates
check constraint "dimensions"
----------------------+-----------------------------------------------------
 Reporter:  strk      |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.2
Component:  topology  |     Version:  2.0.x        
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by strk):

 Sorry, the above is for "TopoElement", while for "TopoElementArray" it is:
 {{{
 CREATE DOMAIN topology.TopoElementArray AS integer[][]
   CONSTRAINT DIMENSIONS CHECK (
     array_upper(VALUE, 2) IS NOT NULL
     AND array_upper(VALUE, 2) = 2
     AND array_upper(VALUE, 3) IS NULL
   );
 }}}

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