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

Porting Spatial to Neo4j 4.0 #376

Closed craigtaverner closed 3 years ago

craigtaverner commented 3 years ago

Since this library was originally written in 2010 when Neo4j was still releasing early 1.x versions, it made use of internal Java API's that were deprecated over the years, some as early as Neo4j 2.x. When Neo4j 4.0 was released, it entirely removed a number of deprecated API's, and completely changed the Transaction API. This meant that the spatial library needed a major refactoring to work with Neo4j 4.x:

Consequences of this port:

This last point means that you need to set the following in your neo4j.conf file:

dbms.security.procedures.unrestricted=spatial.*