Details
Description
The valid area cutting is done using a JTS intersection, an operation that might sometime throw exceptions due to its not 100% robust implementation. When the intersection fails try with enhanced precision ops and if that fails too just leave the geometry as is.