spatial icon indicating copy to clipboard operation
spatial copied to clipboard

WithinDistance error with WKT string

Open v2belleville opened this issue 4 years ago • 0 comments

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

v2belleville avatar Jun 09 '21 08:06 v2belleville