Between 2007 and 2010 a Q fever epidemic in Dutch dairy goat farms caused a large Q fever outbreak in human residents in the southern part of the Netherlands. Here we characterize the transmission of Coxiella burnetii, the aetiological agent of Q fever, between infected and susceptible dairy goat farms by estimating a spatial transmission kernel. In addition, we characterize the zoonotic transmission of C. burnetii by estimating the spatial kernel for transmission from infected farms to neighbouring residents. Whereas the range of between-farm transmission is comparable to the scale of the Netherlands, likely due to long-range between-farm contacts such as animal transport, the transmission risk from farms to humans is more localized, although still extending to 10 km and beyond. Within a range of about 10 km, the transmission risk from an infected goat farm to a single resident is of the same order of magnitude as the farm-to-farm transmission risk per animal in a receiving farm. We illustrate how, based on the estimated kernels, spatial patterns of transmission risks between farms and from farms to residents can be calculated and visualized by means of risk maps, offering further insight relevant to policy making in a one-health context.