return name + "\t" + duration;
}
}
private void runTestPointSetGeoptimaIntersection(String tracePath, String dbPath, String layerName, boolean testMultiPoint) throws ParseException, IOException, XMLStreamException {
GraphDatabaseService graphDb = new GraphDatabaseFactory().newEmbeddedDatabaseBuilder(dbPath).setConfig( Neo4jTestCase.NORMAL_CONFIG ).newGraphDatabase();
SpatialDatabaseService spatial = new SpatialDatabaseService(graphDb);
System.out.println("Opened database with node count=" + ((GraphDatabaseAPI) graphDb).getDependencyResolver().resolveDependency(NodeManager.class).getNumberOfIdsInUse(Node.class));
System.out.println("Searching for '"+layerName+"' in "+spatial.getLayerNames().length+" layers:");
for(String name:spatial.getLayerNames()){
System.out.println("\t"+name);