-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
[Question\Sugestion] Support WKT point conversion to geo_point type #41821
Comments
Pinging @elastic/es-analytics-geo |
I'm working on this issue. |
@Hohol I think just point should be enough to start with. If you use WellKnownText parser, you can try parsing the string as WKT and then throw an exception if it is not a Point. We can expand it later to MultiPoints and other geometries if there is a need. |
This PR adds support for parsing geo_point values from WKT POINT format. Also, a few minor bugs in geo_point parsing were fixed. Closes #41821
This PR adds support for parsing geo_point values from WKT POINT format. Also, a few minor bugs in geo_point parsing were fixed. Closes #41821
Having WKT
POINT
support only forgeo_shape
and not forgeo_point
is a bit confusing because WKT specification has GeoPoint representation.Would't it be good to have an option to use WKT's point syntax
POINT (X, Y)
forgeo_point
for consistency as support even for more complex WKT primitives and multipart geometries is already present forgeo_shape
?The text was updated successfully, but these errors were encountered: