With the development of society, people gradually realize the importance of landscape pattern to the city, and the urban land use affects the urban landscape pattern. This study takes Shanghai as an example to study the characteristics of Shanghai's landscape index. First, the land use is classified by the supervised classification algorithm, and the corresponding landscape pattern indicators are calculated using Fragstats software 4.2, and then suggestions for the sustainable development of Shanghai are given. It was concluded that: (1) The separation degree of various land use types in Shanghai is at a relatively high level, and the integrity of land use is poor; (2) In the next development planning, attention should be paid to the degree of aggregation of patches of different land use types, so as to improve the integrity and scale of land use types, which is more conducive to urban development; (3) It is recommended to plan rationally according to the specific distribution of greenland, improve the utilization degree, and reduce the waste of greenland. Redundant greenland can be converted into urbanland.