We introduce a new method to detect signatures of natural selection in the genome based on the application of spatial analysis, with the contribution of Geographical Information Systems, environmental variables, molecular data, and multiple univariate logistic regressions. Its use allows the identification of the same genomic regions as revealed by a theoretical approach in population genomics, but also the uncovering of environmental parameters responsible for selection which was so far difficult. This research also opens up avenues for GISciences research in molecular ecology.