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
1
vote
0 answers

Neo.ClientError.Procedure.ProcedureCallFailed after importing OSM File with Java and neo4j spatial

I am new to neo4j and neo4j spatial. I want to import an OSM-File which i exported from https://www.openstreetmap.org/export. For this i use the following code. All examples i could found does not work for me or was incomplete. So i try to get a…
SteffenH
  • 97
  • 3
  • 12
1
vote
1 answer

Can Neo4j Spatial Geoserver find the country, city given an ip address, if so, how to set up on nodes already created?

I have some data in Neo4j with nodes having ip addresses as properties and I would like to get lat, lon (and city, country) data based on the ip address, similar to using geoip.dat. Can Neo4j Spatial give me this data? What are the steps to achieve…
amerikiwi
  • 11
  • 1
1
vote
0 answers

How to use neo4j spatial index with PHP

I am using Neo4j 2.3.2 with ZF2 and Neoxygen/NeoClient. I have latitude and longitude of users stored in my db. I want to display user and map on page like in airbnb. Users are displayed on left side and map will be displayed on right side and…
iit2011081
  • 742
  • 8
  • 26
1
vote
1 answer

Neo4j-spatial maven build failure

I know there is a similar question to this (to question: Neo4j Spatial: can't run spatial), however that question seems to be solved when installing dependencies. I think that is not the solution to my case. After installing Neo4j and installing…
Tom Hemmes
  • 2,000
  • 2
  • 17
  • 23
1
vote
2 answers

Integration testing with SDN4 repositories using neo4j-spatial cypher queries

I'm starting to use neo4j-spatial in some of my code. I thought I would be able to integration test neo4j-spatial code by including the spatial server lib as a maven dependency in my project. This has not worked for me though. I can't find any…
John Deverall
  • 5,954
  • 3
  • 27
  • 37
1
vote
0 answers

How does a data model affect neo4j write performance with CYPHER?

I have been really struggling to achieve acceptable performance for my application with Neo4J 3.0.3. Here is some background: I am trying to replace Apache Solr with Neo4j for an application to extend its capabilities, while maintaining or improving…
spanishgum
  • 1,030
  • 1
  • 14
  • 29
1
vote
1 answer

Does Neo4j spatial server plugin 3.0.2 work with Neo4j 3.0.3 community?

I've been struggling to install Neo4j spatial for quite some time now using several methods I've found on the Web. I am using neo4j-community-3.0.3, but I don't remember the link I got it from. It was a pre-compiled version from an ftp site (I…
spanishgum
  • 1,030
  • 1
  • 14
  • 29
1
vote
1 answer

Visualize Neo4j-Spatial database in a map

I've been able to import some shapefiles to Neo4j 2.3.1. Now how do I view this data on a map? I have tried the Wiki instructions on GeoServer and uDig, but both of them are outdated and I couldn't get it to work. Is there any recent tutorial or…
1
vote
1 answer

withinDistance not accurate at all

I'm using neo4j-spatial 0.13 and Neo4J 2.1.8 in production. I have those two points: Point(48.89205f,2.373335f) Point(48.885464f,2.2808545f) Using the haversine formula, the distance between those two points is: 6.8 kilometers. I expect this…
Mik378
  • 21,881
  • 15
  • 82
  • 180
1
vote
1 answer

neo4j-spatial: What is the official way to delete a node from a spatial index?

My question is most certainly a duplicate of Neo4j Spatial - How To Delete A Node, but it has not yet been solved. To my understanding removing a node from a spatial index is currently not implemented (not documented) within the…
Tobias Gassmann
  • 11,399
  • 15
  • 58
  • 92
1
vote
0 answers

Neo4j spatial search window performance

I am trying to visualise a large amount of spatial graph data, but preliminary results with ~100k nodes/edges aren't looking fast enough for querying and rendering as a user pans around a map. With the following spatial query on my Neo4j spatially…
Lukehb
  • 454
  • 5
  • 15
1
vote
1 answer

Neo4j Spatial using the MATCH clause

I'm using the neo4j spatial withinDistance function. All the documentation that I've found for this use the START clause. I'd like to use the newer MATCH clause as recommended by neo4j. It's also because I want to use the USING INDEX clauses which…
1
vote
0 answers

Neo4j Spatial Index Cross Linked.... How did it happen, and how do I fix it?

I've got a large Neo4J spatial database with around 1.5 million nodes in it. It's come to my attention that the spatial index is corrupted - some nodes are cross linked: match (n)<-[:RTREE_REFERENCE]-(a)<--(c),(n)<-[:RTREE_REFERENCE]-(b)<--(c) where…
Dr Joe
  • 718
  • 5
  • 19
1
vote
1 answer

Neo4j spatial Cypher withinDistance query using lat/lon of results from previous query

I'm trying to use the results from a withinDistance query in a second withinDistance. I have 2 spatial indexes, Houses and POIs (Points of Interest). I'm trying to find houses which match certains parameters and then find POIs around each…
bpipat
  • 3,700
  • 4
  • 20
  • 22
1
vote
1 answer

How do I update a Neo4j geospatial index?

Quite simply, this question or answer does not exist anywhere I have looked. The objective is to reindex a node to update it's latitude and longitude properties. The plugin I'm using to accomplish Geospatial operations in neo4j is called…
Levi Roberts
  • 1,277
  • 3
  • 22
  • 44
1 2 3
8 9