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.
Implemented a shortcut for the spatial.intersects procedure to improve performance.
The update bypasses the full geometry intersection check when the requested polygon is a rectangle (without hole) and the target geometry is entirely contained within the search window.
This optimization reduces unnecessary computations, enhancing the efficiency of spatial intersection operations.
Test-Coverage:
No new test was added, since the relevant code was already covered by existing tests
Implemented a shortcut for the
spatial.intersects
procedure to improve performance.The update bypasses the full geometry intersection check when the requested polygon is a rectangle (without hole) and the target geometry is entirely contained within the search window. This optimization reduces unnecessary computations, enhancing the efficiency of spatial intersection operations.
Test-Coverage:
No new test was added, since the relevant code was already covered by existing tests