clarification of dispensery rules

I understand that since I live in orangevale I cant use the dispensery in citrus heights. but I can use the dispenseries in oakland, sacramento, colfax and san francisco. this makes good sense to me I have to drive quite a distance and spew exhaust pollutants for between 25 and 100 miles but I cant use the dispensery one mile from my home?
I realize this is due to city regulations but if this type of legislation becomes the norm I wont be able to buy anything until some one opens a dispensery in orangevale.