Re: [Neo4j] path finding using OSM ways

2011-12-06 Thread danielb
craig.taverner wrote > > ... > - Create a way-point node for these > ... > Hi together, I wonder why to add extra nodes to the graph (if I understand Craig correctly)? Wouldn't you then end up in expanding twice the node count (way-point nodes and OSM nodes themself, because you have to query

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-30 Thread danielb
Now I missed another important point: With that settings the database would still not return any results. I changed the bounding box values to 9.9 and 48.4. I then got an error message with insufficient heap space. With more digits it would load even more from the R-tree. I increased the cache size

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-30 Thread danielb
Hi Peter, the tests are running and now I get the following results: cypher> start n=node:geom('bbox:[9.9996186, 9.9996186, 48.4027913, 48.4027913]') cypher> return n cypher> ==> +--+ ==> | n|

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-28 Thread danielb
Hi Peter, that works, yes! But I still can't do spatial queries with the OSMLayer over the server page. Today I have written a small test program in Java which also includes a bbox query for a specific point and then traverses to the corresponding OSM node. So far I am satisfied with that (I will

Re: [Neo4j] path finding using OSM ways

2011-11-28 Thread danielb
Hi together, Maybe I am bit late on this topic but how is the progress so far? Greetz, Daniel -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-path-finding-using-OSM-ways-tp3004328p3542322.html Sent from the Neo4j Community Discussions mailing list

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-25 Thread danielb
Thanks Peter! -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3536012.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. ___ Neo4j mailin

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-25 Thread danielb
Hi Peter, unfortunately I can't get it to work. The layer named after osmpath could not be used in query because of ':' and '/'. I don't know how to escape them here. However I did not like the layer to be named in this way, so I changed the OSMImporter to take 'layerName' and 'osmPath'. I now im

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-24 Thread danielb
Hi Peter, I now have a graph with the 'geom' index + testnode from the above code and imported some OSM data afterwards. I now want to find 2 nodes by bbox query - 550349 and 205372 (see http://dl.dropbox.com/u/18693700/graph.png). How can I achieve this? If I query for the bbox I should at least

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-23 Thread danielb
Hi Peter, I have posted the statements in 1 line, but no success with cURL. I think I have messed up the database at work, it was allready filled with nodes from OSM testing. I now started a new database at home and also included one additional line: http> POST /db/data/ext/SpatialPlugin/graphdb/

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-23 Thread danielb
Hi Peter, first cURL doesn't like me: C:\>curl -X POST http://localhost:7474/db/data/ext/SpatialPlugin/graphdb/addSimplePointLayer { "message" : "Mandatory argument \"layer\" not supplied.", "exception" : "java.lang.IllegalArgumentException: Mandatory argument \"layer\" not supplied.", "sta

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-23 Thread danielb
Hi Peter, I am more stuck today than yesterday oO I can't get the index to appear in the indexmanager any more. First I dropped the database and started from zero: C:\neo4j-community-1.5\bin>Neo4j.bat start SERVICE_NAME: Neo4j-Server TYPE : 10 WIN32_OWN_PROCESS STA

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-22 Thread danielb
Hi Peter, I could now register the spatial index 'geom' to my database (I was missing the zip file) - thanks so far. cypher> start n=node:geom('bbox:[10.0020654, 10.0020654, 48.4126496, 48.4126496]') cypher> return n cypher> ==> +---+ ==> | n | ==> +---+ ==> +---+ ==> 0 rows, 24 ms So zero res

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-22 Thread danielb
Hi Peter, How do I add the Spatial plugin? I only have Cypher and Gremlin as server extensions installed. I unzip Neo4j spatial into the plugins folder and then send the JSON via curl to the database. But he can't find any of the needed classes. Which files do I need from the spatial project and w

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-22 Thread danielb
Hi together, That would be cool. Atm I am deleting the data folder, that works too for my testing purpose. I have played around with cypher and encounter some problems. I have OSM nodes in the database and I 'guess' they have a spatial index on the geometry (lat, lon). The view on the server admin

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-21 Thread danielb
Tried Eclipse Java Edition and it seems that everything is working as it should. I could at least start an OSMImport to an embedded database and nodes were copied. I will have a detailed look tomorrow. I still have a few problems with the Neo4j server itself. When I try to batchinsert I get the mes

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-21 Thread danielb
Hi Peter, JDK 1.6 does the job! But only for building the project. Netbeans still shows an error for the missing KernelExtension meta-inf, however it does not prevent from running the OSMImporter. Lucene is still not working, maybe it has something to do with that error which is at the SpatialInde

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-21 Thread danielb
Hi Peter, I have JDK 1.7.0_01 on a Windows 7 64bit machine. After I added the "missing" meta-inf entry org.neo4j.kernel.KernelExtension I could build the project. Now I have a few more problems. I can run the tests for the DynamicLayers and OSMImport without failure but then I am stuck at the OSMI

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-21 Thread danielb
Hi Peter, I guess the meta-inf entry for the org.neo4j.kernel.KernelExtension is still missing. The repo URL https://github.com/neo4j/spatial.git is correct? It states last commit was 4 days ago... The build ends with error: http://dl.dropbox.com/u/18693700/git21.txt Daniel -- View this mess

Re: [Neo4j] Neo4j Spatial build / run problems

2011-11-17 Thread danielb
Sure, here are the files, first after the checkout directly and then after I add the missing entry (maybe you can correct this on the repository?). http://dl.dropbox.com/u/18693700/git.txt http://dl.dropbox.com/u/18693700/meta-inf_fixed.txt -- View this message in context: http://neo4j-commun

[Neo4j] Neo4j Spatial build / run problems

2011-11-17 Thread danielb
Hi I have some problems with the new build of Neo4j Spatial. First if I checkout and try to build the following error occurs "[ERROR] spatial\src\main\java\org\neo4j\gis\spatial\indexprovider\SpatialIndexProvider.java:[38,0] error: Internal error: java.io.FileNotFoundException: META-INF/services/or

Re: [Neo4j] Neo4j in GIS Applications

2011-10-20 Thread danielb
Hello Peter, that sounds fine. I will probably compare some quad-tree against the existing R-tree implementation. It will take some time until I start with implementing something, but I will keep you informed. Regards, Daniel -- View this message in context: http://neo4j-community-discussions.

Re: [Neo4j] Neo4j in GIS Applications

2011-10-13 Thread danielb
Hello there, first I have written a wall of text, previewed it and then the forum went grey and all of the text has gone - AR! In short: I have read some papers about different spatial indices in the last days. The standard R-tree can be improved in various ways or even replaced by a

Re: [Neo4j] Neo4j low-level data storage

2011-10-10 Thread danielb
First thanks to all of you for the hints and the detailed explanation of Craig. Peter I was not into any code in detail yet, but I have had a look on the (beta) wiki of Neo4j spatial. Some more questions on the storage format of Neo4j: So the nodes, properties and relationships are stored in seper

Re: [Neo4j] Neo4j in GIS Applications

2011-10-10 Thread danielb
Retrieving data in constant time sounds very promising especially for routing purposes. Did you allready have thoughts on algorithms that use hierarchies or contraction of the network? In our students project we implemented some approaches to reduce search space and have thoughts on the heuristics

Re: [Neo4j] Neo4j low-level data storage

2011-10-07 Thread danielb
Hello Chris, thanks for your postings, they are a great starting point for me to assume a good performance of this database. However I have some questions left. Lets say I have a node store and a property store. Both of them are individual files. I am going to implement a GIS application which fet

[Neo4j] Neo4j in GIS Applications

2011-10-04 Thread danielb
Hello everyone, I am going to write my master thesis about the suitability of graph databases in GIS applications (at least I hope so^^). The database has to provide topological queries, network analysis and the ability to store large amount of mapdata for viewing - all based on OSM-data of Germa

[Neo4j] Neo4j low-level data storage

2011-09-14 Thread danielb
Hello everybody, I have some questions regarding data storage in neo4j. How does neo4j store the data on the physical level? Are elements which have a close relationship in the graph stored in an adjacent way on disk? Any special binary format? How do you treat SSDs compared to common harddisks? W

Re: [Neo4j] finding top 10 shortest path

2011-09-12 Thread danielb
Hello you both could have a look at the so-called "k-shortest-paths problem". There is some related scientific work[1] and implementations[2] for further investigation. regards, Daniel [1] http://www.mat.uc.pt/~eqvm/cientificos/investigacao/r_papers.html#K [2] http://code.google.com/p/k-shortest