jts
jts copied to clipboard
Expose GeometryOverlay `isOverlayNG` flag
The GeometryOverlay class has a flag for switching overlay engine between the original algorithm and OverlayNG.
However this flag is only configurable via the system property "jts.overlay" , which is rather awkward since one cannot change it during runtime and it won't even work if the class happens to be loaded before the user wants to set it (I've had to resort to reflection since System.setProperty("jts-overlay", "ng")
is not working).
I think it should be exposed in some way, making the class public and either the setOverlayImpl()
method public or the isOverlayNG
flag public for instance.