From dc65fadaaacfbe432b2111b45bb30d0055474238 Mon Sep 17 00:00:00 2001 From: medina5 Date: Wed, 22 Oct 2025 08:00:05 +0200 Subject: [PATCH] README --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e2e246..e30cbcb 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,8 @@ MATCH (a:Individu {id: 22}), (b:Individu {id: 100}), path = shortestPath((a)-[:AMI*..15]-(b)) RETURN path; +MATCH (a:Point {nom:'Boulangerie'}), (b:Point {nom:'Salle des fêtes'}) +RETURN point.distance(a.location, b.location) ### Réseau routier @@ -62,7 +64,7 @@ RETURN path; LOAD CSV WITH HEADERS FROM 'file:///points.csv' AS row MERGE (p:Point { id: toInteger(row.id) }) -SET p.nom = row.nom +SET p.nom = row.nom, p.altitude = toInteger(row.altitude), p.location = point({ longitude: toFloat(row.longitude),