spatial.encoders.list

Procedure

Returns the registered geometry encoders, one row per encoder

Signature

spatial.encoders.list() :: (id :: STRING, description :: STRING)

Output parameters

Name Type Description

id

STRING

The id of the component

description

STRING

What the component does

Examples

List the available encoders

CALL spatial.encoders.list()
Table 1. Result
id description

NativePointEncoder

An encoder for Point geometries that leverages Neo4j’s native Point data type for efficient storage.

NativePointsEncoder

Encodes JTS LineString geometries as arrays of native Neo4j Point types, providing efficient storage for linear spatial data.

OSMGeometryEncoder

Encoder for OpenStreetMap (OSM) data models. It maps OSM Nodes, Ways, and Relations to JTS Geometries and manages spatial indexing for OSM-specific graph structures.

SimpleGraphEncoder

Encodes LineString geometries as a linked list of point nodes using FIRST and NEXT relationships. Coordinates are stored as x, y, and z properties on individual nodes.

SimplePointEncoder

An encoder for Point geometries that maps coordinates to individual node properties. The property names for X and Y coordinates (e.g., longitude/latitude) are configurable.

SimplePropertyEncoder

Encodes LineString geometries into a single 'data' property as a flattened float array (x1, y1, x2, y2, …​).

WKBGeometryEncoder

Encodes and decodes geometries using the Well-Known Binary (WKB) format stored in a single node property.

WKTGeometryEncoder

Encodes and decodes geometries using the Well-Known Text (WKT) format stored in a single node property.