}
private Node makeOSMWay(Geometry geometry, Node geomNode, int gtype) {
wayId++;
GraphDatabaseService db = geomNode.getGraphDatabase();
Node way = db.createNode();
// TODO: Generate a valid osm id
way.setProperty(OSMId.WAY.toString(), wayId);
way.setProperty("timestamp", getTimestamp());
// TODO: Add other common properties, like changeset, uid, user,
// version, name