Skip to content
Prev 8891 / 29559 Next

change in sp::Lines() breaks example in my package

Thanks, Edzer

What was not clear from either the documentation or the error message 
was what you just
said:  "each Lines *colllection* only has a single ID" . The .Rd just says

|ID| a unique character identifier

but 'unique' in what context?  help(Lines) gives no examples, so there 
was no way for me to figure this out.
It might help to revise the documentation, and you are welcome to use 
any part of this example if
it helps.  At a minimum, if I understand correctly, I suggest something like

|ID| a single character identifier, unique among other SpatialLines objects,
     applying to the collection of lines in \code{slinelist}

Your 'short way out' works for me, and I have no need to index 
particular streets.

best,
-Michael
Edzer Pebesma wrote: