[R-sig-Geo] spplot - polygons with colored borderlines

Ingo Holz Ingo.Holz at uni-hohenheim.de
Tue May 26 14:10:41 CEST 2009


Hi,

 I am using function spplot (library sp) to plot polygons:

 spplot(SPDF, "var", col.regions=topo.colors(100))

 SPDF is a SpatialPolygonsDataFrame

 Some of my polygons are very small and you can not see the color of the 
polygon (only the black borderlines).

 I could use 

 spplot(as(SPDF, "SpatialLinesDataFrame"), "variable1", 
col.regions=topo.colors(100))

 to get colored borderlines.

 Is there a possibility to get filled colored polygons with borderlines in the 
same color?

 Thank you for your help.
 Best wishes,
 Ingo



More information about the R-sig-Geo mailing list