[postgis-devel] Patch: preserve scale and precision when in pgsql2shp
Peter Hopfgartner
peter.hopfgartner at r3-gis.com
Mon Jul 21 07:51:27 PDT 2014
Hi
This patch uses the precision and scale information from the database
server in order to write the shape file. The advantage is twofold: a
major control on the shape file format and less disk space used when
writing DECIMALs/NUMERICs which have a precision of less then 32 digits.
The topic was in some way discussed in
http://postgis.17.x6.nabble.com/Maintain-length-and-precision-for-numneric-fields-in-pgsql2shp-and-shp2pgsql-td3548722.html.
The patch is against branch 1.5. If the approach is ok, I can prepare a
patch for trunk.
Regards,
Peter
R3 GIS
http://www.r3-gis.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postgis-preserve-numeric.patch
Type: text/x-patch
Size: 3069 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20140721/00299fee/attachment.bin>
More information about the postgis-devel
mailing list