[postgis-tickets] [PostGIS] #2591: shp2pgsql field length problem

PostGIS trac at osgeo.org
Fri Mar 7 15:23:39 PST 2014


#2591: shp2pgsql field length problem
-------------------------+--------------------------------------------------
  Reporter:  agnar       |       Owner:  pramsey      
      Type:  defect      |      Status:  closed       
  Priority:  medium      |   Milestone:  PostGIS 1.5.9
 Component:  postgis     |     Version:  1.5.X        
Resolution:  worksforme  |    Keywords:               
-------------------------+--------------------------------------------------
Changes (by pramsey):

  * status:  new => closed
  * resolution:  => worksforme


Comment:

 I'm going to guess UTF-8 data, so that the high-bit characters take
 2bytes, so sometimes a 20-long string ends up as 21. Without pre-scanning
 the whole file, it's not really fixable. I'd like to see a test file.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2591#comment:3>
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