But the outbound backlog keeps growing, such that more and more oil is being stored in the region as new storage tanks are being raised quickly. About 62% of Bakken crude is shipped out of the region by pipelines now, while about 25% currently goes by rail and the balance by truck. That ratio will fluctuate as there are major projects under way to add capacity for both rail and pipelines, but the pipeline work in particular will take years to complete, giving the railroads a leg up for now. Eventually, it is hoped that TransCanada's ( TRP) Keystone XL pipeline project, held up by the Obama administration on environmental concerns, will get done and a link to it from the Bakken will be finished and help alleviate the current bottleneck. TransCanada said in a press release in May that it "expects to begin construction of Keystone XL in the first quarter of 2013, with completion slated for late 2014 or early 2015." That would ease some of the pressure on rail traffic, but for now, though, rail still rules. In June, about 325,000 barrels a day were shipped out by rail, more than double the rate from at the end of the year, according to the North Dakota Pipeline Authority. And the rail carriers are rapidly building on their capacity. For example, Burlington Northern Santa Fe said its recent $197 million investment in rail infrastructure has increased its hauling capacity by 25% over the past year, and it now expects to carry 89 million barrels of oil out of the Bakken region this year, up from 1.3 million barrels in 2008. It reported that its volume of outbound oil railcar shipments jumped 75% in the second quarter from a year earlier. BNSF has said that, eventually, it expects to have the capacity to ship as much as 730,000 barrels of crude daily out of North Dakota. But that's not enough for the oil companies, which are going into the transportation business on their own. Last week, the international oil giant Statoil ASA ( STO) of Norway, now a major player in the region after paying $4.4 billion for the U.S. exploration and production firm Brigham Exploration last year, said it plans to lease 1,000 rail cars to ship its oil. And, previously, refining firms, including Tesoro ( TSO), Marathon ( MRO) and Phillips 66 ( PSX), have been either buying tank cars or leasing tank cars and in some cases dedicated "unit trains," including engines and tank cars, to move oil to their refineries. Burlington Northern Santa Fe made up 14% of Berkshire Hathaway's 2011 revenue of $144 billion, so it's part and parcel of a much bigger story. Berkshire Hathaway's shares are up 10.4% this year, versus the S&P 500's 13.5% gain. Its shares get two "buy/holds" and one "hold" from the three analysts that rate the company, according to S&P. Berkshire Hathaway bought Burlington Northern Santa Fe in 2009 for about $26 billion, little more than a year after founder Warren Buffett paid a visit to the Bakken oil fields. Canadian Pacific, up 23% this year and sporting an average annual return of 21% over three years, is more of a pure play on the railroad industry. Activist hedge fund investor William Ackman and his Pershing Square Capital Management, which bought a 14.2% stake in the company late last year, has been successful in getting new management at the company, which is aggressively adding to its already significant Bakken presence. Building on its base of 1,000 miles of track there, the company has said that within a few years it expects to increase its capacity to haul about 125,000 barrels per day from the Bakken or 70,000 carloads, from about 23,000 barrels per day in 2011. Analysts' consensus estimate for Canadian Pacific is for earnings of $4.36 per share this year, and growth of 25% to $5.45 per share next year, said S&P. Analysts give Canadian Pacific's shares three "buy" ratings, seven "buy/holds," 16 "holds" and one "weak hold," according to a survey of analysts by S&P. Union Pacific ( UNP), the largest publicly held U.S. railroad, lacks a direct rail line to the Bakken, but benefits from an interchange of rail traffic with Burlington Northern Santa Fe and Canadian Pacific systems to the West Coast. A Union Pacific executive said on a July 19 conference call that the company's shale business is expected grow to about 400,000 carloads in 2012, or about double that of 2011. Union Pacific's shares, up 14% in the past three months, or almost double that of the S&P 500, have an average annual return of 19% over the past five years, versus the S&P's 1.3%. Union Pacific's shares get 11 "buys" and 10 "buy holds" from the 28 analysts who follow it, according to S&P. It's expected to earn a healthy $8.34 per share this year, and grow earnings by14% to $9.49 per share next year.