Skip to content
Prev 5604 / 29559 Next

Read shapefile with correct proj4string for the data

On Fri, 24 Apr 2009, Jim Burke wrote:

            
library(rgdal)
EPSG <- make_EPSG()
EPSG[grep("Texas North Central", EPSG$note),]

so most likely CRS("+init=epsg:2276")

(the offsets are given in ftUS in your source, in m in EPSG)

Using readOGR() in rgdal would read the *.prj file too, but readOGR() 
doesn't (yet) handle as many DBF field types as readShapeSpatial() in 
maptools (dates are a problem).

Hope this helps,

Roger