Procedures & Functions
After installing the plugin JAR (see Get Started), the following procedures and functions are available in Cypher.
spatial
| Qualified Name | Type |
|---|---|
Adds a new layer with the given |
Procedure |
Adds a new layer with the given encoder class and configuration, returns the layer root node |
Procedure |
Adds a new native point layer, returns the layer root node |
Procedure |
Adds a new native point layer with geohash based index, returns the layer root node |
Procedure |
Adds a new native point layer with hilbert curve based index, returns the layer root node |
Procedure |
Adds a new native point layer with the given configuration, returns the layer root node |
Procedure |
spatial.addNativePointLayerXY Deprecated Adds a new point layer with the given properties for x and y coordinates, returns the layer root node |
Procedure |
Adds a new native point layer with z-order curve based index, returns the layer root node |
Procedure |
Adds the given node to the layer, returns the geometry-node. Adding a node that is already in the layer re-indexes it, e.g. after its location changed. Re-add a moved node to every layer that holds it |
Procedure |
Adds the given nodes list to the layer, returns the count. Adding a node that is already in the layer re-indexes it, e.g. after its location changed. Re-add a moved node to every layer that holds it |
Procedure |
Adds a new simple point layer, returns the layer root node |
Procedure |
Adds a new simple point layer with geohash based index, returns the layer root node |
Procedure |
Adds a new simple point layer with hilbert curve based index, returns the layer root node |
Procedure |
Adds a new simple point layer with the given configuration, returns the layer root node |
Procedure |
Adds a new simple point layer with the given properties for x and y coordinates, returns the layer root node |
Procedure |
Adds a new simple point layer with z-order curve based index, returns the layer root node |
Procedure |
Adds the given WKT string to the layer, returns the created geometry node |
Procedure |
Adds a new WKT layer with the given node property to hold the WKT string, returns the layer root node |
Procedure |
Adds the given WKT string list to the layer, returns the created geometry nodes |
Procedure |
spatial.asExternalGeometry Deprecated Returns a geometry object as an external geometry type to be returned to a client |
Procedure |
Returns a geometry object as the Neo4j geometry type, to be passed to other functions or procedures or returned to a client |
Function |
Returns a Map object representing the Geometry, to be passed to other procedures or returned to a client |
Function |
Finds all geometry nodes in the given layer within the lower left and upper right coordinates of a box. A valid value for the coordinate is a:
|
Procedure |
Finds all geometry nodes in the layer within the distance to the given coordinate |
Procedure |
Finds all geometry nodes in the given layer that matches the given CQL |
Procedure |
Returns a geometry of a layer node as the Neo4j geometry type, to be passed to other procedures or returned to a client |
Function |
Returns attributes of the node |
Function |
Returns feature attributes of the given layer |
Procedure |
Returns the number of features in the layer |
Procedure |
Returns the bounding box of the layer |
Procedure |
Imports the the provided osm-file from URI to a layer of the same name, returns the count of data added |
Procedure |
Imports the the provided osm-file from URI to a layer, returns the count of data added |
Procedure |
Imports the the provided shape-file from URI to a layer of the same name, returns the count of data added |
Procedure |
Imports the the provided shape-file from URI to the given layer, returns the count of data added |
Procedure |
Returns all geometry nodes that intersect the given geometry (shape, polygon) in the layer |
Procedure |
Returns the layer root node for the given layer |
Procedure |
Returns the layer details for the given layer |
Procedure |
Returns the different registered layer types |
Procedure |
Returns name, and details for all layers |
Procedure |
Converts a point or point array to WKT |
Function |
Returns a geometry of a layer node as WKT |
Function |
Lists all spatial procedures with name and signature |
Procedure |
Removes the given layer. Deletes the nodes the layer created (e.g. by |
Procedure |
Removes the given node from the layer, returns the geometry-node |
Procedure |
Removes the given nodes from the layer, returns the count of nodes removed |
Procedure |
spatial.setFeatureAttributes Deprecated Sets the feature attributes of the given layer |
Procedure |
Updates a node with the geometry defined by the given WKT, returns the node |
Procedure |
Upgrades an older spatial data model and returns a list of layers upgraded |
Procedure |
Returns all geometry nodes and their ordered distance in the layer within the distance to the given coordinate |
Procedure |
Converts a WKT to GeoJson structure |
Function |
spatial.addNode
| Qualified Name | Type |
|---|---|
spatial.addNode.byId Deprecated Adds the given node to the layer, returns the geometry-node |
Procedure |
spatial.addNodes
| Qualified Name | Type |
|---|---|
spatial.addNodes.byId Deprecated Adds the given nodes list to the layer, returns the count |
Procedure |
spatial.encoders
| Qualified Name | Type |
|---|---|
Returns the config options of the given encoder (see |
Procedure |
Returns the registered geometry encoders, one row per encoder |
Procedure |
spatial.indexTypes
| Qualified Name | Type |
|---|---|
Returns the config options of the given index type (see |
Procedure |
Returns the registered index types, one row per index type |
Procedure |
spatial.removeNode
| Qualified Name | Type |
|---|---|
spatial.removeNode.byId Deprecated Removes the given node from the layer, returns the geometry-node |
Procedure |
spatial.removeNodes
| Qualified Name | Type |
|---|---|
spatial.removeNodes.byId Deprecated Removes the given nodes from the layer, returns the count of nodes removed |
Procedure |