Search code examples
neo4jspatialgeoserver

What directory path to set in geoserver for Neo4j data source?


I have installed neo4j spatial in my Geoserver2.6 and now I am trying to see an example of a database. I created in geoserver a workspace and then I want to add a new store. I select the neo4j store but then I don't know what to put in the field "Connection Parameters" (The directory path of the Neo4j database). Till now I was using postgis, which you add the host name and the port. What should I put in this field? Any help will be mostly appreciated. Thanks D.

EDIT: I found out that the directory path must have this form: file:C:/Program Files/NEO4J_HOME/neo4j-community-1.9.9/data/graph.db/neostore.id

The path points to the neostore.id file inside the database. The problem remains. Nothing happens when I select the save button in geoserver.


Solution

  • The original wiki that contained the answer to this was shut down a while back. But there is a copy at http://oss.infoscience.co.jp/neo4j/wiki.neo4j.org/content/Neo4j_Spatial_in_GeoServer.html. This is old information, but should still contain the answer you are looking for.