Ted S. Warren, AP
A medical marijuana plant is shown at the Northwest Patient Resource Center medical marijuana dispensary, Wednesday, Nov. 7, 2012.

ASHLAND, Ore. — At least 20 cities and counties around Oregon are racing to approve local taxes on marijuana in case voters in November decide to legalize recreational pot.

Most hope to boost their revenues, but a few want to give pot dealers a reason to stay out of town.

The idea came to Ashland city administrator Dave Kanner last February, and it was approved by the City Council in August. Kanner estimates the 10 percent tax on recreational marijuana could raise nearly $1 million a year, much of it from tourists. Medical marijuana would be exempted.

Measure 91 would give the state sole authority to tax marijuana, but Kanner and others say taxes on the books before election day could stand, because the measure includes no specific prohibition against them.