Neo4j Spatial is a library of utilities for Neo4j that faciliates the enabling of spatial operations on data. In particular you can add spatial indexes to already located data, and perform spatial operations on the data like searching for data within specified regions or within a specified distance of a point of interest. In addition classes are provided to expose the data to geotools and thereby to geotools enabled applications like geoserver and uDig.
CALL spatial.addLayer("points","wkt","WKT");
all apoc.load.csv("c2c.v2021.waypoints.ZoneEtude.WKT.csv") YIELD map
call spatial.addWKT("points",map.WKT) yield node
with node, map
set node.id=map.id,node.name=map.name;
match (n {id:"37411"})
with n.WKT as geom
call spatial.withinDistance("points",geom,0.1) yield node
see picture for error
it happens on a 3.20 DB created with just
file here http://v2belleville.eu/tests/c2c.v2021.waypoints.ZoneEtude.WKT.csv
but getting a same error with similar query in 4.2