Skip to content

Conversation

@iverase
Copy link
Contributor

@iverase iverase commented Aug 27, 2025

These polygons contain illegal holes that are outside of the actual polygon. Let's fix them as they will fail in the next lucene version.

@iverase iverase requested a review from craigtaverner August 27, 2025 11:40
@iverase iverase added >test Issues or PRs that are addressing/adding tests :Analytics/Geo Indexing, search aggregations of geo points and shapes v9.2.0 labels Aug 27, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Aug 27, 2025
Copy link
Contributor

@craigtaverner craigtaverner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could have just removed the illegal holes, but for this test data it is certainly fine to remove all holes. I did a little investigation and it seems that the PostGIS function I used to generate these ST_SimplifyPreserveTopology, was not seeing the holes as invalid if they did not cross edges with the shell. This seems to be a limitation or issue with PostGIS (or the underlying GEOS library used for this).

@iverase iverase merged commit 5f92b97 into elastic:main Aug 27, 2025
33 checks passed
@iverase iverase deleted the esql-geotest branch August 27, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Geo Indexing, search aggregations of geo points and shapes Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants