[postgis-devel] [PostGIS] #1100: QuantumGIS no like pretty names

PostGIS trac at osgeo.org
Sat Jul 2 22:57:43 PDT 2011


#1100: QuantumGIS no like pretty names
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 Okay as I feared, we'll have issues with these pretty names.

 Loaded up my new pretty database and told my 1.6 QGIS to just look in
 geometry_columns.  Showed the list with types in upper case.

 When I went to select a table to build a query it said:


 {{{
 tiger.faces has a geometry type, MultiPolygon which Quantum GIS does not
 currently support.
 }}}
 Pops up the same message for both constraint and typmod defined tables.

 FWIW Paul -- I setup the structure so I only need to change the
 geometry_columns view/postgis_constraint_type functions back to the old
 uppercase names.
 So instead of prettifying constraint defined types, I can just uglify the
 typmod based geometry column types.

 The postgis_type_name function is indifferent which name it is given and
 will return which type name  you choose based on the use_new_name optional
 arg.

 Alternatively we could just have QGIS fix, but given people's squimishness
 with upgrades on client software and also that we have much less control
 over other third party controls, I'd recommend swithcing back to old names
 for geometry_columns.

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