neo4j-contrib / spatial

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.
http://neo4j-contrib.github.io/spatial
Other
777 stars 191 forks source link

WithinDistance error with WKT string #381

Open v2belleville opened 3 years ago

v2belleville commented 3 years ago

see picture for error

it happens on a 3.20 DB created with just

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

file here http://v2belleville.eu/tests/c2c.v2021.waypoints.ZoneEtude.WKT.csv

but getting a same error with similar query in 4.2

withinDistanceError