I'm using neo4j-spatial 0.13 and Neo4J 2.1.8 in production.
I have those two points:
Point(48.89205f,2.373335f)
Point(48.885464f,2.2808545f)
Using the haversine formula, the distance between those two points is: 6.8 kilometers.
I expect this query to return at least the other point:
START targetedPersons = node:personslocation("withinDistance:[2.373335,48.89205, 7.0]")
return targetedPersons.id
but it doesn't.
However, when I pass a slightly greater value, like 11.0
as third argument, it works.
Why? Is it a known serious bug?
I really suspect that the mathematic formula used by withinDistance is slightly different from the haversine formula...
May anyone confirm?