search for: limburg_nwshap

Displaying 1 result from an estimated 1 matches for "limburg_nwshap".

Did you mean: limburg_nwshape
2009 Jul 14
1
Error when sampling from SpatialLines
Dear forum,   I am working in R 2.9.1 and I am trying to sample locations from a network file. Reading in nor plotting is a problem, however when I am trying to sample from the file I get the following message:   nwlim<-readShapeLines("C:/Limburg_nwshape", proj4string=CRS("+init=epsg:31300")) plot(nwlim)   randacc<-spsample(nwlim,n=1000,"random") Error in function (classes, fdef, mtable)  :   unable to find an inherited method for function "coordinates", for signature "numeric"     I...