Re: [Neo4j] How to install neo4j on Debian?

2015-08-10 Thread Jonathan A Rees
Maybe 'hostname' is not how you set the host name? ... researching ... On Mon, Aug 10, 2015 at 5:17 PM, Jonathan A Rees wrote: > I re-ran the exact same experiment, but this time I entered a valid DNS > hostname for the EC2 instance instead of an IP address. No change; I still > can't get neo4

Re: [Neo4j] How to install neo4j on Debian?

2015-08-10 Thread Jonathan A Rees
I re-ran the exact same experiment, but this time I entered a valid DNS hostname for the EC2 instance instead of an IP address. No change; I still can't get neo4j to start. That is, using neo4j is exclusive with setting the hostname. That seems like a pretty serious neo4j bug to me. Can anyone s

Re: [Neo4j] How to install neo4j on Debian?

2015-08-10 Thread Jonathan A Rees
gcc was a red herring - the problem is the 'hostname' command (which was getting run in the same script that installed gcc). Here is how to reproduce the problem: - provision debian jessie ami-818eb7b1 - copy neo4j-community-2.2.3-unix.tar.gz to the instance - sudo apt-get update - sudo a

Re: [Neo4j] How to install neo4j on Debian?

2015-08-10 Thread Jonathan A Rees
OK, that hypothesis isn't quite right. I just provisioned an EC2 server with Debian jessie, installed gcc, openjdk 7, and neo4j 2.2.3, and got the same behavior (timeout during initialization). So I am still stuck. I'll try to whittle this down to the minimal sequence of commands so you can try it

Re: [Neo4j] Neo4j Spatial: get geometry of a node

2015-08-10 Thread Craig Taverner
How about: Geometry geometry = layer.getGeometryEncoder().decodeGeometry( node ); On Sun, Aug 9, 2015 at 2:16 PM, Alireza Rezaei Mahdiraji < alireza...@gmail.com> wrote: > > Hi, > > I have a node and I am trying to find its geometry (having layer and > spatial db service). > > Though, getting n

Re: [Neo4j] Spatial Neo4j: index on graph with multiple geometry types

2015-08-10 Thread Craig Taverner
Hi Alireza, Points is the most common use case, and that is why we made the SimplePointLayer to minimise complexity for this case. This is also why you see so many examples with points only. However, Neo4j Spatial was built with complex geometries in mind, so they are fully supported, and you sho

Re: [Neo4j] Neo4j Spatial: Strange caset exception while using startNearestNeighborLatLonSearch

2015-08-10 Thread Craig Taverner
Hi Alireza, I wrote some test code using your layer creation and neighbour search code that you pasted, and it works fine. So what I think has happened is that you have somehow added nodes with a different layer config to the same index that you are now using for WKB. Perhaps the nodes used to be