[postgis-tickets] [PostGIS] #3068: Arbitrary "coord_dimension" for geometry_columns with unconstrained 4D point

PostGIS trac at osgeo.org
Tue Mar 3 04:45:11 PST 2015


#3068: Arbitrary "coord_dimension" for geometry_columns with unconstrained 4D
point
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.7
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 With r13298 (trunk/2.2.0dev) I've committed a change to
 postgis_typmod_dims to return NULL.
 The geometry_columns output is still unchanged to gather more opinions
 first.

 The changeset includes an update to the geometry_column view definition to
 not assume a return of 2 from postgis_typmod means unconstrained, which
 sounds like a bug on itself (it works because the query later assumes 2 if
 the column is not constrained by checks, so it refuses first typmod
 constraint, fails to find check-based constraints and defaults to 2).

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3068#comment:6>
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-tickets mailing list