The invention discloses a universal vector
data format conversion method and
system. The method comprises the steps of preprocessing data before conversion, preprocessing an empty
database after conversion, and merging according to point, line and
surface layer types; sorting codes, fields and hierarchical classification mapping tables;
database conversion is executed, points, lines and planes before conversion are correspondingly converted, and surface feature element and geometrical shape conversion and attribute field filling are carried out according to the mapping table; performing preprocessing after
database conversion, and
processing special ground feature conversion and different layer type data; and executing database hierarchical classification, arranging ground feature elements according to the mapping table, and storing the ground feature elements in the converted database for subsequent inspection and modification. According to the method, the
workload of mapping table arrangement and
code writing is greatly reduced, the method is suitable for conversion among all different vector data results, the
reusability of existing data is improved, the replicability of a conversion model is high, only the mapping table needs to be replaced, codes do not need to be reconstructed, and the development efficiency is improved.