I have created a geohash graph for NYC Cabs data, now the next step is to plot it within a map, for that i choosed to use Leaflet as a javascript mapping library.
my problem is getting data from Neo4j database to JavaScript code.
i found in stackov...
I am trying to create a geohash graph with level 5 of zoom from an existing one with level 7. i tried this code :
FROM GRAPH mergedGraph
MATCH (from)-[via]->(to)
CASE WHEN substring(from.geohash,0,5)=substring(to.geohash,0,5)
THEN
CONSTRUCT
CRE...
I am using Neo4j/Cypher , my data is about 200GB , so i thought of scalable solution "spark".
Two solutions are available to make neo4j graphs with spark :
Cypher for Apache Spark (CAPS)
Neo4j-Spark-Connector
I used the first one ,CAPS .
The pr...
Thanks @michael.hunger for you reply ,that helped me to find the solution:
the magic of authentification need to be passed in header with ajax function beforeSend :
var body = JSON.stringify({
statements: [{
statement: '...
I solved my problem with this steps:
Create a graph with Level 5 from the existing one :
//Creation Geohash Graph with level 5 from the initial graph (level 7)
val Level5 = session.cypher("""
| FROM GRAPH mergeGraph
...
Hello @micheal, the project i work at is Cypher for Apache Spark , we can create graphs with construct .
for apoc it is a user defined function , user defined functions don't work in CAPS.
for more details i have updated my question