Yunnan is known for its rich biodiversity and is known as the Wild Mushroom Kingdom. Boletes are a world-renowned wild edible mushroom, with unique sensory characteristics, nutritional value and medicinal value extraordinary.However, the species and geographical origin of boletes influence their price and quality. In this study, a method was developed to identify species and geographical origin simultaneously. Therefore, Fourier transform near-infrared (FT-NIR) data sets of boletes were collected and converted to two-dimensional correlation spectroscopy (2D-COS). On this basis, the species and geographic origins of boletes were identified using Residual neural network (ResNet) image analysis model. The results showed that FT-NIR could identify boletes species and geographical origins, 7000-4000 cm À1 band was more suitable for species identification, 7000-5300 cm À1 band was more suitable for geographical origins identification. In addition, the environmental factors with high contribution to the distribution of boletes were screened based on the maximum entropy (MaxEnt) model. This allows characterization of the potential geographic distribution of boletes. The results showed that precipitation factors played a vital role in its distribution and might even be responsible for the difference in chemical composition.