README
This commit is contained in:
@@ -55,6 +55,8 @@ MATCH (a:Individu {id: 22}), (b:Individu {id: 100}),
|
|||||||
path = shortestPath((a)-[:AMI*..15]-(b))
|
path = shortestPath((a)-[:AMI*..15]-(b))
|
||||||
RETURN path;
|
RETURN path;
|
||||||
|
|
||||||
|
MATCH (a:Point {nom:'Boulangerie'}), (b:Point {nom:'Salle des fêtes'})
|
||||||
|
RETURN point.distance(a.location, b.location)
|
||||||
|
|
||||||
### Réseau routier
|
### Réseau routier
|
||||||
|
|
||||||
@@ -62,7 +64,7 @@ RETURN path;
|
|||||||
LOAD CSV WITH HEADERS
|
LOAD CSV WITH HEADERS
|
||||||
FROM 'file:///points.csv' AS row
|
FROM 'file:///points.csv' AS row
|
||||||
MERGE (p:Point { id: toInteger(row.id) })
|
MERGE (p:Point { id: toInteger(row.id) })
|
||||||
SET p.nom = row.nom
|
SET p.nom = row.nom,
|
||||||
p.altitude = toInteger(row.altitude),
|
p.altitude = toInteger(row.altitude),
|
||||||
p.location = point({
|
p.location = point({
|
||||||
longitude: toFloat(row.longitude),
|
longitude: toFloat(row.longitude),
|
||||||
|
|||||||
Reference in New Issue
Block a user