ayinresh opened a new issue, #15205: URL: https://github.com/apache/lucene/issues/15205
### Description We have this polygon (from https://mesonet.agron.iastate.edu/request/gis/watchwarn.phtml). [polygon_geojson.txt](https://github.com/user-attachments/files/22431411/polygon_geojson.txt) <img width="461" height="394" alt="Image" src="https://github.com/user-attachments/assets/aca33076-6211-4c19-9373-dcda17dd11e1" /> Running Lucene 9.9.2, we were able to tessellate it using `LatLonShape::createIndexableFields`. However, after upgrading to Lucene 10.2.2, we get the following exception: ``` Unable to Tessellate shape. Possible malformed shape detected. java.lang.IllegalArgumentException: Unable to Tessellate shape. Possible malformed shape detected. at org.apache.lucene.geo.Tessellator.earcutLinkedList(Tessellator.java:636) at org.apache.lucene.geo.Tessellator.splitEarcut(Tessellator.java:885) at org.apache.lucene.geo.Tessellator.earcutLinkedList(Tessellator.java:632) at org.apache.lucene.geo.Tessellator.tessellate(Tessellator.java:138) at org.apache.lucene.geo.Tessellator.tessellate(Tessellator.java:88) at org.apache.lucene.document.LatLonShape.createIndexableFields(LatLonShape.java:102) at org.apache.lucene.document.LatLonShape.createIndexableFields(LatLonShape.java:86) ``` ### Version and environment details _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
