Node wayNode = makeOSMWay(geom, geomNode.getGraphDatabase().createNode(), gsubtype);
relationNode.createRelationshipTo(wayNode, OSMRelation.MEMBER);
}
break;
default:
throw new SpatialDatabaseException("Unsupported geometry: " + geometry.getClass());
}
geomNode.setProperty("vertices", vertices);
}