[R-sig-Geo] Error message in rgeos

Leonardo Monasterio leonardo.monasterio at gmail.com
Thu Apr 7 22:31:25 CEST 2011

Dear all,

I am getting the following error message when I try:

> lineborder<-gBoundary(map1)
Erro em TopologyFunc(spgeom, id, byid, "rgeos_boundary") :
  IllegalArgumentException: Operation not supported by GeometryCollection

map1 is a polygon created from a shape file.

Also I get:
> gIsSimple(map1)
Erro em RGEOSUnaryPredFunc(spgeom, byid, "rgeos_issimple") :
  IllegalArgumentException: This method does not support
GeometryCollection arguments
> gIsValid(map_outer_ring)
[1] TRUE

I am running R.2.12.2  under Windows.
Thanks in advance!

More information about the R-sig-Geo mailing list