Displaying 1 result from an estimated 1 matches for "wkblinestr".
2009 Jul 14
1
Error when sampling from SpatialLines
...t 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
randacc<-spsample(nwlim2,n=1000,"random")
Error in function (classes, fdef, mtable) :
unable to find an inherited method for function "coordinates", for signature "numeric"
Can anyone help me with this issue? The shape fil...