[R-sig-Geo] Using the Z value for 3-D polygons?

Edzer Pebesma edzer.pebesma at uni-muenster.de
Tue Mar 3 08:27:44 CET 2009


Jim,

I'm sorry that this not answer your question; refering to this graphic
gallery, I discovered that fig21 is no longer matches current states in
sp, so I updated the complete set on sourceforge (and the sources in
cvs, target spweb). For fig21, I also had to update the generating code,
as panels now need to have matching factor levels (to have a common scale).

Figures now look a little different here and there, as I changed from
using driver GDD to png, which, when using cairo, now also provides
anti-aliasing.
--
Edzer

Jim Burke wrote:
> Hi Everyone,
>
> QUESTION: How can I plot a spatial polygon (SpatialPolygonsDataFrame)
> as 3-d? Perhaps using "spplot.polygons" with its z value?
>
> GOAL: To have a series of polygons look like approximately like the
> last example in the PDF below.
> http://ocw.mit.edu/NR/rdonlyres/Urban-Studies-and-Planning/11-521Spatial-Database-Management-and-Advanced-Geographic-Information-SystemsSpring2003/ACA80C9F-4089-403E-9669-50763381D08A/0/lect13c.pdf
>
>
> EXAMPLE SUGGESTION: Use "spplot.pologons" with the venerable
> SourceForge NC fig21.R example and using its color coding values as
> the polygon $z value? Assuming lat and long are in the sp.
> http://r-spatial.sourceforge.net/gallery/#fig21.R
>
> Then if its not as straightforward as above, what would be the steps
> to convert a spatial polygon to points or something to graph that way?
>
> Thanks,
> Jim Burke
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

-- 
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.springer.com/978-0-387-78170-9 e.pebesma at wwu.de



More information about the R-sig-Geo mailing list