[R] How to draw holes generated by gpclib using plot function

About this list Date view Thread view Subject view Author view Attachment view

From: Hisaji ONO (hi_ono2001@ybb.ne.jp)
Date: Tue 11 May 2004 - 13:54:20 EST


Message-id: <004501c4370b$a42bac30$258001db@webgis>

Hi.

 I've tried to create a polygon with one hole by gpclib using following
example script.

 holepoly <- read.polyfile(system.file("poly-ex/hole-poly.txt", package
="gpclib"), nohole = FALSE)
 area.poly(holepoly)
 plot(holepoly,poly.args=list(col="red",border="blue"))

 And I noticed plot function couldn't draw polygons with holes correctly.

 Does anyone know how to solve this situation?

 Regards.

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:08 EST