Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose GeometryOverlay isOverlayNG flag #1034

Open
micycle1 opened this issue Jan 27, 2024 · 0 comments
Open

Expose GeometryOverlay isOverlayNG flag #1034

micycle1 opened this issue Jan 27, 2024 · 0 comments

Comments

@micycle1
Copy link

micycle1 commented Jan 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant