jts icon indicating copy to clipboard operation
jts copied to clipboard

Expose GeometryOverlay `isOverlayNG` flag

Open micycle1 opened this issue 1 year ago • 0 comments

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.

micycle1 avatar Jan 27 '24 01:01 micycle1