spatial.layers

Procedure

Returns name, and details for all layers

Signature

spatial.layers() :: (name :: STRING, signature :: STRING)

Output parameters

Name Type Description

name

STRING

signature

STRING

Examples

Add and Remove a layer

CALL spatial.addWKTLayer('geom','wkt')
Table 1. Result
node
(:SpatialLayer {
    geomencoder: "org.neo4j.gis.spatial.WKTGeometryEncoder",
    geomencoder_config: "wkt",
    index_class: "org.neo4j.gis.spatial.index.LayerRTreeIndex",
    layer: "geom",
    layer_class: "org.neo4j.gis.spatial.EditableLayerImpl"
})
CALL spatial.layers()
Table 2. Result
name signature

geom

EditableLayer(name='geom', encoder=WKTGeometryEncoder(geom='wkt', bbox='bbox'))

CALL spatial.removeLayer('geom')
Result

No results

CALL spatial.layers()
Result

No results