Skip to content
Prev 11700 / 29559 Next

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

On Mon, 16 May 2011, Mikhail Titov wrote:

            
OGR says that it will not be returned:

http://www.gdal.org/ogr/drv_shapefile.html
It always was a kludge. I guess that it could once have been intended to 
hold a precision value, but is not used as such systematically. The 
maptools interface could return it, but there is no structure to put it 
in, as it is data at the point level, not the feature level. It is not in 
accord with OGC SFS, I think. It could be an extra function returning any 
such file as a SpatialPointsDataFrame with Z, M, and FID data fields. The 
FID could then be used to link to the data in the DBF.

Roger