public ChannelDigraphBuilder(OSMGraph osmgraph) {
   // Nodesbeziehungen erstellen
   ncp = new NodesConnectionProducer(osmgraph);
   ncp.produceNodesConnections();
   digraph = new ChannelDiGraph();
   this.osmways = osmgraph.getWays();
   digraph.setBbbottom(osmgraph.getBbbottom());
   digraph.setBbleft(osmgraph.getBbleft());
   digraph.setBbright(osmgraph.getBbright());
   digraph.setBbtop(osmgraph.getBbtop());
   this.osmgraph = osmgraph;
 }
 /**
  * Hilfemethode zur Erstellung eines Channels
  *
  * @param fromNode fromNode des zu erstellenden Channels
  * @param toNode toNode des zu erstellnenden Channels
  * @param way ein zu dem Channel gehörender Way
  * @return
  */
 private Channel createChannel(OSMNode fromNode, OSMNode toNode, OSMWay way) {
   newChannel = new Channel();
   newChannel.setFromNode(fromNode);
   newChannel.setToNode(toNode);
   setNewWayID(newChannel);
   digraph.addChannel(newChannel);
   fromNode.addOutgoingChannel(newChannel);
   newChannel.addWay(way);
   return newChannel;
 }