[postgis-devel] [PostGIS] #1094: Fix broken curved regress tests

PostGIS trac at osgeo.org
Sat Jul 2 02:05:40 PDT 2011


#1094: Fix broken curved regress tests
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 As a result of the switch to typmod as default behavior of
 AddGeometryColumn -- most of the curved support regress tests are failing.

 Paul can you take care of it.  Not sure what types these should be.

 For example this:


 {{{

 CREATE TABLE public.circularstring (id INTEGER, description VARCHAR);

 SELECT AddGeometryColumn('public', 'circularstring', 'the_geom_2d', -1,
 'CIRCULARSTRING', 2);

 }}}

 Now generates a statement:


 {{{
 ALTER TABLE public.circularstring ADD COLUMN the_geom_2d
 geometry(CircularString, -1);
 }}}

 Which gives error:
 {{{ ERROR:  Invalid geometry type modifier: circularstring }}}

 Not sure what it should be

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