I'm hoping someone can provide some updated clarification on adding nodes to Spatial. The best instructions I can find is:
Neo4j Spatial 'WithinDistance' Cypher query returns empty while REST call returns data
However it's almost 2 years old and has some contradictory information with an acknowledged bug (https://github.com/neo4j-contrib/spatial/issues/106), which appears to still be open.
I also found this tutorial:
http://mattbanderson.com/setting-up-the-neo4j-spatial-extension/
Which says we should add the node to the layer AND insert the Neo4j ID# into the node as a property, but NOT insert the node to the geom index.
My main priority here is that I be able to query via Cypher (within the browser) but we will eventually want to be able to query via REST as well. So, ideally i'd like to insert the nodes in such a way that we can do both.
So, my questions are:
1) What are the correct steps here to allow querying via both REST and Cypher?
2) If I call /addSimplePointLayer and then /index/node to add the Spatial index (both via cURL or REST), can I use LOAD CSV to insert nodes and be able to query Spatial Plugin via both REST and Cypher?
3) If I am using REST to insert my nodes, what calls (and in what order) would I need to make in order to ensure that I can query via both REST and Cypher (web browser)?
Thanks, I'm looking forward to getting this all worked out!!