Extending sp's SpatialPoints with altitude information
On Fri, 15 Apr 2016 at 10:36 Eamon Caddigan <eamon.caddigan at gmail.com> wrote:
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. library(sp) x <- matrix(rnorm(27), ncol = 3) SpatialPoints(x) 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 quickly. See here for some early thoughts, it's still very much in-progress and design: http://mdsumner.github.io/2015/12/28/gis3d.html http://mdsumner.github.io/2016/03/03/polygons-R.html Cheers, Mike.
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?
Thanks,
Eamon Caddigan
[[alternative HTML version deleted]]
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Dr. Michael Sumner Software and Database Engineer Australian Antarctic Division 203 Channel Highway Kingston Tasmania 7050 Australia [[alternative HTML version deleted]]