Is there in the API a ready-to-use function to check if lines intersect while editing a polygonal geometry? I was thinking to something like the isSimple function of GEOS (also used by PostGIS), but that would raise a callback if one line touches another (given a certain tolerance) while editing, not at the end. Giovanni