Authorities say the rotting carcass of a 30-ton gray whale that washed up on a California beach will be cut up and trucked to a landfill.

California parks officials made the decision Wednesday after deciding it would be impractical to tow the 40-foot whale out to sea or bury it at San Onofre State Beach in Orange County.

Beach Superintendent Rich Hardon says the work by an emergency contractor will begin Thursday morning and take a couple of days at a cost of about $30,000.

Curiosity seekers have been visiting the beach, despite the stench, since the huge animal washed ashore Sunday at Lower Trestles, a popular surfing spot.