A shapefile limits the width of a character field to 254 characters: http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Geoprocessing%20considerations%20for%20shapefile%20output. Perhaps you will need to export your long field into a different format.
>>> From: Michael Denslow <michael.dens...@gmail.com> To: r-sig-geo <r-sig-geo@stat.math.ethz.ch> Date: 3/18/2010 3:13 PM Subject: [R-sig-Geo] to many characters in .dbf file? Dear r-sig-geo, I am in a bit of a bind. I am trying to write a shape file using writeOGR() in rgdal. I just realized that I may have too many characters in the cells as they are getting cut off when the shape file is created. The cells are unchanged in the SpatialPointsDataFrame. But when I inspect the .dbf they are all truncated. The cells that are cut off contain literature citations, so some are very long (hundreds of characters). Is there a solution to this problem? This shape file is being imported into Geoserver so I am some what limited as to the formats that I can use. Any advice? Thanks in advance, Michael -- Michael Denslow I.W. Carpenter Jr. Herbarium [BOON] Department of Biology Appalachian State University Boone, North Carolina U.S.A. -- AND -- Communications Manager Southeast Regional Network of Expertise and Collections sernec.org 36.214177, -81.681480 +/- 3103 meters _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo