Questions tagged [neo4j-spatial]

Neo4j Spatial is a Java library for accessing and processing data in a Neo4j open-source database.

Neo4j Spatial is open-source and available under the GNU Affero licence. It can be download from GitHub.

131 questions
0
votes
2 answers

neo4j spatial indexing for countries county city

I just started working with neo4j-spatial and have good understanding of basics of spatial geometries - polygons, points, lines. So we are building web application that needs to index tourist information (only points) based on OSM administrative…
user1044173
  • 33
  • 1
  • 7
0
votes
1 answer

Class cast exception inside neo4j-spatial code

The following code snippet: GraphDatabaseService graphDb = new EmbeddedGraphDatabase("var/geo"); // Wrap it as a spatial db service SpatialDatabaseService spatialDb = new SpatialDatabaseService(graphDb); // Create the layer to store our spatial…
phil_20686
  • 4,000
  • 21
  • 38
0
votes
0 answers

neo4j-spatial - Unable to create simple point layer via neo4j REST API

I'm following the neo4j spatial documentation together with a test file on github to set a neo4j spatial pointlayer structure up. I am using neo4j 2.0.2 on Windows 7, cloned the spatial 2.0.2. repository and installed the spatial plugin into my…
productioncoder
  • 4,225
  • 2
  • 39
  • 65
0
votes
2 answers

Neo4j spatial withinDistance only returns one node

I am using the spatial server plugin for Neo4j 2.0 and manage to add Users and Cities with their geo properties lat/lon to a spatial index "geom". Unfortunately I cannot get the syntax right to get them back via Neo4jClient :( What I want is…
Jenny Pettersson
  • 241
  • 4
  • 17
0
votes
1 answer

Spatial Index not created when adding through Batch

I am trying to populate WKT nodes through Batch. The spatial index name is 'Geocode' and the batch creates the lucene index 'Geocode-neo4j_spatial.....' When I execute the 'withinDistance' cypher against the 'Geocode' index, I get 'Index does not…
patb23
  • 387
  • 5
  • 21
0
votes
1 answer

neo4j-spatial in neo4j 2.0 sample data

Giving Neo4j 2.0 a go (from binaries, in windows) with the Hubway Data Challenge dataset from the Neo4j website. All loaded fine in 2.0 (setting the allow_store_upgrade=true). Looking at the graph/data in the Neo browser interface it seems that this…
user965586
  • 563
  • 5
  • 22
0
votes
3 answers

How to import data into neo4j (neo4j-community-2.0.0) in windows 7?

I got the below link to do this but the problem is that it's for linux users !!! http://blog.neo4j.org/2013/03/importing-data-into-neo4j-spreadsheet.html Please help me to get this done on windows ? Thanks in advance. I am new to neo4j and got only…
Gopipuli
  • 393
  • 1
  • 12
  • 37
0
votes
2 answers

Neo4j with spatial: NotFoundException: More than one relationship

What is the cause and how to fix this exception: org.neo4j.graphdb.NotFoundException: More than one relationship[RTREE_CHILD, INCOMING] found for NodeImpl#105 at org.neo4j.kernel.impl.core.NodeImpl.getSingleRelationship(NodeImpl.java:344) at…
0
votes
1 answer

neo4j spatial wgs84 distance

I'm using this code to find nearest nabours to an given point in the wgs84 format(the variable co) for(Node n : geomPoints){ ExecutionResult result = engine.execute("START a=node(" + n.getId() + ") "+ …
user3042984
  • 61
  • 1
  • 8
0
votes
1 answer

Neo4j Spatial - how to specify a start node for withindistance

I was able to successfully install Neo4j and Neo4j Spatial and run the query: START n=node:geom('withinDistance:[51.521348,-0.128113, 10.0]') RETURN node; I am probably missing something fundamental, but is there a way for me to set a starting node…
evalsyrelec
  • 1,553
  • 1
  • 12
  • 15
0
votes
1 answer

Geopipeline Filter(Class not found)

I try to use this line GeoPipeline pipeline = GeoPipeline.start( layer ) .copyDatabaseRecordProperties( "name" ) .propertyFilter( "name", "Storgatan" ); but its throwen this exception in the line with the…
user3042984
  • 61
  • 1
  • 8
1 2 3
8
9