-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Support explicit Z/M attributes using WKT geometry #125896
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
Conversation
|
@iverase Hi, here is a new PR that adds explicit Z/M dimensionality support for all geometry types. I'd appreciate your review when you have time. |
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
|
@elasticmachine ok to test |
|
@elasticmachine test this please |
iverase
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I triggered test on the PR, it is looking good, I like the simplicity of the approach, thanks!
|
ci complains about this: |
|
@elasticmachine test this please |
|
@iverase thanks! added fix to handle EOF, could you take a look and rerun CI please? |
|
CI is running. I added manually the changelog file. |
|
@elasticmachine test this please |
|
Thank you @omricohenn ! |
|
cool, thanks for the quick review @iverase ! |
This PR adds support for explicit 'Z' and 'M' dimensionality declarations in WKT geometry types according to OGC Simple Features standard. When 'Z' or 'M' is specified for any geometry type (Point, LineString, Polygon, etc.), three coordinates are now required. The parser validates this requirement and throws appropriate exceptions with clear error messages when insufficient coordinates are provided. Comprehensive tests have been added for all relevant geometry types. (#123111)