Search code examples
neo4jcypherneo4j-spatial

Neo4j 3.0.0 + SPATIAL in Cypher


I've compiled the latest Neo4j Spatial (neo4j-spatial-0.16-neo4j-3.0.0-server-plugin.jar) from source and dropped it into my Neo4j 3.0.0 plugins folder.

The extension is listed in the browser, and I can do POST calls for spatial functionality.

However, I believe I should also be able to use the nifty new CALL feature in Neo4j 3.0.0 to make Cypher calls, like this:

CALL spatial.addPointLayer('cities');

As alluded to by Stefan's update here:

How do I create a spacial index in neo4j using only cypher?

And shown here:

http://jexp.github.io/graphgist/idx?dropbox-14493611%2Fcypher_spatial.adoc

However, I get a "There is no procedure with the name spatial.addPointLayer registered for this database instance." error, and can see the same calls failing in the jexp example as well... I'm not sure if I'm just too early to the party or missing something?


Solution

  • The plugin needs to be in the database-specific Plugin folder and not in the "Neo4j CE 3.0.x/Plugins" folder.