elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.63k stars 24.64k forks source link

SQL: Implement GEO functions #48521

Open matriv opened 4 years ago

matriv commented 4 years ago

List of functions comes from: http://www.h2gis.org/docs/1.5.0/geom2D/

elasticmachine commented 4 years ago

Pinging @elastic/es-search (:Search/SQL)

polyfractal commented 4 years ago

We should probably have a discussion about which of the above functions are a blocker to making GeoSQL GA, and which we can work on after GA. E.g. it seems unlikely that we will implement all of them (potentially ever?) so need to draw a line in the sand somewhere :)

iverase commented 3 years ago

In https://github.com/elastic/elasticsearch/pull/72886 we have added painless support for geo_shape field, which should unlock.a few functions. In particular you can access the centroid and bonding box of a geo field.

timonmasberg commented 2 years ago

Especially the Predicates would be awesome since most of them have equivalent functions in the DSL.

Kiriakos1998 commented 1 year ago

Hello @rjernst @iverase @polyfractal @matriv, is this issue still in progress? I would like to work on implementing some geo functions in SQL.

costin commented 1 year ago

No, the issue is on hold at the moment.

elasticsearchmachine commented 8 months ago

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