Based on the methods of single factor analysis in combination with detailed analysis and statistics of drilling core and logging data, the authors compiled and drew the lithofacies paleogeographic maps of Ma512 submembers. The results show that Ma512 was in a relative regression stage, and developed mainly gypsum-dolomitic flat, dolomitic flat, mud-dolomitic flat and mud-bearing dolomitic flat. According to the lithofacies paleogeography and regional geology of this area, the formation of favorable gas reservoirs was discussed preliminarily in this paper.