[postgis-devel] [PostGIS] #1878: shp2pgsql-gui: Column contents have tangled values

PostGIS trac at osgeo.org
Thu Jun 21 04:18:10 PDT 2012


#1878: shp2pgsql-gui: Column contents have tangled values
----------------------------+-----------------------------------------------
  Reporter:  bmmpxf         |       Owner:  mcayland     
      Type:  defect         |      Status:  closed       
  Priority:  medium         |   Milestone:  PostGIS 2.0.1
 Component:  loader/dumper  |     Version:  2.0.x        
Resolution:  fixed          |    Keywords:               
----------------------------+-----------------------------------------------

Comment(by mcayland):

 Hmmmm good spot, I can actually reproduce this here and it only seems to
 occur with those 2 columns in that particular order. Will take a closer
 look and see if I can fix.

 In terms of the UI layout, the issue is mainly one with GTK being a
 complete pain when trying to calculate the size of fields when resizing
 the outer form. There is no (easy) way I can find to enable you to turn
 off auto-resizing and calculate what the displayable width of the field
 should be (based upon font metrics or similar), and so I went for auto-
 resize for short columns whilst allowing custom resizing on long fields
 such as filename. I'm not against people suggesting changes about how this
 should work, however I can't necessarily promise to implement them if GTK
 doesn't want to play.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1878#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-devel mailing list