BOSTON – A $2.2 billion environmental bond bill that could fund hundreds of projects across the state, ranging from hiking trails to harbor dredging, cleared the state House and Senate Thursday night as formal legislative sessions drew to a close for the year.



The bond bill, which needs the signature of Gov. Deval Patrick, authorizes the state to borrow for the projects over the next four years, but it does not guarantee that the projects will be done. Lawmakers would have to lobby to get their communities’ projects high on the governor’s priority list.



“The funding in the environmental bond will enable our next governor to take bold steps on land protection, aquatic restoration and climate change resiliency,” Wayne Klockner, director of the Massachusetts chapter of the Nature Conservancy, said in a statement.



The bill includes more than $350 million for conservation programs, $120 for coastal infrastructure, $62 million for energy-efficiency programs and $49 million for dam repairs and removal.



Here are some of the local projects:



CANTON: $2.5 million for improvements, repairs and energy upgrades at the Trailside Museum; $1,250,000 to improve the Blue Hills Ski Area.



COHASSET: $1.4 million to replace the Bound Brook culverts under Beechwood Street; $1.5 million for the removal of invasive aquatic species from Treat Pond; $1.5 million for the removal of invasive aquatic species from Lily Pond and the Aaron River Reservoir; $2 million to improve and raise sea walls along Cohasset Harbor.



DUXBURY: $500,000 for dredging Duxbury Harbor; $650,000 for the study, design permitting and restoration of the Temple street and Chandler Pond dams and cranberry bog sluiceways and the removal of the Chandler Pond dam in Duxbury and Marshfield.



HANOVER: $150,000 for improvements and repairs to the Factory Pond dam.



HINGHAM: $4.3 million for stormwater management along the Crooked Meadow River, Weir River, Hingham Bay, Hull Bay, Hingham Harbor, Accord Brook and Back River and water-quality monitoring; $165,000 for the reinstatement of the U.S. Geological Survey Stream Gauge in the Weir River at Leavitt Street for 10 years; $500,000 for the development and installation of a solar energy farm on the town landfill; $3 million for sea wall repair and improvements along Whitney, Kimball, Barnes and Steamboat wharves.



HULL: $4.7 million to reconstruct and resurface Nantasket Avenue from Kenberma Street to Spring Street.; a portion of $20 million to improve water quality at Nantasket Beach; $3.4 million for design, engineering, permitting, closure and monitoring of the town landfill; $7.2 million for the reconstruction of the state-owned Point Allerton Avenue sea wall; $1.2 million to repair the Nantasket Avenue sea wall between Stoney Beach and Point Allerton.



KINGSTON: $250,000 to the Jones River Watershed Association for assessment of condition, feasibility and benefits of removing the Elm Street dam and for culvert replacement and stormwater upgrades below the Forge Pond Dam.



MARSHFIELD: $650,000 for the study, design permitting and restoration of the Temple Street and Chandler Pond dams and cranberry bog sluiceways; $5,200,000 for dredging the North and South Rivers and relocating the dredged material to the Fourth Cliff Air Force Recreation Area.



MILTON: $7.5 million for land acquisition adjacent to the Neponset River near Truman Parkway and for cleanup of contamination of the river at the Baker Dam and the Tileston and Hollingsworth Dams and for the design and construction of a park and canoe launch, and no less than $250,000 to be used to build a park at John L. Kelly Field; $1 million for the historic preservation, restoration and renovation of the Broderick Stables; $2,500,000 for the restoration of the Eliot Tower and the Blue Hill Meteorological Observatory; $10 million for safety improvements, sidewalks, and aesthetic improvements on Brush Hill Road and Truman Parkway, and not less than $1 million to improve the intersection of Neponset Valley Parkway and Brush Hill Road.



NORWELL: $500,000 for the construction of a new salt storage shed at the Norwell Highway Department facility to protect the quality of water.



PLYMOUTH: $2 million for dredging of the harbor around the town wharf; $24,000,000 for the acquisition of 1,483 acres of land in South Plymouth to be maintained as conservation land.



PLYMOUTH COUNTY: $500,000 for county dredging program.



QUINCY: $8 million for a water transportation hub to be developed at the John T. Fallon Pier; $3.5 million for the alteration of the Squantum Point Park Pier to make it wheelchair-accessible; $75,000 to create public access and a fishing pier at Squaw Rock; $500,000 to improve the water outflow of Blacks Creek at Wollaston Beach; $75,000 to design a boat ramp at Squantum Point Park; portions of $20 million to improve state beaches, including Wollaston and $20,000 to improve water quality at the beaches; $3 million for maintenance, repairs and reconstruction of sea walls.



RANDOLPH: $2.1 million to upgrade Powers Farm.



ROCKLAND: $100,000 for improvements to Studley Pond.



SCITUATE: $5.2 million for dredging the North and South Rivers and relocating the dredged material to the Fourth Cliff Air Force Recreation Area in the towns of Marshfield and Scituate; $1.3 million for a fish ladder, reservoir elevation and sewer installation.



SHARON: $5.3 million for the purchase and installation of filters for the removal of manganese and iron from water.



WEYMOUTH: $2 million for the vegetation management plan at Whitman’s Pond.



