Skip to content
Back to formatted view

Raw Message

Message-ID: <1316036172985-6794570.post@n2.nabble.com>
Date: 2011-09-14T21:36:13Z
From: Fischbach, Anthony
Subject: Coerce spatialPolygons to spatialLines

I am producing plots of spatialPolygons over a spatialPixelDataFrame
and wish to convert the spatialPolygons object to a spatialLines object
as a work around of two plotting problems.

Problem 1: Donut holes in the polygons are plotting as white, 
rather than as a null color that would allow the spatialPixelDataFrame
object's colors to show through.

Problem 2: I wish to set the polygon outline color so that it better
contrasts with the color ramp of the spatialPixelDataFrame object plot.


-----
Tony Fischbach, Wildlife Biologist
Walrus Research Program
Alaska Science Center
U.S. Geological Survey
4210 University Drive
Anchorage, AK 99508-4650

AFischbach at usgs.gov
http://alaska.usgs.gov/science/biology/walrus
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Coerce-spatialPolygons-to-spatialLines-tp6794570p6794570.html
Sent from the R-sig-geo mailing list archive at Nabble.com.