Re: [R-sig-Geo] How to get the code of function .spFindCG in package sp?

2006-11-08 Thread Rick Reeves
Hao: The PBSMapping package has reasonably stratightforward polygon area calculations. In fact, I just assembled a tutorial on this topic on my Web site: http://nceas.ucsb.edu/scicomp/GISSeminar/UseCases/PointPolyRegionsOfInterest/RPointPolyROIDemo.html As an aside: here at NCEAS we are activ

Re: [R-sig-Geo] How to get the code of function .spFindCG in package sp?

2006-11-08 Thread Roger Bivand
On Wed, 8 Nov 2006, Wang, Hao wrote: > Hi, > > How to dig out the code of the function of .spFindCG, which is used in the > function > Polygon. It isn't exported from the sp namespace, so you need to access it within the namespace: sp:::.spFindCG > > I also wanna to know how to calculate t

[R-sig-Geo] How to get the code of function .spFindCG in package sp?

2006-11-08 Thread Wang, Hao
Hi, How to dig out the code of the function of .spFindCG, which is used in the function Polygon. I also wanna to know how to calculate the area of a polygon, and how could I know if there are intersections of boundary in a polygon? Best regards, Hao ___