Re: [JPP-Devel] How to avoid non-noded intersection error in Overlay?

2021-05-19 Thread Michaud Michael
I also sometimes forget tools I have added myself into OpenJUMP ;-)So, here is the result of the "difference" between your two layers (computation time > 1h).I replaced the legacy "difference" operator of the erase tool by a method of the new overlayng package https://locationtech.github.io/jts/j

Re: [JPP-Devel] How to avoid non-noded intersection error in Overlay?

2021-05-19 Thread Rahkonen Jukka (MML)
Funny, I have made the feature request and certainly tested and used that tool myself some 5 years ago 😊 https://sourceforge.net/p/jump-pilot/feature-requests/229/. -Jukka- Lähettäjä: Rahkonen Jukka (MML) Lähetetty: keskiviikko 19. toukokuuta 2021 16.29 Vastaanottaja: Michaud Michael ; OpenJu

Re: [JPP-Devel] How to avoid non-noded intersection error in Overlay?

2021-05-19 Thread Rahkonen Jukka (MML)
Hi Michaël, I had not noticed the erase tool but I am happy to know that it exists. I reduced the precision to 8 decimal places and just discarded the invalid geometries. However, I get still a similar error found non-noded intersection between LINESTRING ( 130.83397613647227 -0.01215176729437

Re: [JPP-Devel] How to avoid non-noded intersection error in Overlay?

2021-05-19 Thread Michaud Michael
Jukka,Indeed, I have added a tool which does exacly what you describe in Tools > Edit Geometry > Erase a layer from a mask, but unfortunately, it suffers from the same robustness problem. It should also be possible from Tools > Analysis > Geometry Functions... (Difference) after transforming one

Re: [JPP-Devel] How to avoid non-noded intersection error in Overlay?

2021-05-19 Thread Rahkonen Jukka (MML)
Hi, Sorry, I knew that Overlay worked and meant really the Polygon overlay. I have seen the non-noded intersection exceptions even before. They stop the whole process and I have been thinking that from users perspective it might be good to have an option to skip the errors and get at least some

Re: [JPP-Devel] How to avoid non-noded intersection error in Overlay?

2021-05-19 Thread Michaud Michael
Jukka,I could successfully run overlay, but not polygon overlay.I think there maybe a solution with JTS snaprounding code, but there is no easyway to use it from OpenJUMP (to my knowledge, node-lines is the only plugin to use a snap-rounding approach, but for a reason, I could not use it with a v