Skip to content

Conversation

@Andy2003
Copy link
Collaborator

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 Andy2003 requested a review from jexp May 29, 2024 16:50
@Andy2003 Andy2003 force-pushed the feature/add-support-for-point-arrays branch 2 times, most recently from 848eb29 to bcb30fd Compare May 31, 2024 14:45
Copy link
Contributor

@craigtaverner craigtaverner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice enhancement. I did have some suggestions though.

@Andy2003 Andy2003 force-pushed the master branch 5 times, most recently from 6844765 to bee28a4 Compare June 20, 2024 15:01
@Andy2003 Andy2003 force-pushed the feature/add-support-for-point-arrays branch from bcb30fd to f42214c Compare February 17, 2025 16:40
@Andy2003 Andy2003 merged commit a1cc0e5 into neo4j-contrib:master Feb 17, 2025
1 check passed
@Andy2003 Andy2003 deleted the feature/add-support-for-point-arrays branch February 17, 2025 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants