public IGeometry Map(IGeometry geom) { if (geom is IPolygon) { IPolygon poly = (IPolygon)geom; return(PolygonInvalidHoleRemover.Clean(poly)); } return(geom); }
public Geometry Map(Geometry geom) { if (geom is Polygon) { var poly = (Polygon)geom; return(PolygonInvalidHoleRemover.Clean(poly)); } return(geom); }