1. Background
Recently, it is responsible for a GIS vectorization project, which involves the related storage and management of graphic data and GIS business data. In order to make up for the limitation of the graph Vectorization software in the subordinate attribute management, two sets of database system are used to plan the graph-number correlation storage: The graph Vectorization software stores the graph data, the file database stores the business data. Graphic Data Maintenance tool, is the core support system in the vector implementation of data inspection, calibration tools, mainly completed graph-number correspondence relationship building, maintenance, business data legitimacy of the basic inspection and correction.
2, requirements overview
In information management, the whole project involves a large number of isolated pictures of the storage, including: Picture file name, business path, the corresponding project, graphics processing people, business processes, processing status. Business data include: Engineering information, GIS point facilities Business data, GIS line facilities Business data, GIS layer information, GIS, all kinds of points, line facilities, geometric rules, topological relations, business rules and so on data. Graphic data maintenance tools, which need to operate each grid map of the corresponding business database, reading and correcting each isolated graphic project corresponding to the business attributes, but also to operate the entire project data management system, maintain the information of the central database and each isolated project information synchronization, According to the uniform business rules, the batch corrects the data of the engineering documents involved in the rule.
Data management and application of graphic data maintenance tools schematic diagram as follows:
3. Architecture Design
Graphic Data maintenance tools, the vertical use of layered design: persistence layer, business entity layer, business rules layer, interface interaction layer.
The data access layer completes the operation encapsulation of various databases, reports and log files. Including: MySQL database interface, SQLite database interface, Excel file operation package, txt log file encapsulation, XML file access package.
Business entity layer, complete the project, project personnel, layers, various points of facilities, various line facilities, core rules and so on data structures, classes, constants, and other definitions and encapsulation.
The business rule layer completes the basic Geometry rules, GIS topology relations, business data checking rules, business data correction rules, business attribute boundary checking rules, business data error checking rules, business data error correction rules and so on.
User interface layer, a variety of documents, databases, business data display, report processing and other operating interface.
The overall structure of the graphics Data Maintenance tool is schematic diagram as follows: