2.5 · Lesson

Spatial types

Neo4j has built-in support for two-dimensional and three-dimensional spatial data types. These are referred to as points. A point may represent geographic coordinates (longitude, latitude) or Cartesian coordinates (x, y).

Depending on the values used to create the point, it can either be a CartesianPoint or a WGS84Point. If you specify three values, these are considered three dimensional points. Otherwise, they are considered two dimensional points.