Sorry forwarding to the list, accidentally only sent to Peter.

From: [email protected]
To: [email protected]
Subject: RE: [Neo4j] Neo4j spatial
Date: Fri, 18 Mar 2011 08:54:51 -0700








Peter/Craig,Want to continue this thread, so I need to:
1) Load a lot of data initially about a nodes in paths inside a park2) I need 
to query this to calculate shortest paths, run complex traversals based on 
various properties of each node
3) I need to be able to update the graph (perform CRUD operations on the fly)4) 
I need to be periodically able to flush the contents of the graph and reload 
If I stay with my approach of using a background thread in java to perform 
operations 1,4 what are the tradeoffs between doing 2 and 3 in java versus 
using the REST server.  I would presumably be using gremlin and pipes in both 
approaches.

Any thoughts on this.Regards
> Date: Thu, 17 Mar 2011 07:19:16 +0100
> Subject: Re: [Neo4j] Neo4j spatial
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> 
> Saikat,
> which approach to use - atomic REST calls or a server plugin to work
> in the background - depends on the load of things. If you are
> importing stuff in the beginning, I would not use REST. If you are
> thinking about "normal" operations with moderate load, I think REST
> will be fine.
> 
> Cheers,
> 
> /peter neubauer
> 
> GTalk:      neubauer.peter
> Skype       peter.neubauer
> Phone       +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter      http://twitter.com/peterneubauer
> 
> http://www.neo4j.org               - Your high performance graph database.
> http://startupbootcamp.org/    - Ă–resund - Innovation happens HERE.
> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
> 
> 
> 
> On Thu, Mar 17, 2011 at 1:11 AM, Saikat Kanjilal <[email protected]> wrote:
> > I've written a Quasi-mashup which loads points from google maps using a 
> > background thread in Spring to initially load points into neo4j, what I'm 
> > trying to evaluate with the goal of simplifying the architecture is the 
> > following:
> >
> > 1) Should I rejigger the tomcat service code to have a webservice call to 
> > add points which would be called through the steps you describe below from 
> > google or bing maps given that  I already have service API calls that do 
> > traversals with pipes and shortest path calculations
> >
> > 2) Take the rexster and http approach to upload the points through some 
> > automated process from my maps and stick with the http approach when doing 
> > traversals through gremlin and shortest path calculations.
> >
> >
> > Also I am trying to play with neo4j-spatial and trying to figure out how to 
> > leverage it moving forward
> >
> > That was a mouthful :)
> > Sent from my iPhone
> >
> > On Mar 16, 2011, at 4:49 PM, Craig Taverner <[email protected]> wrote:
> >
> >> Hi Saikat,
> >>
> >> There are a few places you can look for code samples. One of the best 
> >> places
> >> is the set of test cases included in neo4j spatial. You can find them at
> >> https://github.com/neo4j/neo4j-spatial/tree/master/src/test/java/org/neo4j/gis/spatial.
> >> In particular, since you are interested mostly in point data, take a look 
> >> at
> >> TestSimplePointLayer.java<https://github.com/neo4j/neo4j-spatial/blob/master/src/test/java/org/neo4j/gis/spatial/TestSimplePointLayer.java>and
> >> LayersTest.java<https://github.com/neo4j/neo4j-spatial/blob/master/src/test/java/org/neo4j/gis/spatial/LayersTest.java>
> >> .
> >>
> >> What you will find in those classes is Java code for adding points to the
> >> database, similar, but more extensive than the code in the blog.
> >>
> >> Regarding your specific case, if you are working with a normal google map 
> >> or
> >> bing map, and want to port the points into a local database, you would need
> >> to export them, and write a simple importer. If you have written a mashup
> >> between google or bing maps and your own neo4j-based web application, you
> >> should be able to use some client side coding to automate this, accessing
> >> the map, and posting the points directly into your own server (where of
> >> course you would have some code adding the points to the database). Does
> >> this answer your question?
> >>
> >> Regards, Craig
> >>
> >> On Thu, Mar 17, 2011 at 12:32 AM, Saikat Kanjilal 
> >> <[email protected]>wrote:
> >>
> >>> Hi Folks,
> >>> I was reading through the docs on neo4j spatial and was wondering about a
> >>> few things:
> >>>
> >>> 1) If I have a google or bing map and I manually plot some points can I 
> >>> use
> >>> neo4j spatial to automate the loading of those points into my neo4j db?
> >>>
> >>> 2) Are there code samples for neo4j-spatial or implementations I can look
> >>> at for a deeper look at the API's etc?
> >>>
> >>> Best Regards
> >>>
> >>> Sent from my iPhone
> >>> _______________________________________________
> >>> Neo4j mailing list
> >>> [email protected]
> >>> https://lists.neo4j.org/mailman/listinfo/user
> >>>
> >> _______________________________________________
> >> Neo4j mailing list
> >> [email protected]
> >> https://lists.neo4j.org/mailman/listinfo/user
> >>
> > _______________________________________________
> > Neo4j mailing list
> > [email protected]
> > https://lists.neo4j.org/mailman/listinfo/user
> >
                                          
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to