[postgis-users] pgsql2shp cuts varchar fields

Obe, Regina robe.dnd at cityofboston.gov
Thu Dec 18 08:08:04 PST 2008


Not absolutely sure, but I think its a limit in the spec.  I think fields > 254 are considered to be memo fields in the dbf world and so would be put in a .dbt.
Its been a while since I've done any DBase or Foxpro programming so my memory could be wrong.
 
I've never actually seen .dbt files included with ESRI shape files, so I assume ESRI discarded that side of the spec.  If its allowed, then we probably should implement it.
 
Hope that helps,
Regina
 
 

________________________________

From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Gustavo Ces
Sent: Thursday, December 18, 2008 10:53 AM
To: PostGIS Users Discussion
Subject: [postgis-users] pgsql2shp cuts varchar fields


Hi all,
 
    maybe this is an old issue... I´m trying to export to shapefile some geometries, but in the result shapefile varchar fields greater than 255 are cutted at this point. I´ve got alternatives but i´d like to know : is there any method to export those fields directly with pgsql2shp or is it a shapefile-format or pgsql2shp limit?
    Thanks in advance,
 
 
Gus


-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20081218/29fa4683/attachment.html>


More information about the postgis-users mailing list