This commit is contained in:
2025-10-22 08:00:05 +02:00
parent 60e0ea9dc9
commit dc65fadaaa

View File

@@ -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),