You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
neo4j version: 3.5.25
spatial jar file: neo4j-spatial-0.26.2-neo4j-3.5.2-server-plugin.jar
I seem to be getting inconsistent results (or I'm not understanding the procedures) from spatial.closest and spatial.withinDistance. If I load the following shapefile (.shp is available after unzipping) via
I get zero nodes back. This seems to be the case for any value of distance I use as the final argument. Is this the intended behavior?
best,
-Gabriel
The text was updated successfully, but these errors were encountered:
galtay
changed the title
spatial.closest and spatial withinDistance results not consistent?
spatial.closest and spatial.withinDistance results not consistent?
Dec 20, 2020
Hello,
neo4j version: 3.5.25
spatial jar file: neo4j-spatial-0.26.2-neo4j-3.5.2-server-plugin.jar
I seem to be getting inconsistent results (or I'm not understanding the procedures) from
spatial.closest
andspatial.withinDistance
. If I load the following shapefile (.shp is available after unzipping) viahttps://www2.census.gov/geo/tiger/GENZ2019/shp/cb_2019_01_puma10_500k.zip
spatial.importShapefile
I get 38 nodes and 37 relationships.
When I query with
CALL spatial.withinDistance("cb_2019_01_puma10_500k", {longitude:-88, latitude:30}, 100.0)
I get 4 nodes back.
However, when I query with
CALL spatial.closest("cb_2019_01_puma10_500k", {longitude:-88, latitude:30}, 100.0)
I get zero nodes back. This seems to be the case for any value of distance I use as the final argument. Is this the intended behavior?
best,
-Gabriel
The text was updated successfully, but these errors were encountered: