[postgis-tickets] [PostGIS] #2220: Support writing the LDID (character encoding of shapefiles)

PostGIS trac at osgeo.org
Sun Mar 3 15:33:20 PST 2013


#2220: Support writing the LDID (character encoding of shapefiles)
--------------------------------+-------------------------------------------
 Reporter:  francoisb           |       Owner:  mcayland
     Type:  enhancement         |      Status:  new     
 Priority:  medium              |   Milestone:          
Component:  loader/dumper       |     Version:  2.0.x   
 Keywords:  shapefile encoding  |  
--------------------------------+-------------------------------------------
 It would be great to populate during export from PostGIS the LDID field
 (language driver ID) needed by many shapefile readers.

 This header is an optional feature of .dbf files specifying the character
 encoding of its text attributes (UTF-8, CP1251, etc.). Some popular GIS
 tools (including OGR library, QGIS) are mis-interpreting the encoding of a
 shapefile that is missing this header.

 The dumper pgsql2shp should set this header, as PostreSQL knowns what
 encoding it is writing to.

 A similar functionality is provided by ".cpg" side files, that can carry
 the same encoding information. The dumper could optionally write these
 too.

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