neo4j-contrib / spatial

Neo4j Spatial is a library of utilities for Neo4j that faciliates the enabling of spatial operations on data. In particular you can add spatial indexes to already located data, and perform spatial operations on the data like searching for data within specified regions or within a specified distance of a point of interest. In addition classes are provided to expose the data to geotools and thereby to geotools enabled applications like geoserver and uDig.
http://neo4j-contrib.github.io/spatial
Other
780 stars 192 forks source link

ReadMe Importing OSM file section needs a update #331

Closed VishwaShanika closed 6 years ago

VishwaShanika commented 6 years ago

It seems BatchInserterImpl is no longer using. But readme using it within example

craigtaverner commented 6 years ago

I've taken a look and it seems the README used a very old version of code for creating the BatchInserter. Instead of new BatchInserterImpl(dir,config) you need BatchInserters.inserter(new File(dir), config). I've updated the README. I should also mention that there is a new project for much faster import of OSM data at https://github.com/neo4j-contrib/osm. It is standalone and does not yet work with 'Neo4j Spatial', but I hope to make it the default way of importing data for Neo4j Spatial OSM models also.