Indexing and querying polygons
Using United States of America state data, this tutorial demonstrates how to index and query geospatial shapes, such as Polygons and MultiPolygons.
Geospatial data is stored in the database in WKT (Well Known Text) format.
To support Polygons and MultiPolygons fields, set the field type in the table index schema to
Polygonal searches use the following geospatial predicates:
Intersects: Matches if the indexed value overlaps the search criteria.
IsWithin: Matches if the indexed value completely encapsulates the search criteria.
IsDisjointTo: Matches if the index value does not overlap or touch the search criteria.
See the DSE Search polygon tutorial for more details.