Skip to content
Prev 432 / 29559 Next

maptools package rejects some polygon shapefiles?

Calling Arc users!

Could somebody please make available some small example 3D points and arcs
for me to try out on read.shape() (or a link to a public repository of
type POINTZ, ARCZ, and POLYGONZ shapefiles). 3D polygons now work, thanks
to an example file from Rick Reeves, but I have no way of creating 3D
points or lines to check the function in action, and I don't want to 
release an untried function (inviting seg.faults).

The idea is to support 3D points directly, but to drop the Z values for 
lines and polygon boundaries - the original example was anyway for the 
coastline of North America in latlong, so the Z value wasn't so important. 
Having discussed transect or track data at the Valencia "sp" meeting, we 
think that a transect should be a SpatialPoints object (which can take 3D 
points), not a line; this will need extra attention when plotting.

Roger
On Thu, 12 May 2005, Nicholas Lewin-Koh wrote: