}
public Geometry decodeGeometry(PropertyContainer container) {
Node node = testIsNode(container);
CoordinateList coordinates = new CoordinateList();
for (Node point : node.traverse(Order.DEPTH_FIRST, StopEvaluator.END_OF_GRAPH, ReturnableEvaluator.ALL_BUT_START_NODE,
SimpleRelationshipTypes.FIRST, Direction.OUTGOING, SimpleRelationshipTypes.NEXT, Direction.OUTGOING)) {
coordinates.add(new Coordinate((Double) point.getProperty("x"), (Double) point.getProperty("y"), (Double) point.getProperty("z")), false);
}
return getGeometryFactory().createLineString(coordinates.toCoordinateArray());
}