-
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
New shape
field type for indexing Cartesian Geometries
#43644
Labels
Comments
nknize
added
>feature
:Analytics/Geo
Indexing, search aggregations of geo points and shapes
:Search Foundations/Mapping
Index mappings, including merging and defining field types
v8.0.0
labels
Jun 26, 2019
Pinging @elastic/es-search |
Pinging @elastic/es-analytics-geo |
imotov
added a commit
that referenced
this issue
Jun 27, 2019
Moves coordinate validation from Geometry constructors into parser. Relates #43644
imotov
added a commit
that referenced
this issue
Jun 28, 2019
Moves coordinate validation from Geometry constructors into parser. Relates #43644
imotov
added a commit
that referenced
this issue
Jul 30, 2019
Move indexShape functionality into AbstractGeometryFieldMapper to make it more unit testable. Relates to #43644
imotov
added a commit
that referenced
this issue
Jul 30, 2019
Move indexShape functionality into AbstractGeometryFieldMapper to make it more unit testable. Relates to #43644
jkakavas
pushed a commit
that referenced
this issue
Jul 31, 2019
Move indexShape functionality into AbstractGeometryFieldMapper to make it more unit testable. Relates to #43644
nknize
changed the title
New
New Aug 27, 2019
geometry
field type for indexing Cartesian Geometriesspatial
field type for indexing Cartesian Geometries
nknize
changed the title
New
New Aug 27, 2019
spatial
field type for indexing Cartesian Geometriesshape
field type for indexing Cartesian Geometries
complete and merged in 7.x by #45363 |
imotov
added a commit
to imotov/elasticsearch
that referenced
this issue
Sep 6, 2019
Enables support for cartesian geometries shape type. We still need to decide how to handle the distance function since it is currently using the haversine distance formula and returns results in meters, which doesn't make any sense for cartesian geometries. Closes elastic#46412 Relates to elastic#43644
colings86
removed
the
:Search Foundations/Mapping
Index mappings, including merging and defining field types
label
Sep 11, 2019
56 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
tldr
This meta issue captures all tasks needed to support a new
shape
field type (in a newspatial
x-pack module) for providing search capabilities of arbitrary 2D cartesian geometry (points, lines, polygons, and their multi variants). It has a lot in common with geospatial applications; including the ability to supportINTERSECTS
,WITHIN
,DISJOINT
, and (eventually)CONTAINS
.Background
With the addition of BKD geo shapes and its ability to decompose geometries into triangular tessellations, all the pieces are in place for creating a new field that lifts the -180, 180 longitude, -90, 90 latitude restriction and adds support for indexing cartesian (non lat, lon ellipsoidal) geometries. Elasticsearch could benefit from a
shape
field (as a companion togeo_shape
) that addresses the general X, Y geometry use case (users currently hijackgeo_point
orgeo_shape
for this).shape
field use cases include:Scope
shape
is a general 2D cartesian coordinate system (3D can be added in future)-Float.MAX_VALUE
:+Float.Max_Value
Tasks
XY{Geometry}
; currently they only buildLatLon{Geometry}
ShapeFieldMapper
built on top of Lucene's XYShape fieldShapeQueryBuilder
to build XYShape lucene queriesThe text was updated successfully, but these errors were encountered: