The present application relates to a kind of encoding method and
system of orthogonal polygon distribution mode, the method includes: first establish polygon
database and mode
database, then find every polygon in the graph to be encoded in polygon
database, find success then return the number and transformation type, otherwise according to the shape of polygon encoding judge its symmetry type, and find all its transformation encoding, store in the polygon database and assign a polygon number, after returning the polygon
type number and transformation type, then according to polygon number and transformation type and its relative to the position of mode center point
encode mode, finally create various transformation encoding of mode.By polygon-based, very friendly to realize encoding, without image or grid conversion, graph or mode symmetry
processing and conversion is convenient, simple, also can
handle polygon overlap and the case of hole-containing polygon, and graph and encoding conversion is convenient, subsequent operation data volume is small.