The subject of air pollution is paid increasing attention to in recent years. NH3 has significant effect on PM2.5, especially due to animal excrements and chemical fertilizer. Some PM2.5 monitoring data in Taiwan show that the concentration in south central Taiwan is apparently on the high side, and south central Taiwan has dense livestock and poultry. Therefore, this paper combines the livestock and poultry data opened by Taiwan Council of Agriculture (COA) with the PM2.5 data obtained by air monitoring stations opened by Taiwan Environmental Protection Administration (EPA), and uses SpatialHadoop to build a Cloud platform to analyze the correlation between Taiwan’s livestock data and the concentration of PM2.5. The analysis results show that the annual mean concentration of PM2.5 of the air monitoring station in the livestock and poultry dense region is higher than that in other regions by 33%.