[R-sig-Geo] Extending sp's SpatialPoints with altitude information
mdsumner at gmail.com
Fri Apr 15 03:30:06 CEST 2016
On Fri, 15 Apr 2016 at 10:36 Eamon Caddigan <eamon.caddigan at gmail.com>
> Hi all,
> I am looking to extend the SpatialPoints and SpatialPointsDataFrame classes
> to include altitude information. Somebody recommended I check in with this
> group for pointers before getting too far along on this.
It's possible for Points in sp, but not for polygons or lines.
x <- matrix(rnorm(27), ncol = 3)
But, the general support outside this in sp is very limited once you break
out of the plane.
I'm working on tools to make this much easier, and to translate from sp to
other forms and back. If you'd like to expand on what you're doing I'm
happy to help. It's possible to do this easily for lines and polygons, and
translate to rgl and ggplot2 and other forms, but it's best to use
relational tables IMO and that gets you outside the playing field pretty
See here for some early thoughts, it's still very much in-progress and
> I've looked around and haven't seen any other efforts to tackle this
> specific problem, although I have seen the sp vignette about extending
> classes. Am I missing something? Is this a bad idea?
> Eamon Caddigan
> [[alternative HTML version deleted]]
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
Dr. Michael Sumner
Software and Database Engineer
Australian Antarctic Division
203 Channel Highway
Kingston Tasmania 7050 Australia
[[alternative HTML version deleted]]
More information about the R-sig-Geo