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

PostGIS trac at osgeo.org
Wed Mar 17 14:31:50 PDT 2010


#467: shp2pgsql: command line option to cope with broken strings in dbf files
-----------------------+----------------------------------------------------
 Reporter:  agnat      |       Owner:  pramsey      
     Type:  patch      |      Status:  new          
 Priority:  medium     |   Milestone:  PostGIS 1.5.2
Component:  postgis    |     Version:  1.5.X        
 Keywords:  shp2pgsql  |  
-----------------------+----------------------------------------------------
 Struggling with a shape (dbf) file with broken string encodings I created
 he attached patch. It adds a command line option to set icons error
 policy:

 {{{
 shp2pgsql -C ignore broken.shp some_table
 }}}

 The above command drops broken characters.

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