Displaying 1 result from an estimated 1 matches for "nwlim2".
Did you mean:
nwlim
2009 Jul 14
1
Error when sampling from SpatialLines
... unable to find an inherited method for function "coordinates", for signature "numeric"
I found a similar error message in the archives, where prof. dr. Bivand indicated to try to use readOGR instead of readShapeLines, however, I get the same error message.
nwlim2<-readOGR("C:/Limburg_nwshape.shp", "Limburg_nwshape")
OGR data source with driver: ESRI Shapefile
Source: "C:/Limburg_nwshape.shp", layer: "Limburg_nwshape"
with 60745 rows and 24 columns
Feature type: wkbLineString with 2 dimensions
rand...