Hello there,

Im working with Neo4j + Neo4j Spatial plugin and importing shapefiles into 
the database using the ShapeFileImporter class is not possible because im 
dealing with a huge dataset (100GB+ shp+dbf+etc) and the layer+index is 
definitly slowing me down when inserting hundreds of millions of geometries.

My question is: Is there a way to import shapefiles in batches and after 
the insertion, do the database.reIndex() the same way we do with .osm??

If there is not a way to do that, which approach do you guys think would be 
the best to import that ammount of data, creating the layers but avoiding 
building any kind of indexes until the import is complete ?
I've tried to .setConfig(GraphDatabaseSettings.node_auto_indexing, 
"false").setConfig(GraphDatabaseSettings.relationship_auto_indexing, 
"false")
but it looks like the ShapeFileImporter class still manages to do all the 
rtree stuff after every new geometry inserted.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to