Think of California's Santa Barbara County and you might picture the area's famous beaches or resorts and wineries. But in the northern reaches of the vast county, oil production has been a major contributor to the economy for almost a century.

So it's no surprise that the oil industry there is feverishly organizing to fight a local ballot initiative — Measure P — that would ban controversial drilling methods such as hydraulic fracturing. What is turning heads, however, is the sheer volume of money flooding into this local race, mainly from large oil companies.

To date, firms such as Chevron and industry groups have chipped in more than $7 million to a campaign to defeat Measure P and a similar proposal farther up the California coast in San Benito County. That compares with just under $300,000 spent so far by the environmental groups that support the initiative and organized to get it on the local ballot.

Jim Byrne, spokesman for the "No on Measure P" campaign, is unapologetic about oil companies spending as much as they are.

"If I owned a business, I would want to do anything in my possibility to save that business," he says.

Byrne says Measure P would effectively shut down all new drilling operations in Santa Barbara County. There isn't even any "fracking" going on there right now — the industry says it doesn't work given the geology. But a process called steam injection is currently widely in use. That and other so-called "high intensity" drilling processes would be banned if the measure is approved by voters next month.

"They go after methods that have been utilized safely, responsibly and under the most stringent regulations for the last 50 years," Byrne says.

But supporters like to point out that there are provisions in the measure to protect existing drilling operations in the county. There are currently just over 1,100 active wells, mainly clustered in the northern part of the county.

Rancher Chris Wrather, a spokesman for the "Yes on Measure P" campaign, likens the proposal to an insurance policy.

"It will provide protection for the future, and that's what we really want," Wrather says.

After all, there's talk that California's Monterey Shale formation — which extends into Santa Barbara County — could be the site of the next North Dakota-type boom. Wrather's group is worried that a sharp rise in drilling could threaten the area's drought-stressed water supply.

Another worry, says Wrather, is the fact that supporters are being outspent 23 to 1.

"It really has the feel of trying to buy this election," he says.

In this post-Citizens United world, there's a lot more scrutiny on money in politics, especially when there are well-organized charges that it could be influencing small, local races like this one. But legal experts like professor Rick Hasen of the University of California, Irvine Law School caution against tying all the spending in the Measure P race to a broader national trend.

Hasen, for one, says he's not surprised about all the spending by the opposition.

"There's much more at stake in terms of the financial interest of those who would engage in oil drilling in this area than the amount that's being spent on the election," says Hasen, who also hosts a popular campaign finance blog.

Copyright 2016 NPR. To see more, visit http://www.npr.org/.