[postgis-users] [PATCH] shp2pgsql recoding

Steffen Macke sdteffen at web.de
Wed May 14 10:14:03 PDT 2003


Hello All,

the attached patch adds the ability to recode shapefiles when loading
them to PostGIS, e.g:

shp2pgsql -f WINDOWS-1256 -t UNICODE landmark landmark dcmms-devel

-f <encoding> (from) shapefile encoding
-t <encoding> (to) database encoding

Where the encoding is performed by the Postgresql convert() function.

Such recoding is a precondition e.g. to display Arabic map labels correctly.

Steffen
________________________________________________________________
Mit der Grupppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shp2pgsql_encoding.diff.gz
Type: application/x-gzip
Size: 1010 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20030514/1705e395/attachment.bin>


More information about the postgis-users mailing list