[postgis-devel] [PostGIS] #467: shp2pgsql: command line option to cope with broken strings in dbf files

PostGIS trac at osgeo.org
Thu Apr 22 13:16:54 PDT 2010


#467: shp2pgsql: command line option to cope with broken strings in dbf files
----------------------+-----------------------------------------------------
  Reporter:  agnat    |       Owner:  strk         
      Type:  patch    |      Status:  assigned     
  Priority:  medium   |   Milestone:  PostGIS 1.5.2
 Component:  postgis  |     Version:  1.5.X        
Resolution:           |    Keywords:  shp2pgsql    
----------------------+-----------------------------------------------------
Comment (by agnat):

 The [http://www.gadm.org/data/shp/MLI_adm.zip Mali file] is corrupted and
 a lot smaller.

 {{{
 $ shp2pgsql MLI_adm1.shp > /dev/null
 Shapefile type: Polygon
 Postgis type: MULTIPOLYGON[2]
 Unable to convert field value "..." to UTF-8: iconv reports "Illegal byte
 sequence"
 }}}

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