The invention discloses a differential pattern spot repairing and attribute inheriting method oriented to land class docking. The method comprises the following steps: reading a background land class pattern spot and an updated land class pattern spot from a
database by using GeoPandas; a result table RES is initialized, a unified coordinate
system is CGCS2000, the area and overlapping area of each pattern spot are calculated, and an overlapping sequence table BLPULP is constructed; filtering updated land class pattern spots in the BLPULP through an overlapping proportion threshold value, extracting an overlapped BLPID unique sequence from the BLPULP for subsequent iteration
processing, and if the overlapping proportion of a certain background land class pattern spot and the updated land class pattern spot is greater than a preset threshold value, directly inheriting an updating attribute and storing the updating attribute into RES; if the overlapping proportion of a certain background
land type pattern spot and the updated
land type pattern spot is not greater than a preset threshold value, screening an internally tangent pattern spot and an
edge matching pattern spot,
processing the two pattern spots, and adding the processed pattern spots to RES; and transferring the final RES
list into an SRI Shapefile format through the GeoPandas, so that the final RES
list can be directly used. According to the method, batch repairing and updating of differential pattern spots are realized, and the efficiency and precision of land class docking are remarkably improved.