why gIntersection is giving TopologyException if both polygons are valid?
问题 I'm trying set97 <- gIntersection(setbp,d97) and getting the error message: Error in RGEOSBinTopoFunc(spgeom1, spgeom2, byid, id, "rgeos_intersection") : TopologyException: found non-noded intersection between LINESTRING (533036 -314770, 533036 -314770) and LINESTRING (533036 -314780, 533036 -314770) at 533035.88110651996 -314769.97350772272 (setbp is a sector of a county - for census purposes - and d97 is the deforestation in brazilian Amazon up to 1997.) When I do gIsValid(d97) gIsValid