spatial
spatial copied to clipboard
Adding nodes to an index
Hi! I've got two questions :)
- I haven't been able to find many (recent) examples of best practices when it comes to adding nodes to an index. Should I add the node itself to the spatial index, or add a new node to the index that points to the node I'd like to add? There seems to be a bug related to the various ways Spatial allows you to add a node to an index. See this StackOverflow page for an example of what I mean:
http://stackoverflow.com/questions/17966722/neo4j-spatial-withindistance-cypher-query-returns-empty-while-rest-call-return
- Conceptually, what's the difference between the layer and the index?
I also struggle with the difference between layer and the index. But in practice I haven't been able to query the layer using Cypher.