The application discloses a line-shaped slope map spot extraction method and
system with a width less than or equal to 1 grid and a storage medium, and relates to the field of land
resource management. Firstly, spot points are generated in a slope classification map to obtain all boundary node coordinate information of a polygon, all coordinate point combinations are calculated according to the coordinate information, all points are compared with existing nodes, then rectangular spots with a side length of
two grid widths or more are found and marked in the spot area, the above process is repeated until all spots are traversed, finally, spots with qualified rectangles are removed, and the remaining spots are line-shaped slope map spots with a width less than or equal to 1 grid. The application does not need to rely on
complex polygon geometry width calculation, avoids large errors and low efficiency problems of manual
visual interpretation, provides a reliable basis for subsequent merging of spots according to the average allocation principle, guarantees the quality of slope classification map results, and supports the scientificity and accuracy of
natural resource management decision-making.