Skip to content
Prev 11697 / 29559 Next

How do I read/work with PolyLineZM with maptools/sp?

Edzer:

Thank you for your suggestions, but it doesn't help much. It does not recover either Z or M as attributes or anyhow else.
[1] "Id"       "Lines.NR" "Lines.ID" "Line.NR"
[1] "data"        "coords.nrs"  "coords"      "bbox"        "proj4string"
coords.x1 coords.x2
[1,]  408794.5   4893921
[2,]  409088.3   4893599
[3,]  409165.2   4893484
[4,]  409434.7   4893214
[5,]  409684.9   4893060
[6,]  409742.6   4893060
Id Lines.NR Lines.ID Line.NR
0    1        1        0       1
0.1  1        1        0       1
0.2  1        1        0       1
0.3  1        1        0       1
0.4  1        1        0       1
0.5  1        1        0       1
NULL
NULL

I double checked that I'm working with correct shapefile that has Z values.

Mikhail