Flavor oscillations from a spatially localized source: A Simple general treatment