spatial.encoders.config

Procedure

Returns the config options of the given encoder (see spatial.encoders.list)

Signature

spatial.encoders.config(encoderId :: STRING) :: (name :: STRING, description :: STRING, type :: STRING, defaultValue :: ANY)

Input parameters

Name Type Default Description

encoderId

STRING

null

The id of the encoder

Output parameters

Name Type Description

name

STRING

The name of the config option

description

STRING

What the config option controls

type

STRING

The Cypher type of the config option

defaultValue

ANY

The value used if the config option is not set

Examples

Get the config options of the NativePointEncoder

CALL spatial.encoders.config('NativePointEncoder')
Table 1. Result
name type defaultValue description

bboxProperty

STRING

bbox

Property name for storing the bounding box of the indexed node

crs

STRING

wgs84

The CRS to be used, valid values are: wgs84

locationProperty

STRING

location

The name of the property containing the geometry

Get the config options of the NativePointsEncoder

CALL spatial.encoders.config('NativePointsEncoder')
Table 2. Result
name type defaultValue description

bboxProperty

STRING

bbox

Property name for storing the bounding box of the indexed node

crs

STRING

wgs84

The CRS to be used, valid values are: wgs84

geomProperty

STRING

geometry

The name of the property containing the geometry

Get the config options of the OSMGeometryEncoder

CALL spatial.encoders.config('OSMGeometryEncoder')
Table 3. Result
name type defaultValue description

bboxProperty

STRING

bbox

Property name for storing the bounding box of the indexed node

Get the config options of the SimpleGraphEncoder

CALL spatial.encoders.config('SimpleGraphEncoder')
Table 4. Result
name type defaultValue description

bboxProperty

STRING

bbox

Property name for storing the bounding box of the indexed node

Get the config options of the SimplePointEncoder

CALL spatial.encoders.config('SimplePointEncoder')
Table 5. Result
name type defaultValue description

bboxProperty

STRING

bbox

Property name for storing the bounding box of the indexed node

xProperty

STRING

longitude

The name of the property containing the x-coordinate

yProperty

STRING

latitude

The name of the property containing the y-coordinate

Get the config options of the SimplePropertyEncoder

CALL spatial.encoders.config('SimplePropertyEncoder')
Table 6. Result
name type defaultValue description

bboxProperty

STRING

bbox

Property name for storing the bounding box of the indexed node

Get the config options of the WKBGeometryEncoder

CALL spatial.encoders.config('WKBGeometryEncoder')
Table 7. Result
name type defaultValue description

bboxProperty

STRING

bbox

Property name for storing the bounding box of the indexed node

geomProperty

STRING

geometry

The name of the property containing the geometry

Get the config options of the WKTGeometryEncoder

CALL spatial.encoders.config('WKTGeometryEncoder')
Table 8. Result
name type defaultValue description

bboxProperty

STRING

bbox

Property name for storing the bounding box of the indexed node

geomProperty

STRING

geometry

The name of the property containing the geometry