Re: polygon self-crossing

2017-06-04 Thread rgamarra
Thanks for prompt answer. Any recommendation to perform that operation in java? The different simplify @ jst don't work as expected (eg they lose one of lobes). Best On Jun 4, 2017 9:54 PM, "Nitin Kumar" wrote: > Yes, decompose into multi polygon. > > On 05-Jun

Re: polygon self-crossing

2017-06-04 Thread rgamarra
may or may not ultimately get an error at some point; results are undefined. https://locationtech.github.io/spatial4j/apidocs/com/ spatial4j/core/context/jts/ValidationRule.html -- Rodolfo Federico Gamarra On Sun, Jun 4, 2017 at 9:41 PM, rgamarra wrote: > Hi there all, > > I'

polygon self-crossing

2017-06-04 Thread rgamarra
Hi there all, I'm using the RPT field type to perform geospatial polygonal searches (e.g. https://cwiki.apache.org/confluence/display/solr/Spatial+Search)/ How do you recommend with self-crossing polygons (8 figure or bow-tie, for example)? Decompose it in a multi polygon? Setting to "none" vali