Skip to content
Prev 23776 / 29559 Next

Change Lines'IDs within a SpatialLines object

Thank you very much Roger, it is really helpful.

I had no idea SpatialLines (or SpatialPolygons) objects could be
manipulated this way. If I may ask, to which extent these objects can
be treated as data frames (I understand they are not?)? I may have
missed it but I haven't seen such thing in the documentation.

Incidentally I think your answer made me understand what
SpatialLinesDataFrame are (I used to think it was a different way to
store the shape's geometry but it is more about linking
attributes/variables to shapes ID's if I am correct).  It will serve
my purpose quite aptly.

Thanks a lot again, I already had more answers than I asked for.

Best regards,
Bastien

2015-12-09 17:40 GMT+01:00 Roger Bivand <Roger.Bivand at nhh.no>: