Apache Ignite SQL Documentation

The Apache Ignite SQL Developer Hub

Welcome to the Apache Ignite SQL developer hub. You'll find comprehensive guides and documentation to help you start working with Apache Ignite SQL as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Geospatial Support

Overview

In addition to the standard ANSI-99 SQL queries that are supported by Ignite and executed over primitive data types or objects of custom types, the platform also allows querying and indexing geometry data types such as points, lines, and polygons considering the spatial relationship between these geometries.

Spatial queries' capabilities, as well as available functions and operands, are defined by Simple Features Specification for SQL. Presently, Ignite supports the intersection operation (&&) of the specification with the usage of JTS Topology Suite.

Including Ignite Geospatial Library

Ignite geospatial library (ignite-geospatial) depends on JTS that is available under the LGPL license that is not aligned with Apache license and prevents from including ignite-geospatial into Apache Ignite binary deliveries.

Due to this reason, a binary version of ignite-geospatial library is hosted in the Maven repository shown below:

<repositories>
	<repository>
    <id>GridGain External Repository</id>
    <url>http://www.gridgainsystems.com/nexus/content/repositories/external</url>
	</repository>
</repositories>

Add this repository and the Maven dependency below to your pom.xml file to make sure that the geospatial library is included into your application:

<dependency>
	<groupId>org.apache.ignite</groupId>
  <artifactId>ignite-geospatial</artifactId>
  <version>${ignite.version}</version>
</dependency>

Alternatively, you can download Apache Ignite from the source releases and built the library on your own.