[EMAIL PROTECTED] schreef:
I am having difficulty loading a points shapefile (1600 records) I generated
from ArcGIS as a PointsSpatialDataFrame using the maptools readShapePoints
function.
library(maptools)
surveypts - readShapePoints(system.file(C:/temp/survey.shp,
package=maptools)[1]
The help page for readShapePoints says that the file name that you
supply should not include the extension.
The system.file part of the example in the help page is only to use
the example file that came with the package. Since you want to open
your own file you omit the system.file() bit.
Do
2 matches
Mail list logo