Re: [Neo4j] osm_import.rb

2011-11-11 Thread Craig Taverner
Hi, Sorry for a late contribution to this discussion. I will try make a few comments to cover the various mails above. Firstly, the neo4j-spatial.rb GEM at version 0.0.8 on RubyGems works with Neo4j-Spatial 0.6, which does include the non-batch inserter code, so in principle should work for you.

Re: [Neo4j] osm_import.rb

2011-11-10 Thread grimace
I ended up trying again with just java (but still running with batchInserter), adjusting my memory settings and max heap, it's currently working on the americas.osm file from cloudmade - http://downloads.cloudmade.com/americas#downloads_breadcrumbs. The file is about 99 GB when assembled. I'm

[Neo4j] osm_import.rb

2011-11-09 Thread grimace
I'm new to neo4j, and neo4j-spatial. I've been able to import a small OSM file using the java OSMImporter class and BatchInserter (based on the mvn test code) but this blows up out-of-memory on larger files. In looking for other methods I came across instructions for using jruby. I installed

Re: [Neo4j] osm_import.rb

2011-11-09 Thread Peter Neubauer
Gregory, you are probably better off doing the Java code, I think Craig has not updated the JRuby wrappers to the latest versions. Do you have your example importing code somewhere? Would love to test it out and maybe adjust it. Otherwise, you should be able to use the OSMImporter in normal mode,