[Neo4j] neo4j and GeoServer
2ae.archi at orange.fr
Sun Dec 5 17:53:16 CET 2010
Hi, thanks for the answer.
I could run the test and create my first geographical layer in neo4j ; it's
I'm going to see how to get the layer in GeoServer and will certainly have
some questions !
De : user-bounces at lists.neo4j.org [mailto:user-bounces at lists.neo4j.org] De
la part de Craig Taverner
Envoyé : dimanche 5 décembre 2010 12:13
À : Neo4j user discussions
Objet : Re: [Neo4j] neo4j and GeoServer
There is a wiki page at
briefly how to setup GeoServer so that the Neo4j and Neo4j Spatial libraries
are in the classpath and then how to expose layers from Neo4j in GeoServer.
However, it assumes you used Neo4j Spatial features to create the layers in
the database in the first place. This must be done with Java code (or in the
case of the wiki page example, use the included test cases to create test
layers). I suggest run through the case described in the wiki page, and then
review the test code used to create the layers in neo4j and see if that
answers your questions.
But I can also say that the answer to the question on 'how do we define the
nodes properties' is that it is 'up to you'. We provide an extensible
mechanism so that you can use whatever graph structure you want to create
spatial data and provide an adapter to expose that as geometries to the GIS.
To make life easier we have a few built in adapters you can pick if you do
not want to build your own. There is a WKB adapter that stores the
geometries as WKB in a single property of a node, there is a lat/long one
that only supports points on one node, and there is a simple sub-graph one
that allows polygons in sub-graphs, and finally the most complex one we have
is the OSM model that supports the entire open streetmap graph in a very
similar structure to OSM itself, but exposed as multiple layers to the GIS.
On Sun, Dec 5, 2010 at 11:11 AM, Anne Ancey <2ae.archi at orange.fr> wrote:
> I'm interested in documentation concerning the integration of neo4j in
> How do we define the Nodes properties to be mapped in geographical data in
> GeoServer ?
> Paul Lambert
> Neo4j mailing list
> User at lists.neo4j.org
Neo4j mailing list
User at lists.neo4j.org
More information about the User