Ok. Again I will not answer the question exactly the way you would like to
have things done. Anyway this is an approach to use lattice.
1. Use spsample to create a grid
2. Make a data.frame and give the corresponding data values from the shp-file
to the coordinates in the data frame
3. plot with
Thanks for the detailed comments. Before you want me starting to
experiment with your data, I want to ask you what makes you think that
spplot will solve your problem, which I assume is plotting 3D polygons
(although I'm not sure)?
Some more comments inline.
--
Edzer
Jim Burke wrote:
> Hi, I sti
Hi everyone,
Please be patient with that recent email I sent
out that suddenly turned into dropped linefeed
semi garbage as I sent it.
To view this properly, you can copy and paste
to a Notepad or Unix edit session and insert
the line feeds here and there so you can
understand it better.
I open
Hi, I still need some help. Scant progress.
Resources: I have Deepayan's "Lattice" book and Roger,
Edzer, and Virgillio's "Applied Spatial Data Analysis"
if you want to refer me to anything there.
A. I use spplot with spplot.polygon parameters I receive the
following error.
. The argument se
Still not as good as it should be, but at least a try. Some of the code could
be a lot more efficient, but I guess you could use this as a template:
require(maptools)
nc <- readShapePoly(system.file("shapes/sids.shp", package="maptools")[1],
proj4string=CRS("+proj=longlat +datum=NAD27"))
for (
Not exactly what you are looking for, but at least an attempt. Guess you could
also look at the rgl package (never worked for me on Fedora) or misc3d.
Modifying the functions could give you what you want.
require(maptools)
nc <- readShapePoly(system.file("shapes/sids.shp", package="maptools")[1
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 panel
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-Pl