reActivateDatabase(false, true, false);
OSMImporter importer = new OSMImporter(layerName);
importer.setCharset(Charset.forName("UTF-8"));
importer.importFile(getBatchInserter(), osmPath, false);
reActivateDatabase(false, false, false);
importer.reIndex(graphDb(), commitInterval);
}
private void loadTestShpData(String layerName, int commitInterval) throws ShapefileException, FileNotFoundException,
IOException {
String shpPath = "shp" + File.separator + layerName;