spatial icon indicating copy to clipboard operation
spatial copied to clipboard

Add support for native point array properties

Open Andy2003 opened this issue 8 months ago • 0 comments

This introduces a new Encoder that allows to index native point arrays like this:

CREATE (node:Foo { points: [point({latitude: 5.0, longitude: 4.0}), point({latitude: 6.0, longitude: 5.0})]});

CALL spatial.addLayer('line','NativePoints','points') YIELD node
MATCH (n:Foo)
WITH collect(n) AS nodes
CALL spatial.addNodes('line', nodes) YIELD count RETURN count;

Andy2003 avatar May 29 '24 16:05 Andy2003