[R-sig-Geo] to many characters in .dbf file?
wxrichte at gw.dec.state.ny.us
Thu Mar 18 20:23:39 CET 2010
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.denslow at gmail.com>
To: r-sig-geo <r-sig-geo at stat.math.ethz.ch>
Date: 3/18/2010 3:13 PM
Subject: [R-sig-Geo] to many characters in .dbf file?
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
This shape file is being imported into Geoserver so I am some what
limited as to the formats that I can use.
Thanks in advance,
I.W. Carpenter Jr. Herbarium [BOON]
Department of Biology
Appalachian State University
Boone, North Carolina U.S.A.
-- AND --
Southeast Regional Network of Expertise and Collections
36.214177, -81.681480 +/- 3103 meters
R-sig-Geo mailing list
R-sig-Geo at stat.math.ethz.ch
More information about the R-sig-Geo