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
1 answer

Add new Geometries to an osm file in Neo4J

Hi im trying to add some restaurants to an importet .osm file. So I want to save the restaurants as new Point Geometries and connect them at the right point with the existing osm graph. Later I want to read out all resturants and find the nearest…
user3042984
  • 61
  • 1
  • 8
1
vote
0 answers

Neo4j spatial withinDistance returns no results

I am trying to get the Neo4j spatial plugin working. However, when I try to query withinDistance via REST, either at the plugin URI or with cypher, I do not get any results, even if I set the distance to several million km. I've looked at Neo4j…
Ashley Bye
  • 1,752
  • 2
  • 23
  • 40
1
vote
1 answer

Neo4j spatial addsimplepointlayer

I have just started playing around with Neo4j graph database for a new social network site I am building. Everything worked very well and as expected until I wanted to use the spatial plugin in order to be able to ask questions like "get all users…
Jenny Pettersson
  • 241
  • 4
  • 17
1
vote
1 answer

neo4j spatial findGeometriesWithinDistance REST

Using neo4j 1.9 and neo4j spatial for 1.9. Trying to get findGeometriesWithinDistance REST call working. I can confirm that the install has worked and that the function exists BUT, using the http console I get a "Node 0 does not exist" error. The…
user965586
  • 563
  • 5
  • 22
1
vote
1 answer

Using uDig/Geotools to visualize data created with Neo4j Spatial?

I have created a test database with Neo4j Spatial Java API. Is there any tutorial how to use uDig/Geotools for visualizing the spatial data? There is a section at the Neo4j Spatial Instructions page (http://neo4j.github.io/spatial/) called "Using…
ispofacto
  • 21
  • 3
1
vote
1 answer

adding nodes to spatial layer in c# using REST /neo4jclient

I am making a locations based application in c#, and I am using neo4j and neo4j spatial plugin to handle it. for communication with spatial plugin, I have to use its REST API as there is currently no support for it in neo4jClient. now I want to add…
MYK
  • 825
  • 12
  • 25
1
vote
1 answer

Neo4j-spatial Finding Nodes in OSM and finding shortest way to POI

Hi im new to neo4j and trying to figure out how everything works atm I importet a OSM file and now im working on a function which you can input a point in WGS84 format and a POI and then the function finds the shortest path to the POI. So for…
user3042984
  • 61
  • 1
  • 8
1
vote
1 answer

Neo4j-spatial can't import OSM

I'm new to neo4j and trying to import an .osm data to my embeddedDatabase but it doesn't work. I searched for some example code and finally I ended up with this code which I got by trying to understand the TestOSMImport.java private void…
user3042984
  • 61
  • 1
  • 8
1
vote
0 answers

Import OSM map and reverse geocode to town/city

I'm pretty new to neo4j and the spatial plugin for it so bear with me. I've used the OSM importer to import the whole of Ireland into the db and now I'm able to query it with the rest API to find nodes within X km of a point. (side note: I am…
1
vote
1 answer

Neo4j Spatial: can't run spatial

I have been trying to work with Neo4j Spatial for my project, but I can't make it work. With limited documentation and examples I figured out how to load OSM map to the database. But to check if it is loaded, I am trying to execute a spatial query.…
rahanar
  • 48
  • 1
  • 6
1
vote
0 answers

Neo4j admin neo4j.rb

I use "neo4j-admin" and "neo4j.rb" as the following links. https://github.com/andreasronge/neo4j https://github.com/andreasronge/neo4j-admin After I install neo4j-admin gem, we cannot start the rails server and look like neo4j-admin gem doesn't…
Panu Fui
  • 11
  • 1
0
votes
0 answers

How to use APOC library in Neo4j

I installed the APOC library onto my Neo4j desktop, and when calling apoc.help(""), I get a list of all the APOC functions, so this tells me the installation was successful. But when trying to run this: CALL apoc.spatial.geocodeOnce('21 rue Paul…
12345
  • 27
  • 5
0
votes
0 answers

Unknown function apoc.spatial.geocodeOnce in neo4j 4.4, why?

I am using neo4j 4.4.18. When I try a simple apoc.spatial.geocodeOnce(apoc.text.join([address, addressCityCode, 'BERLIN', 'GERMANY'], ' ')) as loc I am getting this error Unknown function 'apoc.spatial.geocodeOnce' While I can see that this…
BairDev
  • 2,865
  • 4
  • 27
  • 50
0
votes
0 answers

How to understand Neo4j spatial nodes after importing from OSM file

I have imported an OSM file to Neo4j, When I try to find nodes near by one location, I used CALL spatial.closest("sg_osm",POINT({longitude:103.9451838,latitude:1.352351217}),0.0001) Below is the response node, how do I understand this node as there…
xuan zou
  • 1
  • 1
0
votes
1 answer

Data Model for traversing all the geolocation nodes with minimum distance in Neo4j

I have a list of machines with longitude and latitude within a city. From a starting point, I need to traverse all the machines with minimum effort.There is no relationship between each machines. I'm exploring Neo4j to solve this problem.…
xuan zou
  • 1
  • 1
1 2 3
8 9