Hi Andrea,

[This is an answer to your suggestion about the community module. (I don't
know if this message will follow the thread...)]

Please, take a look at our comments below. The discussion continued outside
geoserver list.

I believe there are some definitions to do with neo4j first, but the idea
to do a community module is nice too. It also depends on what neo4j-spatial
developers think about it. I'm just a new user... using it.

As an user, I believe that the combination of geoserver and neo4j is great.
Graph databases are excellent to model spatial (and complex non-spatial)
data. Geoserver is awesome to publish them in OGC standards.

I always wanted to contribute to geoserver somehow, but never got time. The
same may happen now with neo4j, but I'm insisting.

Also, I don't know if I will be capable to help. But I hope so!

Cheers!

Rodrigo C. Antonialli
======================================
Rio Claro - SP - Brasil
LinkedIn: http://www.linkedin.com/in/rcaprofile
Contato:  (19) 8136-2347
              [email protected]
              Skype: rc_antonialli


---------- Forwarded message ----------
From: Rodrigo Antonialli <[email protected]>
Date: Thu, Jun 20, 2013 at 2:40 PM
Subject: Re: [Neo4j] Re: Geoserver 2.3.2 and Neo4j [SOLVED]
To: [email protected]


Hi Peter and Michael,

Let me see if I can organize my thoughts.

When deploying neo4j-spatial as a geoserver plugin, I'm giving to geoserver
access to neo4j database files, this way it can build a datastore from this
access.

To deploy, the only step needed is to copy the generated jars from
neo4j-spatial compilation to geoserver lib directory.

Once geoserver is up, it creates a lock accessing neo4j database files.

To solve the lock file situation, I see two exits:

Modify neo4j-spatial (and maybe neo4j-server) to do:

1) run neo4j-server (like in neo4j start command)
2) neo4j-server should expose some kind of connection (like jdbc/odbc.. but
not them) to let other apps to have access to the instanciated graph
database inside neo4j-server.
3) Most features from neo4j-spatial should be embedded neo4j-server.
4) From geoserver side, I would be necessary to build a client to
neo4j-server and build a geoserver datastore using this connection.

This first approach is similar to how a postgres datastore works (I don't
know details about it in geoserver, but I think it's something like that).

The second approach would be to use the references that Michael pointed.

1) Add to neo4j-spatial the ability to start an embedded server to expose
rest api and other server features.
2) Expose the graph database instance created by neo4j-spatial to be
accessed from WPS (or any other geoserver point). Now, its just an local
variable used by Neo4jSpatialDataStore.

This way we could use the neo4j datastore, have access to rest api, and
also use neo4j-spatial features from WPS for example. It would be possible
to use neo4j java api from WPS too.

This second approach would run neo4j-server inside an app that is inside
some server, like apache tomcat. I don't know how things would work.

Am I thinking right or just saying the obvious?

Finally, Peter, I will clean up my test environment, and build a new one
with geotools updates. I'll try to unify the documents and steps.

To make it automatic, I don't know, because it's already simple, to copy
jars to geoserver lib dir. To build neo4j with geoserver, I believe that
maven makes things easy.

Well, I can try some of the things above, and maybe it worth a t-shirt =P

Cheers!

Rodrigo C. Antonialli
======================================
Rio Claro - SP - Brasil
LinkedIn: http://www.linkedin.com/in/rcaprofile
Contato:  (19) 8136-2347
              [email protected]
              Skype: rc_antonialli


On Thu, Jun 20, 2013 at 10:59 AM, Peter Neubauer <
[email protected]> wrote:

> Rodrigo,
> I updated the GeoTools libs to 9.2, can you check if things are smoother
> now? Also, any automated way of deploying Neo4j Spatial into a fresh
> geoserver instance would be elegible for a personal T-Shirt! Just sayin' :)
>
> /peter
>
>
> Cheers,
>
> /peter neubauer
>
> G:  neubauer.peter
> S:  peter.neubauer
> P:  +46 704 106975
> L:   http://www.linkedin.com/in/neubauer
> T:   @peterneubauer
>
> Kids in Malmö this summer?       - http://www.kidscraft.se
> Neo4j questions? Please use SO - http://stackoverflow.com/search?q=neo4j
>
>
> On Thu, Jun 20, 2013 at 12:29 AM, Rodrigo Antonialli <
> [email protected]> wrote:
>
>> Hi!
>>
>> Peter, the diffs are listed in the attached file. (if you can't see it,
>> let me know).
>>
>>  
>> Geoserver_Neo4j_Libs<https://docs.google.com/spreadsheet/ccc?key=0AtZaRYlNjAl9dGJFampiMk1DV3kyTTdNSU82dnhNNEE&usp=drive_web>
>>
>> On Wed, Jun 19, 2013 at 12:21 PM, Peter Neubauer <
>> [email protected]> wrote:
>>
>>> Also, do you know how to start GeoServer as part of a unit test in order
>>> to make an automatic integration test running with neo4j?
>>
>>
>> Actually, no... But, according to Michael's comments about neo4j access ,
>> I'll need to investigate this a little further. I don't know yet if I will
>> have the time do so, but if I have, I can try this tests.
>>
>> My needs are to store spatial and non-spatial data and interact with them
>> through geoserver wms, wfs, and mainly wps.
>>
>> My next test will be the access to neo4j from WPS. If I could get the
>> neo4j database instance from WPS, I could handle it normally, including
>> shapefile import and so on.
>>
>> It would be nice if we could interact with neo4j rest api from
>> front-end too while publishing maps.
>>
>> Michael, any starting point to implement the solutions you proposed?
>> Thats my first contact with neo4j and I'm still learning how it works...
>>
>> Regards!
>>
>> Rodrigo C. Antonialli
>> ======================================
>> Rio Claro - SP - Brasil
>> LinkedIn: http://www.linkedin.com/in/rcaprofile
>> Contato:  (19) 8136-2347
>>               [email protected]
>>               Skype: rc_antonialli
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Neo4j" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to