The invention discloses a transmission line design method based on GIS and Floyd algorithm. The design method comprises the following steps: firstly, processing environmental impact data of an area where a line is predicted to pass and gridding the researched area, secondly, setting up a grid rating model in a design area by utilizing a GIS technology according to the geography information of the line design region, thirdly, connecting a start point and an end point in grids, analyzing intersected grids in a connection line and the grids, and finding out grids where the connection line passes through and the line is unsuitable to build, fourthly, figuring out directed weighted graphs among all nodes through the Floyd algorithm and constructing a weight matrix, and fifthly, adjusting the number of the nodes allowed to pass by the line, acquiring the weight matrix at initial state and a weight matrixes corresponding to the number of different intermediate nodes, and acquiring the line generated when the total path length is shortest. The transmission line design method utilizes a dynamic programming mathematical method, and analyzes spatial data in real time through a computer, so as to improve the accuracy and processing efficiency of line planning, reduce the workload, and shorten the design cycle.