Skip to content
Back to formatted view

Raw Message

Message-ID: <4DD16CE7.7040507@uni-muenster.de>
Date: 2011-05-16T18:28:55Z
From: Edzer Pebesma
Subject: How do I read/work with PolyLineZM with maptools/sp?
In-Reply-To: <001801cc13f6$2ff6d590$8fe480b0$@us>

On 05/16/2011 08:22 PM, Mikhail Titov wrote:
>> I would try s$M and s$Z to access M and Z when they are attributes.
> But what do I do when they are not? It can work for points, but not a line as I can't have attributes for individual points of a line. I would prefer not to do any extra conversions in GIS before using R.
> 

as(s, "SpatialPointsDataFrame")

> Do I get it right that for now it is better to stick with shapefiles to read PolylineZM?
> 
> Mikhail
> 
> 

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of M?nster
Weseler Stra?e 253, 48151 M?nster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de