Skip to content

Error using gpclib fuctions

2 messages · Breitbach, Nils, Nikhil Kaza

#
Dear Community,

trying to get through the examples from "Applied Spatial Data Analysis with R" I got problems with the gpclib package. 

The library was loaded correctly:
General Polygon Clipper Library for R (version 1.5-1)
	Type 'class ? gpc.poly' for help

... but then when I tried to use the unionSpatialPolygons function I recieved the following error message:
Error: isTRUE(gpclibPermitStatus()) is not TRUE

I am aware that GPC is not generally free but free for academic research, which is hopefully what I am doing here. Do I have to place a licence file somewhere to satisfy the gpclibPermitStatus function? Or do I need to install the GPC software in addition to the package?

Cheers,

Nils Breitbach
#
Just issue the command once in the session.

gpclibPermit()

Alternatively, you could wait for the rgeos package.

Nikhil Kaza
Asst. Professor,
City and Regional Planning
University of North Carolina

nikhil.list at gmail.com
On Aug 19, 2010, at 7:12 AM, Breitbach, Nils wrote: