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 jruby and neo4j-spatial. I tried to import an OSM file using jruby using these instructions:
git clone g...@github.com:craigtaverner/neo4j-spatial.rb.git cd neo4j-spatial.rb/examples jruby osm_import.rb map2.osm ... but when I got to the 1st import statement I got an error back: Error opening script file: /home/gregm/Downloads/neo4j-spatial.rb/examples/osm_import.rb (No such file or directory) I can find an 'osm_import' in the bin directory of this repository but I'm not sure how to use it. I'm new to jruby ( ruby as well ) and may not have installed correctly. I believe I did this: sudo jruby -S gem install neo4j-spatial and it seemed to install. If I run this command ( from the upper directory in neo4j-spatial.rb ): jruby bin/osm_import examples/map2.osm I get this: /usr/lib/jruby//lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require': no such file to load -- neo4j/spatial/jars/neo4j-spatial-0.6-SNAPSHOT (LoadError) from /usr/lib/jruby//lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' It looks, to me, like the code has changed but the instructions haven't, but I'm at a loss for how to resolve this. I'm just trying to import a larger OSM file. Any ideas? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/osm-import-rb-tp3493463p3493463.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user