Water environment is a typical public goods. When the market fails, government intervention is needed at this time. The local environmental protection department should strengthen supervision of enterprises, comprehensively investigate enterprises and factories in the river basin that do not meet environmental protection requirements and carry out rectification within a specified period of time for units that have not entered the unified sewage pipe network. At the same time, strengthen inspections and pay close attention to secret discharge and leakage. On the other hand, it is necessary to strengthen public supervision, establish and build a public participation mechanism and give full play to the consciousness and enthusiasm of the people, so as to stop and resist pollution and highlight the power of the public. At present, only relying on manual treatment can no longer meet the needs of river basin development. Especially after the completion of large-scale water resources network planning and construction, water basin planning has become an important problem that needs to be solved urgently. GIS technology integrates functions such as remote sensing mapping, terrain perception, etc. and has long been used in watershed planning in developed countries. This article analyzes it.