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)
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')
| 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: |
locationProperty |
STRING |
location |
The name of the property containing the geometry |
Get the config options of the NativePointsEncoder
CALL spatial.encoders.config('NativePointsEncoder')
| 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: |
geomProperty |
STRING |
geometry |
The name of the property containing the geometry |
Get the config options of the OSMGeometryEncoder
CALL spatial.encoders.config('OSMGeometryEncoder')
| 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')
| 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')
| 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')
| 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')
| 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')
| 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 |