PORTLAND — Voters in Coos County rejected a measure that would have blocked a natural gas export pipeline in the southwestern corner of the state.

Elsewhere, voters statewide approved two-thirds of the school bonds on ballots and mostly gave the thumbs up to spending on public safety and libraries.

Voter turnout was just over 19 percent of all registered voters, according to state elections officials.

A total of 10 school bonds across Oregon, from Jefferson to Bend to Lake Oswego, passed while four failed and one appeared poised to fail with 200 ballots still under review.

Twenty-two ballots separated the no vote from the yes vote in Coos County, said Dede Murphy, the county elections clerk.

Coos County voters rejected the measure that would have blocked a $7.5 million natural gas export terminal and pipeline.

The Jordan Cove LNG project envisions a 230-mile pipeline running from Malin, a town on the California border, to Coos Bay. It would run through portions of Jackson County.

The measure would have banned the transportation of fossil fuels within the county that weren't intended for local use.

Jordan Cove and its parent company, Calgary-based Veresen Inc., have spent more than a decade and hundreds of millions of dollars in an effort to win approval for the project.

Federal regulators rejected their application last year, but the company reapplied in January hoping that a fossil-fuel friendly President Donald Trump administration could help them get a green light.

Jordan Cove spent an unprecedented $600,000 on the campaign to defeat the ballot measure, with television, radio and newspaper ads against the initiative.

In an effort to win over the county's 41,000 registered voters, they spent 50 times as much as the yes campaign's $12,000.

In Josephine County — known for rejecting new taxes — voters surprised pollsters by approving spending for jails, renewing a tax for the animal shelter and approving a special tax district to restore limited public funding to the library system.

Josephine County Sheriff Dave Daniel had said the sheriff's department would end county patrols without the levy. Now, the department will be able to keep 185 jail beds open, add patrol deputies in rural areas and reopen beds in the defunct juvenile detention center.

The school bond measures approved Tuesday included a $790 million spending package in Portland that is the largest school bond in the state. It's intended to remove lead from school drinking water after a health crisis last summer and modernize aging infrastructure.

In Salem, a $61.8 million bond measure to build a new police facility passed and in Pendleton, voters overwhelmingly supported a $10 million bond to build a new fire station. Sheridan voters approved a continuation of a fire district tax.

School bonds did not pass in Ontario, South Umpqua, Yoncalla and Hermiston.