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
3
votes
2 answers

Neo4j spatial cypher query withinDistance doesn't return existing nodes

I am using the spatial server plugin for Neo4j 2.0 and have followed the guide at http://neo4j.github.io/spatial/ to add a node with name Stockholm. :POST http://localhost:7475/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer { "layer" :…
Jenny Pettersson
  • 241
  • 4
  • 17
3
votes
2 answers

Can't query properties with colon

I am new to neo4j, so my question may sound stupid to you but anyway. I have OSM data set imported to neo4j graph db. So curretnly I am trying to query different stuff from db, like: MATCH (a) WHERE has(a.addr:street) RETURN a.addr:street and it…
Taras Shchybovyk
  • 416
  • 4
  • 17
2
votes
2 answers

Adding millions of nodes to neo4j spatial layer using cypher and apoc

I have a data set of 3.8million nodes and I'm trying to load all of these into Neo4j spatial. The nodes are going into a simple point layer, so have the required latitude and longitude fields. I've tried: MATCH (d:pointnode) WITH collect(d) as pn…
SAB
  • 175
  • 17
2
votes
2 answers

What does SyntaxError, "Unknown procedure output: `node`" mean?

I'm following multiple tutorials and all demonstrate the same Cypher query so it must be correct but I'm getting following error: Neo.ClientError.Statement.SyntaxError Unknown procedure output: node Code: call spatial.addWKTLayer('geom',…
Nathan Horrigan
  • 763
  • 1
  • 9
  • 20
2
votes
1 answer

Neo4j plugin : can't use the spatial procedures after installing neo4j spatial plugin

So I have neo4j3.1.4 community edition, and tried to put neo4j spatial plugin jar v0.24 file under the "E:\softwares\Neo4j CE 3.2.0\plugins" directory. "E:\softwares\Neo4j CE 3.2.0\" is my neo4j installation directory. I couldn't find any of th…
Tanya Lew
  • 21
  • 2
2
votes
1 answer

Neo4j Spatial 3.0.2: No index provider 'spatial' found

I am trying to create a spatial database with neo4j 3.0.2 and neo4j-spatial for 3.0.2. I have installed the plugin and I have checked that the plugin is running with cURL curl -v http://neo4j:neo4j@localhost:7474/db/data/ which outputs following: { …
Mfbaer
  • 465
  • 3
  • 15
2
votes
2 answers

Neo4j 3.0.0 + SPATIAL in Cypher

I've compiled the latest Neo4j Spatial (neo4j-spatial-0.16-neo4j-3.0.0-server-plugin.jar) from source and dropped it into my Neo4j 3.0.0 plugins folder. The extension is listed in the browser, and I can do POST calls for spatial functionality.…
maly
  • 21
  • 6
2
votes
1 answer

How to create Spatical Index in Neo4j?

I have some existing data in my neo4j database. I want to calculate distance from one node to another nodes based on longitude and latitude which are present with node. For that I want to create spatial Index on my existing data but I don't know…
niraj darji
  • 339
  • 3
  • 12
2
votes
3 answers

How to run Neo4j with OSM and Neo4jSpatial?

Hello i'm new in neo4j and i would like to use OSM + Neo4j Spatial. I have a maven project and my Neo4j version is 2.3.0-M01 I have a simple code just for importing an OSM file but it displays some errors in the import files: GraphDatabaseService,…
marhg
  • 659
  • 1
  • 17
  • 30
2
votes
2 answers

Neo4j 2.2: Cypher Spatial request with other parameters returns Index does not exist

I'm using Neo4j to find Users who are in a 50 km radius and who are available on specific days. This question is similar to this other question but Indexes have changed since Neo4J 2.0 so the solution does not work. I use Neo4j 2.2.1, Neo4j-spatial…
bpipat
  • 3,700
  • 4
  • 20
  • 22
2
votes
1 answer

Intersection match through cypher?

Is possible to check whether a WKT geometry intersects with another piece of geometry (via Cypher)? For instance how would one do a spatial search against them to return any that intersect with a given bounding box? For example, if I have spatially…
Dr Joe
  • 718
  • 5
  • 19
2
votes
2 answers

Neo4j Spatial over REST through the JAVA API not working (for me)

I'm working on a Grails app over Neo4J which I'd like to also export as a GIS database. Looking at the examples for how to use neo4j in GeoServer/uDig it appears that the Spatial integration is only via embedded neo4j databases. Does anyone know…
Dr Joe
  • 718
  • 5
  • 19
2
votes
0 answers

Neo4j 2.1.3 withinDistance parse error in cypher

I've been searching for this problem almost 2 days without any result I have found different questions in stackoverflow and neo4j groups but none of them fixed the problem(probably I'm doing something wrong?) I recently downloaded neo4j 2.1.3…
PHP lover
  • 238
  • 2
  • 11
2
votes
2 answers

NEO4J spatial index error

We recently upgraded from Neo4j 1.9 to 2.1 and are now receiving an error when an existing object is updated with a spatial index. We are using the following: Spring Data NEO4J 3.1 Neo4j 2.1.2 server with the spatial plugin I have narrowed the…
mfleshman
  • 313
  • 4
  • 11
2
votes
1 answer

Neo4j Spatial, relationship between indexes and layers

I am confused about the relationship between Layers and Indexes in neo4j spatial. In particular I have the following three questions: (I can give code samples on request, but its a lot of code and not really germane to the issue). 1) Its perfectly…
phil_20686
  • 4,000
  • 21
  • 38
1
2
3
8 9