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

PostGIS trac at osgeo.org
Tue Mar 3 03:32:00 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:           |  
---------------------+------------------------------------------------------
 Creating a table with an unconstrained geometry reports an arbitrary
 "coord_dimension" of 2:
 {{{
 strk=# select * from geometry_columns where f_table_name = 'p4d';
  f_table_catalog | f_table_schema | f_table_name | f_geometry_column |
 coord_dimension | srid |   type
 -----------------+----------------+--------------+-------------------+-----------------+------+----------
  strk            | public         | p4d          | g                 |
 2 |    0 | GEOMETRY
 (1 row)
 }}}

 I think the correct value there would be NULL instead.

 For the record, QGIS trusts the value and skips the Force2D step, failing
 to load any similar table...

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