On Mon, 28 Mar 2011, Karl Ove Hufthammer wrote:
pls1 <- lapply(pls, checkPolygonsHoles)
Error in RGEOSBinPredFunc(spgeom1, spgeom2, byid, "rgeos_equals") :
TopologyException: side location conflict at 78.9364 33.4081
then I can reproduce it, and will examine whether it can be handled - the
checkPolygonsHoles() function also uses GEOS, but probably should warn
after failing try(gEquals(...)).
Was this your error?
Yes.
I also eventually managed to get a segfault when trying various stuff like
this, but it may have been unrelated. (At least, I can?t reproduce it.)
Thanks. Updating to maptools 0_8-5 and rgeos 0_1-3 (sources on CRAN now)
should provide better protection against non-conformant data causing a
seg-fault in GEOS - GEOS really likes its polygons *very* tidy.