Minneapolis is losing its traction among the nation's top bicycling cities, according to the latest biennial ranking from Bicycling magazine.

Minneapolis topped the magazine's list of the 50 most cycling-friendly cities in 2010, shocking the biking world by ranking ahead of biking mecca Portland, Ore. Then it slipped to second behind Portland in 2012.

The latest ranking released this week put Minneapolis at third. We're ahead of Portland (No. 4) but New York and Chicago vaulted ahead of both cities to claim Nos. 1 and 2 respectively.

St. Paul? Try No. 40.

The rankings are following after an analysis of census data and information collected about bike infrastructure by cycling advocacy groups. But there's an emphasis what's happened recently that may work against Minneapolis.

It's been late to the parade on implementing protected bike lanes, the hottest new technique for trying to persuade people to ride instead of drive. New York and Chicago jumped to the top of the list after recently adding miles of such lanes -- in which something more substantial than painted lines separate bikes from drivers.

But the city now has a goal of 30 miles of protected lanes by 2020, with plans to build them yet this fall on W. 36th Street, and possible additions next year on 26th Avenue N. and E. 26th and 28th Streets. Hennepin County will add them next year on a short stretch of Washington Avenue. Mayor Betsy Hodges recently proposed spending $750,000 next year on protected lanes.

Minneapolis has drawn bike world attention for the Midtown Greenway and Cedar Lake Trail, and was an early adopter of bike-sharing. A federal pilot project pumped millions of dollars into the Twin Cities for pedestrian and biking projects into the city, but that money has largely been spent. And in the magazine's rankings, painted bike lanes are oh so 2012.

The magazine's ratings seem intended to makes sure that biking cities don't rest on their laurels, said Hilary Reeves, spokeswoman for Transit for Livable Communities, which administered the pilot project in the Twin Cities.