Gallery linkage update method and device, electronic device, and storage medium

Through the gallery linkage update method, the data collected by the drone and customized templates is used to realize the efficient conversion and update of "picture" and "library" data, solve the problem of low efficiency and poor accuracy in traditional methods, improve the surveying and mapping of surveying and mapping Production efficiency and data consistency.

CN113626455BActive Publication Date: 2025-01-24湖州市测绘院
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110929829.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-13
Publication Date
2025-01-24
Estimated Expiration
2041-08-13

AI Technical Summary

Technical Problem

In the traditional topographic map data update method, the two sets of data "map" and "library" cannot be converted and utilized in a timely and efficient manner, resulting in low surveying and mapping efficiency and high cost, and manual editing is prone to errors, resulting in inconsistent data.

Method used

Adopt a gallery linkage update method. By collecting historical terrain diagrams and the latest image diagrams, it is determined to be updated to the topographic diagram, obtains the update data source of the drone collection, and uses a customized template for data integration and conversion. The customized template includes data collection templates and gallery mapping templates. Based on these templates to generate update topographic diagrams and library data, and through data processing programs to achieve linked update of the database data.

Benefits of technology

The conversion efficiency and update efficiency of the data of "Figure" and "Library" have been improved, the error rate of artificial editing is reduced, the consistency of the terrain diagram data and the library data is improved, and the production efficiency and accuracy of surveying and mapping are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113626455B_ABST
    Figure CN113626455B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method and device for updating a library in a linked manner, an electronic device, and a storage medium, and relates to the field of data processing technology. The method for updating a library in a linked manner includes: collecting historical topographic maps, collecting the latest image maps by drones, and comparing and analyzing historical topographic maps and the latest image maps to determine the range of topographic maps to be updated; obtaining an update data source for the range of topographic maps to be updated collected by drones, and obtaining a customized template for integrating and converting the update data source; updating the topographic map of the range of topographic maps to be updated by using customized templates, and obtaining updated topographic maps and library data corresponding to the range of topographic maps to be updated by data editing and processing; at the same time, quality inspection and update operations are performed on the updated topographic maps and library data to realize an integrated linked update of the library. The technical solution of the embodiment of the present disclosure can customize the customized template as needed to realize an integrated linked update production of a large-scale topographic data library based on drone aerial survey technology.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of UAV aerial survey technology, the methods of collecting topographic maps are becoming more and more diverse. In the traditional method of updating topographic map data, the production operation mode of separating "map" and "library" is adopted, which can no longer meet the needs of rapid production, updating and application of surveying and mapping geographic information data.

[0003] However, the two sets of data, "map" and "library", cannot be converted and utilized in a timely, effective and lossless manner, requiring operators to perform repeated editing and conversion, resulting in low surveying and mapping efficiency and high surveying and mapping costs. At the same time, the probability of error in manually changing "library" data from "map" is high, making it impossible to ensure the consistency of graphic data and stored data.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of the embodiments of the present disclosure is to provide a gallery linkage update method, a gallery linkage update device, an electronic device and a computer-readable storage medium, thereby overcoming the problems of low "gallery" conversion efficiency and low "gallery" update efficiency at least to a certain extent.

[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0007] According to a first aspect of an embodiment of the present disclosure, a method for linking and updating a map library is provided, comprising: collecting historical topographic maps and the latest image maps, and comparing the historical topographic maps with the latest image maps to determine the scope of the topographic map to be updated; obtaining an update data source of the topographic map to be updated collected by a drone, and obtaining a customized template for integrating and converting the update data source; the customized template comprises a data acquisition template and a map library mapping template; the map library mapping template is formulated according to the classification of symbols in a local standard data dictionary and a topographic map schema, and the classification of symbols in a national standard data dictionary and a topographic map schema; generating an updated topographic map corresponding to the scope of the topographic map to be updated based on the data acquisition template, and generating library data corresponding to the updated topographic map based on the conversion of the library mapping template; in response to an update operation on the updated topographic map, calling a data processing program, and linking and updating the library data through the data processing program, and outputting the updated library data.

[0008] In some example embodiments of the present disclosure, based on the aforementioned scheme, the data acquisition template includes a primitive-level feature mapping relationship comparison table and a field code mapping table, and the generating of an updated topographic map corresponding to the range of the topographic map to be updated through the data acquisition template includes: obtaining the measurement values ​​of the feature elements in the range of the topographic map to be updated, and performing spatial conversion editing on the measurement values ​​to obtain feature graphics and feature attribute data; establishing a mapping relationship between features, symbols and codes based on the primitive-level feature mapping relationship comparison table; establishing a correspondence between the feature name, feature type and attribute field of the feature attribute data according to the field code mapping table; in response to a drawing editing operation, symbolizing the topographic elements according to the mapping relationship, and automatically assigning values ​​to the feature name, feature type and attribute field based on the corresponding relationship and feature feature data to generate the updated topographic map.

[0009] In some example embodiments of the present disclosure, based on the aforementioned scheme, the method further includes: based on the spatial logical relationship of the primitive identifiers in the updated topographic map, performing edge processing of new and old data on the primitive identifiers in the updated topographic map to achieve a fusion update of the primitive identifiers.

[0010] In some example embodiments of the present disclosure, based on the aforementioned scheme, the method further includes: determining annotation angle information of the feature attribute data based on the updated topographic map; identifying primitive identifiers in the updated topographic map, and reading elevation information, width information, and annotation style information corresponding to the primitive identifiers; annotating the updated topographic map based on the annotation angle information, as well as the elevation information, width information, and annotation style information to obtain topographic map annotation data and the updated topographic map after annotation.

[0011] In some example embodiments of the present disclosure, based on the aforementioned scheme, the method further comprises, before calling a data processing program in response to an update operation on the updated topographic map, performing a topological check, a primitive identification check, an annotation content check, and an edge check on the updated topographic map after annotation and the topographic map annotation data; if it is detected that the erroneous data exists in the updated topographic map after annotation, locating the erroneous data in the updated topographic map after annotation, determining the location information of the erroneous data, and determining the error type of the erroneous data; and identifying the erroneous data based on the location information and the error type to obtain identification data.

[0012] In some example embodiments of the present disclosure, based on the aforementioned scheme, in response to the update operation on the updated topographic map, calling a data processing program, and updating the library data in a linked manner through the data processing program to output the updated library data includes: in response to the update operation on the updated topographic map, determining the updated data corresponding to the identification data in the updated topographic map and the topographic map annotation data; reading the feature attribute data corresponding to the updated data, and synchronously updating the topographic map annotation data in the updated topographic map according to the updated data to obtain the updated updated topographic map; calling a data processing program, and updating the library data corresponding to the updated topographic map in a linked manner through the data processing program to output the updated library data.

[0013] In some example embodiments of the present disclosure, based on the aforementioned scheme, the method further includes: obtaining feature attribute information in the library mapping template, and checking the required attributes of the updated topographic map based on the feature attribute information; if there are missing attributes in the required attribute items, assigning values ​​to the missing attributes based on the updated library data.

[0014] According to a second aspect of an embodiment of the present disclosure, a device for updating a gallery in linkage is provided, comprising:

[0015] A module for determining the range of the topographic map to be updated, used to collect historical topographic maps and the latest image maps, and compare the historical topographic maps with the latest image maps to determine the range of the topographic map to be updated; a data acquisition module, used to obtain the data source of the range of the topographic map to be updated collected by a drone, and to obtain a customized template for integrating and converting the data source; the customized template includes a data acquisition template and a library mapping template; the library mapping template is formulated based on the classification of symbols in the local standard data dictionary and topographic map schema, and the classification of symbols in the national standard data dictionary and topographic map schema; a library generation module, used to generate an updated topographic map corresponding to the range of the topographic map to be updated based on the data acquisition template, and to generate library data corresponding to the updated topographic map based on the library mapping template conversion; a library linkage update module, used to call a data processing program in response to an update operation on the updated topographic map, and to update the library data through the data processing program, and output the updated library data.

[0016] In some example embodiments of the present disclosure, based on the aforementioned scheme, the data acquisition module also includes a data determination unit, which is used to obtain the measurement values ​​of the terrain elements in the topographic map to be updated, and perform spatial conversion editing on the measurement values ​​to obtain feature graphics and feature attribute data; establish a mapping relationship between terrain, symbols and codes based on the primitive-level terrain feature mapping relationship comparison table; establish a correspondence between the feature name, feature type and attribute field of the feature attribute data according to the field code mapping table; in response to the drawing editing operation, symbolize the terrain elements according to the mapping relationship, and automatically assign values ​​to the feature name, feature type and attribute field based on the corresponding relationship and feature attribute data to generate the updated topographic map.

[0017] In some example embodiments of the present disclosure, based on the aforementioned scheme, the gallery linkage update device also includes an edge processing module, and the edge processing module is used to perform edge processing on the primitive identifiers in the updated topographic map based on the spatial logical relationship of the primitive identifiers in the updated topographic map to achieve fusion of the primitive identifiers.

[0018] In some example embodiments of the present disclosure, based on the aforementioned scheme, the gallery generation module also includes a data annotation unit, which is used to determine the annotation angle information of the feature attribute data based on the updated topographic map; identify the primitive identifier in the topographic map data, and read the elevation information, width information, and annotation style information corresponding to the primitive identifier; annotate the topographic map data based on the annotation angle information, as well as the elevation information, width information, and annotation style information to obtain topographic map annotation data and the updated topographic map after annotation.

[0019] In some example embodiments of the present disclosure, based on the aforementioned scheme, the library linkage update module also includes a detection unit, which is used to perform topology check, primitive identification check, annotation check, and edge check on the updated topographic map and topographic map annotation data after annotation; if it is detected that the erroneous data exists in the updated topographic map, the erroneous data is located in the updated topographic map, the location information of the erroneous data is determined, and the error type of the erroneous data is determined; based on the location information and the error type, the erroneous data is identified to obtain identification data.

[0020] In some example embodiments of the present disclosure, based on the aforementioned scheme, the map library linkage update module further includes a data update unit, which is used to determine the update data corresponding to the identification data in the updated topographic map and the topographic map annotation data of the updated topographic map in response to an update operation on the topographic map to be updated; read the feature attribute data corresponding to the update data, and synchronously update the topographic map annotation data according to the update data to obtain the updated updated topographic map; call a data processing program, and link the update of the library data through the data processing program, and output the updated library data.

[0021] In some example embodiments of the present disclosure, based on the aforementioned scheme, the gallery linkage update module also includes a mandatory item checking unit, which is used to obtain feature attribute information in the gallery mapping template, and perform a mandatory attribute check on the topographic map annotation data of the updated topographic map based on the feature attribute information; if there are unfilled attributes in the mandatory attribute items, the unfilled attributes are assigned values ​​based on the feature attribute information.

[0022] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, including: a processor; and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, any one of the above-mentioned gallery linkage update methods is implemented.

[0023] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for linking and updating a gallery according to any one of the above items is implemented.

[0024] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0025] The library linkage update method in the example embodiment of the present disclosure collects historical topographic maps and the latest image maps, and compares and analyzes the historical topographic maps and the latest image maps to determine the scope of the topographic map to be updated; obtains the data source of the topographic map range to be updated through a drone, and obtains a customized template for integrating and converting the data source; the customized template includes a data acquisition template and a library mapping template; the library mapping template is formulated according to the classification of symbols in the local standard data dictionary and topographic map schema, and the classification of symbols in the national standard data dictionary and topographic map schema; generates an updated topographic map of the topographic map range to be updated based on the data acquisition template, and generates library data corresponding to the updated topographic map based on the library mapping template conversion; in response to the update operation of the library data, calls a data processing program, and links the library data through the data processing program, and outputs the updated library data. On the one hand, we can combine the basic geographic information element classification and graphic expression codes of local standards, the basic scale topographic map schematic symbol class, and the national standards to formulate customized templates suitable for local surveying and mapping, thereby improving the conversion efficiency of the two sets of "map" and "library" data, and also improving the production efficiency of large-scale topographic map data; on the other hand, by establishing the mapping relationship between the "map" and "library" through the library mapping template, we can modify the erroneous data in the topographic map data while realizing the synchronous update of the updated topographic map and library data, thereby improving the linkage update efficiency of the "map" and "library" data, and also improving the accuracy of the "map" and "library" data updates.

[0026] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0028] Figure 1 A schematic diagram schematically shows the process of a gallery linkage update method according to some embodiments of the present disclosure;

[0029] Figure 2 A schematic diagram schematically shows a flow chart of a method for generating a gallery mapping template according to some embodiments of the present disclosure;

[0030] Figure 3 A schematic diagram schematically illustrates a process of a method for updating a terrain map according to some embodiments of the present disclosure;

[0031] Figure 4 A schematic diagram schematically shows the flow of a method for generating topographic map annotation data according to some embodiments of the present disclosure;

[0032] Figure 5 A schematic diagram schematically shows a process of updating a topographic map and checking topographic map annotation data according to some embodiments of the present disclosure;

[0033] Figure 6 A schematic diagram schematically shows the process of a gallery linkage update method according to some embodiments of the present disclosure;

[0034] Figure 7 A schematic diagram schematically shows a device for updating a gallery linkage according to some embodiments of the present disclosure;

[0035] Figure 8 A schematic diagram schematically shows a structure of a computer system of an electronic device according to some embodiments of the present disclosure;

[0036] Fig. 9 A schematic diagram of a computer-readable storage medium according to some embodiments of the present disclosure is schematically shown.

[0037] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0038] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more comprehensive and complete and will fully convey the concept of the example embodiments to those skilled in the art.

[0039] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0040] Furthermore, the drawings are only schematic illustrations and are not necessarily drawn to scale. The block diagrams shown in the drawings are only functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0041] In this example embodiment, a gallery linkage update method is first provided. The gallery linkage update method can be applied to terminal devices, such as electronic devices such as computers, and can also be applied to servers. Figure 1 The following is a schematic diagram showing the process of the gallery linkage update method according to some embodiments of the present disclosure. Figure 1 As shown, the gallery linkage update method may include the following steps:

[0042] Step S110, collecting historical topographic maps and latest image maps, and comparing the historical topographic maps with the latest image maps to determine the range of the topographic map to be updated;

[0043] Step S120, obtaining a data source of the to-be-updated topographic map range collected by the drone, and obtaining a customized template for integrating and converting the data source; the customized template includes a data collection template and a gallery mapping template; the customized template includes a data collection template and a gallery mapping template; the gallery mapping template is formulated based on the classification of symbols in the local standard data dictionary and topographic map schema, and the classification of symbols in the national standard data dictionary and topographic map schema;

[0044] Step S130, generating an updated topographic map corresponding to the range of the to-be-updated topographic map based on the data acquisition template, and generating library data corresponding to the updated topographic map based on the library mapping template conversion;

[0045] Step S140, in response to the update operation on the updated topographic map, calling a data processing program, and updating the library data in linkage with the data processing program to output the updated library data.

[0046] According to the library linkage method in this example embodiment, on the one hand, the basic geographic information element classification and graphic expression code of the local standard, the basic scale topographic map schematic symbol class, and the national standard can be combined to formulate a customized template suitable for local surveying and mapping, thereby improving the conversion efficiency of the two sets of data of "map" and "library", and also improving the production efficiency of topographic map data; on the other hand, by establishing a mapping relationship between "map" and "library" through the library mapping template, it is possible to modify erroneous data in the topographic map data while realizing the synchronous update of the updated topographic map and library data, thereby improving the update efficiency of the "map" and "library" data, and also improving the accuracy of the "map" and "library" data update.

[0047] Next, the gallery linkage updating method in this exemplary embodiment will be further described by taking a terminal device as an example.

[0048] In step S110, historical topographic maps and latest image maps are collected, and the historical topographic maps and the latest image maps are compared to determine the range of the topographic map to be updated.

[0049] In an example embodiment of the present disclosure, the topographic map range to be updated may refer to a topographic map range clipped from the latest image patch. For example, the topographic map range to be updated may be a topographic map range that has changed relative to the historical topographic map patch clipped from the latest image map, or it may be a topographic map range that includes the changed topographic map clipped from the latest image map and intersecting with the unchanged topographic map. Of course, the topographic map range to be updated may also be other topographic map ranges clipped from outside the latest image map, and this example embodiment does not specifically limit this.

[0050] In order to obtain the surveying and mapping data source required for the range of the topographic map to be updated, the update data source can be obtained through drone aerial survey technology, such as a photogrammetry stereo image pair acquisition method, a three-dimensional laser point cloud data acquisition method, and a three-dimensional model acquisition method based on oblique photography, etc. This embodiment does not specifically limit this. Furthermore, the latest image map can be preprocessed such as geometric correction, mosaic registration, uniform light and color, image enhancement, etc., and the features of the historical topographic map and the latest image map can be compared to obtain the range of the topographic map that has changed in the latest image map relative to the historical topographic map, and the changed topographic map range is used as the topographic map range to be updated.

[0051] In step S120, a data source of the topographic map range to be updated collected by a drone is obtained, and a customized template for integrating and converting the data source is obtained; the customized template includes a data collection template and a library mapping template; the library mapping template is formulated based on the classification of symbols in the local standard data dictionary and topographic map schema, and the classification of symbols in the national standard data dictionary and topographic map schema.

[0052] In an example embodiment of the present disclosure, the data source may refer to an updated data source obtained by using drone aerial survey technology, for example, the updated data source may include stereo image pairs, oblique photography, point cloud data and other multi-source data. The data acquisition template may refer to a template for generating an updated topographic map corresponding to the range of the topographic map to be updated. For example, the data acquisition template may be a template for drawing a topographic map based on the collected data source in the EPS (professional software in the field of surveying, mapping and geographic information system for the production, processing, database construction and update of geographic information system data) platform. Of course, the data acquisition template may also be a template for drawing a topographic map based on the collected data source in other platforms, and this example embodiment does not specifically limit this.

[0053] A library mapping template may refer to a template used to establish a mapping relationship between a terrain database and a database. For example, a library mapping template may be a template that is uniformly set according to the database design plan and the national basic scale diagram requirements, according to the local-level data dictionary and local terrain map data symbol class, as well as the national-level data dictionary and terrain map data symbol class, and is applicable to local land feature types, codes, layers, symbol styles and other conversion standards. Of course, a library mapping template may also be other templates used to establish a mapping relationship between terrain map library data and library text data, and this embodiment does not specifically limit this.

[0054] The attribute data of the feature entities in the range of the topographic map to be updated, such as coordinate data, can be collected, and based on the design requirements of the attribute fields of the library data, the feature attribute data of the feature entities in the map spots to be processed in the mapping platform can be edited. The spatial analysis technology of the geographic location system can also be used to automatically analyze the map spots to be processed, and the feature elements contained in the map spots to be processed can be exported from the topographic database of the mapping platform to generate the feature attribute data of the map spots to be processed. According to the classification of symbols in the data dictionary and topographic map schema of different standards in various places, as well as the classification of symbols in the data dictionary and topographic map schema of national standards, the feature classes contained in the database and the feature entities stored in each feature class are determined, and the corresponding relationship between the feature name, type and the attribute field carried in the database is established, as well as the mapping relationship between the feature name, symbol and code, and then the feature symbol expression rules can be formulated according to the entity type of the feature and the shape of the symbol. After receiving the mapping operation of the user on the mapping platform, the mapping command and feature code corresponding to the mapping operation are called to draw the feature symbol; at the same time, according to the mapping relationship between the symbol and the code, the feature symbol color and the layer are determined, and according to the feature symbol expression rules, the drawn feature symbol is rendered to obtain a symbolized topographic map. In addition, the feature symbol can be edited according to the correspondence between the feature symbol and the element to obtain the topographic map annotation data.

[0055] In step S130, an updated topographic map corresponding to the range of the topographic map to be updated is generated based on the data acquisition template, and library data corresponding to the updated topographic map is generated based on the library mapping template conversion.

[0056] Among them, the updated topographic map may refer to a topographic map corresponding to the scope of the topographic map to be updated. For example, the updated topographic map may be a topographic map of pure land feature symbols drawn in a mapping platform corresponding to the topographic map to be updated, or it may be a topographic map obtained by annotating a topographic map of pure land feature symbols drawn in a mapping platform corresponding to the topographic map to be updated. Of course, the topographic map data may also be an improved topographic map obtained by performing other processing on a topographic map of pure land feature symbols corresponding to the scope of the topographic map to be updated. This embodiment does not make any special limitation on this.

[0057] The library data may refer to data that records the mapping relationship between relevant data for recording updated topographic maps and feature attribute information corresponding to the updated topographic maps. For example, the library data may be the mapping relationship between topographic map annotation data and feature attribute data for recording updated topographic maps. Of course, the library data may also be the mapping relationship between other graphic data for recording updated topographic maps and feature attribute information. This embodiment does not specifically limit this.

[0058] After collecting the data source corresponding to the range of the topographic map to be updated, the measurement values ​​of the local features in the range of the topographic map to be updated can be determined from the data source, and the real measurement can be spatially converted and edited based on the data collection template to obtain feature graphics and feature attribute data, and the topographic map corresponding to the feature attribute data can be drawn and edited in the EPS platform, that is, the land features in the range of the topographic map to be updated can be symbolized to obtain an updated topographic map.

[0059] At the same time, the library data corresponding to the updated topographic map is determined by combining the basic geographic information element classification and graphic expression code of local standards, the basic scale topographic map schematic symbol class, and the library mapping template formulated by national standards.

[0060] After generating the updated topographic map and library data corresponding to the range of the topographic map to be updated, the quality of the updated topographic map and library data can be checked based on the script program to improve the production efficiency of the "map" and "library".

[0061] In step S140, in response to the update operation on the updated topographic map, a data processing program is called, and the library data is linked to be updated through the data processing program to output the updated library data.

[0062] Among them, the data processing program may refer to a program developed based on a scripting language for realizing the linkage update of a gallery. For example, the data processing program may also be a program for exporting an ArcGIS (geographic information system) library developed using a scripting language. Of course, the data processing program may also be other programs developed based on a scripting language for realizing the linkage update of a gallery. This embodiment does not make any special limitation to this.

[0063] A scripting language can be used to develop an ArcGIS (Geographic Information System) library export program to export the edited and checked terrain data into the GDB format to facilitate further modification of the updated terrain map.

[0064] It is possible to generate and update the attribute records of the feature attribute data corresponding to the features in the topographic map, generate identification data for each attribute record, and add the identification data of each attribute record to the extended data corresponding to the feature attribute data. When the user's modification operation on the topographic map data is detected, the identification data of the attribute record corresponding to the erroneous data in the topographic map data can be changed to realize the linkage update of the topographic map data and the feature attribute data, thereby improving the update efficiency of the topographic map data and the feature attribute data.

[0065] Figure 2 The following is a schematic diagram of a method for generating a gallery mapping template according to some embodiments of the present disclosure. Figure 2 As shown, the library mapping template generation method may include the following steps:

[0066] In step S210, the local warehouse design plan and full-factor test samples are obtained, and the type of features, codes, layers, and symbols are edited and modified according to the basic scale diagram requirements;

[0067] In step S220, basic attribute characteristics such as element codes, layers, colors, and symbolic expression rules in the full-element test sample are determined;

[0068] In step S230, a relationship comparison table between key field codes of the feature entities in the local library design and the feature codes in the topographic map is generated;

[0069] In step S240, a conversion script is written to set conversion parameters between the topographic map database in the local warehouse design scheme and the warehouse database corresponding to the topographic map database;

[0070] In step S250, based on the basic attribute characteristics, symbol expression rules, relationship comparison table, and conversion parameters of the full-factor test sample, topographic map annotation data corresponding to the full-factor test sample is generated, and the topographic map annotation data and the element attribute data of the full-factor test sample are compared;

[0071] In step S260, it is detected whether the topographic map annotation data and the element attribute data of the full-element test sample are consistent. If the topographic map annotation data and the element attribute data are consistent, step S270 is executed, otherwise, the process jumps to step S220;

[0072] In step S270, a gallery mapping template is generated.

[0073] Among them, it is possible to standardize the use of completely consistent point, line, surface and corresponding combination expressions of the same type of elements in different software systems, and according to the library design plan and the national basic scale diagram requirements, the types, codes, layers and symbol styles of the features in EPS (a professional software for surveying, mapping and GIS data production, processing, database construction and update) are edited and modified one by one to make them consistent with the established styles of the features in the library file in the local library design plan. In EPS, the UserLayerTB (user layer) table determines the data layering, color separation scheme and attribute scheme, the FeatureCodeTB (feature coding layer) table determines the basic attribute characteristics of the feature code, layer, color, etc., the SymbolScriptTB (symbol description layer) defines the symbolic description, and the NoteTemplateTB (non-template layer) table defines the basic attribute characteristics of the annotation, the fields, types, lengths and other related attribute structures of the attached point, line and surface attribute tables, and the data conversion template can be customized according to the attributes and rules of UserLayerTB, FeatureCodeTB, SymbolScriptTB and NoteTemplateTB. At the same time, in order to ensure the unbiased conversion between the topographic map database and the library database corresponding to the topographic map database, the EPS codes of the features in the full-factor sample and the established key field codes of the features in the library file are established according to the local library design plan, and the relationship comparison table between the two is customized. It is also necessary to set the scattered level of the feature symbols, the export filter settings of the graphic symbols, and whether the graphic symbol conversion is reversed.

[0074] You can use the customized library mapping template in combination with data collation requirements to develop corresponding data collation script programs, standardize EPS format data source files, and ensure that the stratification, classification, compliance, and attributes are accurate before data conversion into the database. At the same time, use the running results of the full-factor sample test program to compare the symbol style, layer, and attribute value before and after the conversion of the features one by one; for inconsistent feature types, give priority to modifying the library mapping template, and then modify the conversion parameters; finally determine the EPS platform data working template and its cross-platform data import and export conversion parameters.

[0075] Figure 3 The following is a schematic diagram showing a process flow of a method for updating a terrain map according to some embodiments of the present disclosure. Figure 3 As shown, the method for generating topographic map data may include the following steps:

[0076] In step S310, the measured values ​​of the ground features in the range of the topographic map to be updated are obtained, and the measured values ​​are spatially converted and edited to obtain feature graphics and feature attribute data;

[0077] In step S320, a mapping relationship between features, symbols and codes is established based on the primitive-level feature mapping relationship comparison table;

[0078] In step S330, a correspondence between the feature name, feature type and attribute field of the feature attribute data is established according to the field code mapping table;

[0079] In step S340, in response to the drawing editing operation, the land feature elements are symbolized according to the mapping relationship, and the feature names, feature types and attribute fields are automatically assigned values ​​based on the corresponding relationship and feature attribute data to generate the updated topographic map.

[0080] Among them, the measurement value may refer to the spatial or attribute measurement value of the land features within the scope of the topographic map to be updated. For example, the measurement value may be the building area measurement value of the park within the scope of the topographic map to be updated. The measurement value may also be the spatial position coordinate measurement value of the apartment building within the scope of the topographic map to be updated. The measurement value may also be the elevation measurement value of the road within the scope of the topographic map to be updated. Of course, the measurement value may also be the measurement value of other land features within the scope of the topographic map to be updated. This embodiment does not make any special limitation to this.

[0081] Feature attribute data may refer to attribute data corresponding to a topographic map. For example, feature attribute data may be the location coordinates of a feature element in a topographic map, as well as the color and name of the feature element. It may also be coding information and layer code information of features corresponding to the feature element in the topographic map. Of course, feature attribute data may also be other vector data corresponding to the feature element in the topographic map, such as elevation attribute information, etc. This embodiment does not specifically limit this.

[0082] The primitive-level feature mapping relationship comparison table may refer to a comparison table for converting feature elements in the range of the topographic map to be updated into symbol elements. For example, the primitive-level feature mapping relationship comparison table may be a table for converting a garden in the range of the topographic map to be updated into a square feature symbol, or it may be a table for converting an apartment building in the range of the topographic map to be updated into a rectangular feature symbol. Of course, the primitive-level feature mapping relationship comparison table may also be a table for converting feature elements in the range of the topographic map to be updated into other symbol elements, and this embodiment does not make any special limitation to this.

[0083] The field code mapping table may refer to a mapping table used to establish the correspondence between the entity of a feature element and the basic attribute information of the feature. For example, the field code mapping table may be a mapping table that establishes the correspondence between the EPS code and the feature name in the database. The field code mapping table may also be a mapping table that establishes the correspondence between the EPS code and the feature type in the database. The field code mapping table may also be a mapping table that establishes the correspondence between the EPS code and the feature symbol in the database. Of course, the field code mapping table may also be a mapping table that establishes the correspondence between the EPS code and other key fields in the database. This embodiment does not specifically limit this.

[0084] The measured value data of the features in the range of the topographic map to be updated can be processed by data processing software to obtain feature attribute data, and the feature attribute data can be imported into the EPS platform. The key field coding information corresponding to the expression attribute of the terrain type in the database is read, and the EPS land class code corresponding to the key field code is obtained according to the field code mapping table, and the field code mapping table of the terrain type is generated according to the EPS land class code. At the same time, according to other attribute information in the database except the feature type, such as the feature name, the attribute information field such as the feature name can be added to the field code mapping table to expand the field code mapping table. In addition, according to the characteristics of the EPS platform feature diagram expression, the extended attribute field with rotation direction and elevation information can be assigned to the field code mapping table, so as to symbolically display the features to meet the requirements of the standard diagram expression of feature symbols.

[0085] In an example embodiment of the present disclosure, edge processing may be performed on the primitive identifiers in the updated topographic map based on the spatial logical relationship between the primitive identifiers in the updated topographic map to achieve fusion of the primitive identifiers.

[0086] Among them, the topographic map can be divided into sections based on the spatial logical relationship of the graphic element identifiers in the updated topographic map, such as natural boundaries such as roads and rivers, to obtain a sub-topographic map set, or the points where the coordinates of the feature entities fall on the grid lines can be used as dividing lines to obtain a sub-topographic map set. Of course, the updated topographic map can also be divided into sections based on other spatial logical relationships of the graphic element identifiers in the topographic map data to obtain a sub-topographic map set, which is not specifically limited in this embodiment. Furthermore, the element attribute data of the sub-topographic maps can be distinguished, and the sub-topographic maps can be drawn in parallel.

[0087] Optionally, after completing the sub-topographic map mapping, the sub-topographic maps that can be spliced ​​can be determined from the sub-topographic map set for edge joining according to the spatial logic of the graphic element identifiers in the sub-topographic maps, such as the spatial position of the house relative to the river or road. Alternatively, a circular matching can be performed according to the entities at the same site, and the graphic element identifiers corresponding to two identical land entities can be matched from the sub-topographic maps. The sub-topographic maps containing the graphic element identifiers can be edge joined, and the cross-sheet elements of adjacent sub-topographic maps can be checked for edge joining. The same feature entity across sheets can be edge joined so that the mapping result meets the edge joining requirements, thereby achieving the fusion of the sub-topographic maps.

[0088] A scripting language can be used to develop an ArcGIS library export program, which can export the edited and checked terrain data into the GDB format, perform edge processing in the ArcGIS library, and realize the fusion of sub-topographic maps.

[0089] Figure 4 The following is a schematic diagram showing the flow of a method for generating topographic map annotation data according to some embodiments of the present disclosure. Figure 4 As shown, the method for generating topographic map annotation data may include the following steps:

[0090] In step S410, the annotation angle information of the feature attribute data is determined based on the updated topographic map;

[0091] In step S420, a graphic element identifier in the topographic map data is identified, and elevation information, width information, and annotation style information corresponding to the graphic element identifier are read;

[0092] In step S430, the topographic map data is annotated based on the annotation angle information, the elevation information, the width information, and the annotation style information to obtain topographic map annotation data and the annotated updated topographic map.

[0093] Among them, the annotation angle information can refer to the direction angle information of the element attribute data of the annotation primitive in the topographic map. For example, the annotation angle information can be the direction angle information of the annotation river length determined based on the river flow direction in the topographic map, or the direction angle information of the annotation road name determined based on the road starting direction in the topographic map, or the direction angle information of the annotation mountain height determined based on the contour line of the mountain in the topographic map. Of course, the annotation angle information can also be the direction angle information of the element attribute data of other primitives in the topographic map, and this embodiment does not make special restrictions on this. The primitive identifier can be the land feature symbol identifier data in the topographic map. The elevation information can refer to the distance information from the primitive identifier along the plumb line to the geoid in the digital elevation model. The width information can refer to the road width information. The annotation style information can refer to the font format of the annotation, the width and size information of the font display. The topographic map annotation data can refer to the data obtained after the elevation information and the width information are assigned to the topographic map according to the annotation angle information of the primitive identifier.

[0094] In combination with the actual production of topographic maps, a program can be developed using a scripting language to automatically assign the attribute information of the surrounding elevation points of the feature entity or the elevation information of the contour lines to each node of the graphic element identifier. In particular, for houses, the standard floor height can be set according to the number of floors of the house, and the elevation information of the nearby elevation points and contour lines can be combined to finally determine the elevation information of each node of the house. Furthermore, a program can be developed using a scripting language to automatically assign the attribute information of the surrounding elevation points of the feature entity or the elevation information of the contour lines to each node of the graphic element identifier, thereby avoiding the inability to achieve spatial fit between the terrain data and the stereo image pair when loading vector data and stereo models, and also allowing users to directly observe the annotation data of the topographic map, thereby improving the aesthetics of the topographic map.

[0095] In the process of annotation editing, since there is a certain spatial logical relationship between road names, technical levels, water system names, pipeline property annotations, contour line annotations, etc. and the objects they represent, this logical relationship can be used to develop a batch rotation annotation angle program using a scripting language. Furthermore, based on the batch rotation annotation angle program, the primitive identifiers in the topographic map are batch annotated, which reduces the workload of manual editing and improves the annotation efficiency of the topographic map.

[0096] Figure 5 The following is a schematic diagram of a method for updating a topographic map and checking topographic map annotation data according to some embodiments of the present disclosure. Figure 5 As shown, the method for updating the topographic map and checking the topographic map annotation data may include the following steps:

[0097] In step S510, the annotated updated topographic map and the topographic map annotation data are subjected to topology check, primitive identification check, annotation check, and edge check;

[0098] In step S520, if it is detected that the erroneous data exists in the updated topographic map and the topographic map annotation data, the erroneous data is located in the annotated updated annotation topographic map data and the topographic map annotation data, the location information of the erroneous data is determined, and the error type of the erroneous data is determined;

[0099] In step S530, the error data is identified based on the location information and the error type to obtain identification data.

[0100] Among them, the erroneous data may refer to data to be updated in the topographic map data. For example, the erroneous data may be feature element data to be updated in the topographic map data, or annotation data to be updated in the topographic map data, or feature element position data to be updated in the topographic map data. Of course, the erroneous data may also be other data to be updated in the topographic map data, and this embodiment does not make any special limitation to this.

[0101] The identification data may be data obtained by identifying the erroneous data. For example, the identification data may be identification data obtained by highlighting the erroneous data. The identification data may also be identification data corresponding to an error type reminder for the erroneous data. Of course, the identification data may also be data obtained by performing other identification processing on the erroneous data. This embodiment does not specifically limit this.

[0102] The error types include topology error types, primitive identification error types, annotation content error types, edge connection error types, etc., and this embodiment does not specifically limit this.

[0103] Scripting languages ​​can be used to annotate the symbols of features in topographic map data. For example, feature attribute data corresponding to the primitives in topographic map data can be automatically merged and split through scripting languages, and topographic maps drawn by the mapping platform can be batch annotated to improve the efficiency of topographic map annotation. In addition, topographic map data can be checked for topology, annotations, and rationality through scripting languages, and erroneous elements can be modified according to the error type of the checked erroneous elements, thereby improving the accuracy of topographic map data.

[0104] The topological check algorithm can also be used to perform a topological check on the annotation data of the topographic map to determine whether there are isolated points, hanging points, pseudo nodes, line intersections, surface overlaps, and other problems in the updated topographic map, and a graphical positioning function can be provided for the detected topological relationship errors, providing convenience for topological error query and correction. At the same time, the annotation check can also be performed on the decoration outside the inner outline to determine whether the outline coordinates conform to the theoretical values, whether the map name, map number, annotations between and outside the outline are correct, and whether the map frame is correct. The contents of the map can also be checked, such as whether the decoration and annotations of kilometer grid points and control points at all levels conform to the regulations, whether the location, quantity, and density of the annotations of elevation points and contour lines conform to the diagram, specifications, and design requirements, and whether the elevation annotations are consistent with the curve elevation; the edge check can also be performed around the map to determine whether the edge features and landforms have obvious deformation or strong edge connection.

[0105] Optionally, in the process of graphically expressing the high-voltage transmission lines through high-voltage towers, combined with the requirements of terrain graphical expression, a scripting language can be used to develop batch processing of high-voltage transmission lines between high-voltage towers, with the graphical expression hidden and the library expression connection processing; in the process of vegetation surface and vegetation points inlaid within the surface, the library mapping template customization function can be used to freely adjust the distribution of finished glyphs, point-to-point spacing, and point symbol angles of the inlaid points within the surface to meet the requirements of the graphical specification, and a scripting language can be used to develop a script for checking the consistency of the attributes of the vegetation surface and the internal inlaid points to ensure that the vegetation points are expressed consistently with the outer frame surface. In the process of processing the logical relationship between the water system surface and the traffic surface, a scripting language can also be used to develop a program to quickly locate the intersection and overlap positions of the water system surface and the traffic surface, as well as the intersection and overlap positions of the water line and the water system surface.

[0106] In short, the updated topographic maps and topographic map annotation data can be checked for spatial logical relationships of elements, spatial element attribute information, illegal points, lines, and surfaces, and the scripting language can be used to develop consistency checks on elevation annotations and elevation annotation location point attribute information, illegal water drop elevation points, vegetation surfaces and symbols within surfaces, reverse checks and processing of directed points and lines, consistency checks on feature surface attribute values ​​and their internal annotation fields, etc. The effective combination of multiple inspection methods improves the speed and quality of data editing and processing.

[0107] Figure 6 The following is a schematic diagram showing the process of the gallery linkage update method according to some embodiments of the present disclosure. Figure 6 As shown, the gallery linkage update method may include the following steps:

[0108] In step S610, in response to an update operation on the updated topographic map, the updated topographic map and the updated data corresponding to the identification data in the topographic map annotation data of the updated topographic map are determined;

[0109] In step S620, the feature attribute data corresponding to the update data is read, and the topographic map annotation data is synchronously updated according to the update data to obtain the updated topographic map;

[0110] In step S630, a data processing program is called, and the library data corresponding to the updated topographic map is linked updated through the data processing program, and the updated library data is output.

[0111] Among them, the updated data may refer to modified data corresponding to the erroneous data. For example, the erroneous data may be data whose coordinate data is annotated and does not conform to the theoretical value. The updated data may be modified data corresponding to the erroneous data obtained after spatial conversion and editing of the measured value of the ground object entity according to the basic large-scale scale. The erroneous data may also be erroneous data of the primitive identification in the topographic map data. The updated data may be the modified primitive identification data. Of course, the updated data may also be modified data corresponding to other types of erroneous data, and this embodiment does not make any special limitation to this.

[0112] According to the feature attribute data in the library mapping template in the library design plan, the erroneous data can be identified in the updated topographic map and the topographic map annotation data, and then the user can read the feature attribute data or extended data corresponding to the identification data from the EPS platform according to the identification data, such as elevation information, and modify the feature attribute data or extended data. At the same time, the updated data can be automatically displayed directly in the topographic map annotation data to achieve the update of the topographic map annotation data and the updated topographic map. At the same time, the library data corresponding to the updated topographic map is updated through the data processing program, thereby realizing the linkage update of the library data. Therefore, the updated topographic map can be directly uploaded or shipped out of the library, which improves the production efficiency of the topographic map.

[0113] For example, the EPS code of a general house is 001, and the EPS code of a brick house is also 001. Since the basic attribute codes of different land objects are the same, there is a problem of illegal basic attribute codes. By identifying general houses and brick houses in the updated topographic map and topographic map annotation data, the identification data of general houses and brick houses can be obtained. After clicking on the identification data, the user can click on the cadastral option in the menu, and the building annotation->property option, and the code and structure type can be modified in the attribute list. Then, the feature attribute data of general houses and brick houses in the database are synchronously updated according to the updated data corresponding to the identification data, and the updated topographic map and topographic map annotation data are re-rendered based on the updated data to obtain the updated updated topographic map and topographic map annotation data, so as to realize the linkage update of the library data, avoiding the problem of low efficiency and low update accuracy of the library linkage update caused by manually changing the "library" with the "map".

[0114] In an example embodiment of the present disclosure, feature attribute information in a pre-built gallery mapping template can be obtained, and the topographic map annotation data of the updated topographic map can be checked for required attributes based on the feature attribute information; if there are any missing attributes, the missing attributes are assigned values ​​based on the feature attribute information.

[0115] The feature attribute information may refer to information describing the feature, for example, the feature attribute information may be the shape of the feature, the name of the feature, the layer where the feature is located, the display color of the feature, the number of levels of the feature, the primitive identifier of the feature, and of course, the feature attribute information may also be other information describing the feature, which is not specifically limited in this embodiment. The required attribute item may refer to the required item in the feature attribute information.

[0116] The required attribute items in the processed topographic map annotation data can be checked according to the attribute information of each element in the library mapping template, and the annotation content can be automatically obtained by superimposing lines and annotations, surfaces and annotations, and the unfilled attribute items can be assigned values ​​​​through the annotation content, thereby meeting the requirements for topographic map output and the need for direct storage of data and attribute information, truly realizing library integration.

[0117] It should be noted that, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0118] In addition, in this exemplary embodiment, a library linkage update device is also provided. Figure 7As shown, the image library linkage updating device 700 includes: a module for determining a range of a topographic map to be updated 710 , a data acquisition module 720 , an image library generating module 730 , and an image library linkage updating module 740 . Among them: the range determination module 710 of the topographic map to be updated is used to obtain the historical topographic map and the latest image map, and compare and analyze the historical topographic map and the latest image map to determine the range of the topographic map to be updated; the data acquisition module 720 is used to obtain the data source of the range of the topographic map to be updated collected by the drone, and obtain the customized template for integrating and converting the data source; the customized template includes a data acquisition template and a library mapping template; the library mapping template is formulated according to the classification of symbols in the local standard data dictionary and the topographic map schema, and the classification of symbols in the national standard data dictionary and the topographic map schema; the library generation module 730 is used to generate an updated topographic map corresponding to the range of the topographic map to be updated based on the data acquisition template, and generate library data corresponding to the updated topographic map based on the library mapping template conversion; the library linkage update module 740 is used to call the data processing program in response to the update operation of the updated topographic map, and update the library data corresponding to the updated topographic map based on the data processing program to output the updated library data.

[0119] In some example embodiments of the present disclosure, based on the aforementioned scheme, the data acquisition module 720 also includes a data determination unit, which is used to obtain the measurement values ​​of the terrain elements in the range of the topographic map to be updated, and perform spatial conversion editing on the measurement values ​​to obtain feature graphics and feature attribute data; establish a mapping relationship between terrain, symbols and codes based on the primitive-level terrain feature mapping relationship comparison table; establish a correspondence between the feature name, feature type and attribute field of the feature attribute data according to the field code mapping table; in response to the drawing editing operation, symbolize the terrain elements according to the mapping relationship, and automatically assign values ​​to the feature name, feature type and attribute field based on the corresponding relationship and feature attribute data to generate the updated topographic map.

[0120] In some example embodiments of the present disclosure, based on the aforementioned scheme, the gallery linkage update device 700 also includes an edge processing module, which is used to perform edge processing on the primitive identifiers in the updated topographic map based on the spatial logical relationship of the primitive identifiers in the updated topographic map, so as to achieve fusion of the primitive identifiers.

[0121] In some example embodiments of the present disclosure, based on the aforementioned scheme, the gallery generation module 730 also includes a topographic map data annotation unit, which is used to determine the annotation angle information of the feature attribute data based on the topographic map data; identify the primitive identifier in the topographic map data, and read the elevation information, width information, and annotation style information corresponding to the primitive identifier; annotate the topographic map data based on the annotation angle information, as well as the elevation information, width information, and annotation style information to obtain topographic map annotation data and annotated updated topographic map.

[0122] In some example embodiments of the present disclosure, based on the aforementioned scheme, the gallery linkage update module 740 also includes a detection unit, which is used to perform topology check, primitive identification check, annotation check, and edge check on the updated topographic map after annotation and the topographic map annotation data; if it is detected that the erroneous data exists in the updated topographic map after annotation and the topographic map annotation data, the erroneous data is located in the updated topographic map after annotation and the topographic map annotation data, the location information of the erroneous data is determined, and the error type of the erroneous data is determined; based on the location information and the error type, the erroneous data is identified to obtain identification data.

[0123] In some example embodiments of the present disclosure, based on the aforementioned scheme, the map library linkage update module 740 further includes a data update unit, which is used to determine, in response to an update operation on the updated topographic map, the updated data corresponding to the identification data in the updated topographic map and the topographic map annotation data of the updated topographic map; read the feature attribute data corresponding to the updated data, and synchronously update the topographic map annotation data according to the updated data to obtain the updated updated topographic map data; call a data processing program, and linkage update the library data through the data processing program, and output the updated library data.

[0124] In some example embodiments of the present disclosure, based on the aforementioned scheme, the gallery linkage update module 740 also includes a mandatory item checking unit, which is used to obtain feature attribute information in the gallery mapping template, and perform a mandatory attribute check on the topographic map annotation data of the updated topographic map based on the feature attribute information; if there are unfilled attributes in the mandatory attribute items, the unfilled attributes are assigned values ​​based on the feature attribute information.

[0125] The specific details of each module of the above-mentioned gallery linkage updating device have been described in detail in the corresponding gallery linkage updating method, so they will not be repeated here.

[0126] It should be noted that although several modules or units of the gallery linkage update device are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units for concretization.

[0127] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above-mentioned gallery linkage update method is also provided.

[0128] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware embodiments, complete software embodiments (including firmware, microcode, etc.), or embodiments combining hardware and software aspects, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0129] Refer to the following Figure 8 800 according to this embodiment of the present disclosure is described. Figure 8 The electronic device 800 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0130] like Figure 8 As shown, the electronic device 800 is in the form of a general computing device. The components of the electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one storage unit 820, a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810), and a display unit 840.

[0131] The storage unit stores a program code, which can be executed by the processing unit 810, so that the processing unit 810 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 810 can perform the following steps: Figure 1In step S110 shown in the figure, a historical topographic map and the latest image map are collected, and the historical topographic map and the latest image map are compared to determine the range of the topographic map to be updated; in step S120, a data source of the range of the topographic map to be updated collected by a drone, and a customized template for integrating and converting the data source are obtained; the customized template includes a data collection template and a library mapping template; the library mapping template is formulated according to the classification of symbols in the data dictionary and topographic map schema of the local standard, and the classification of symbols in the data dictionary and topographic map schema of the national standard; in step S130, an updated topographic map corresponding to the range of the topographic map to be updated is generated based on the data collection template, and library data corresponding to the updated topographic map is generated based on the library mapping template conversion; in step S140, in response to the update operation of the updated topographic map, a data processing program is called, and the library data is linked to be updated based on the data processing program, and the updated library data is output.

[0132] The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 821 and / or a cache memory unit 822 , and may further include a read-only memory unit (ROM) 823 .

[0133] The storage unit 820 may also include a program / utility 824 having a set (at least one) of program modules 825, such program modules 825 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0134] Bus 830 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0135] The electronic device 800 may also communicate with one or more external devices 870 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 800, and / or communicate with any device that enables the electronic device 800 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 850. Furthermore, the electronic device 800 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 860. As shown, the network adapter 860 communicates with other modules of the electronic device 800 via a bus 830. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0136] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0137] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible embodiments, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of the present specification.

[0138] refer to Fig. 9 As shown, a program product 900 for implementing the above-mentioned gallery linkage update method according to an embodiment of the present disclosure is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus, or a device.

[0139] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0140] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0141] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0142] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0143] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0144] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0145] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0146] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for updating a gallery linkage, characterized in that: include: Collect historical topographic maps and latest image maps, and determine the scope of the topographic map to be updated by comparing and analyzing the historical topographic maps and the latest image maps; Acquire an update data source of the to-be-updated topographic map range collected by a drone, and acquire a customized template for integrating and converting the update data source; The customized templates include a data collection template and a gallery mapping template; The library mapping template is formulated based on the classification of symbols in the local standard data dictionary and topographic map schema, and the classification of symbols in the national standard data dictionary and topographic map schema; Generate an updated topographic map corresponding to the range of the to-be-updated topographic map based on the data acquisition template, and generate library data corresponding to the updated topographic map based on the library mapping template conversion; In response to the update operation of the updated topographic map, a data processing program is called, and the library body data is linked and updated through the data processing program to output the updated library body data; The data collection template includes a primitive-level feature mapping relationship comparison table and a field code mapping table, and the step of generating an updated topographic map corresponding to the range of the topographic map to be updated based on the data collection template includes: Determine the measured values ​​of the ground features in the range of the to-be-updated topographic map based on the update data source, and perform spatial conversion editing on the measured values ​​to obtain feature graphics and feature attribute data; Establishing a mapping relationship between features, symbols and codes based on the primitive-level feature mapping relationship comparison table; Establishing a correspondence between the feature name, feature type and attribute field of the feature attribute data according to the field code mapping table; In response to the drawing editing operation, the land feature elements are symbolized according to the mapping relationship, and the feature names, feature types and attribute fields are automatically assigned values ​​based on the corresponding relationship and feature attribute data to generate the updated topographic map.

2. The method for updating the gallery linkage according to claim 1, characterized in that: The method further comprises: Based on the spatial logical relationship of the graphic element identifiers in the updated topographic map, edge processing is performed on the graphic element identifiers in the updated topographic map to achieve fusion of the graphic element identifiers.

3. The method for updating the gallery linkage according to claim 1, characterized in that: The method further comprises: Determining the annotation angle information of the feature attribute data based on the updated topographic map; Identify the graphic element identifier in the updated topographic map, and read the elevation information, width information, and annotation style information corresponding to the graphic element identifier; The updated topographic map is annotated based on the annotation angle information, the elevation information, the width information, and the annotation style information to obtain topographic map annotation data and the annotated updated topographic map.

4. The method for updating the gallery linkage according to claim 3, characterized in that: Before calling the data processing program in response to the update operation on the updated terrain map, the method further comprises: Performing topological check, primitive identification check, annotation content check, and edge check on the annotated updated topographic map and the topographic map annotation data; If it is detected that there is erroneous data in the updated topographic map after annotation and the topographic map annotation data, the erroneous data is located in the updated topographic map after annotation and the topographic map annotation data, the location information of the erroneous data is determined, and the error type of the erroneous data is determined; Based on the location information and the error type, the error data is identified to obtain identification data.

5. The method for updating the gallery linkage according to claim 4, characterized in that: In response to the update operation on the updated topographic map, calling a data processing program, and updating the library data in a linked manner through the data processing program to output the updated library data includes: In response to an update operation on the updated topographic map, determining the updated topographic map and the updated data corresponding to the identification data in the topographic map annotation data; Reading feature attribute data corresponding to the update data, and synchronously updating the topographic map annotation data in the update topographic map according to the feature attribute data, to obtain the updated update topographic map; A data processing program is called, and the library body data corresponding to the updated topographic map is linked updated through the data processing program to output the updated library body data.

6. The method for updating the gallery linkage according to claim 5, characterized in that: The method further comprises: Acquire feature attribute information in the map library mapping template, and perform attribute mandatory item check on the topographic map annotation data of the updated topographic map based on the feature attribute information; If there are missing attributes in the required attribute items, the missing attributes are assigned values ​​based on the element attribute information.

7. A library linkage update device, characterized in that: include: A module for determining the range of topographic maps to be updated, which is used to collect historical topographic maps and latest image maps, and determine the range of topographic maps to be updated by comparing and analyzing the historical topographic maps and the latest image maps; A data acquisition module, used to acquire an update data source of the range of the to-be-updated topographic map collected by a drone, and a customized template for integrating and converting the update data source; The customized templates include a data collection template and a gallery mapping template; The library mapping template is formulated based on the classification of symbols in the local standard data dictionary and topographic map schema, and the classification of symbols in the national standard data dictionary and topographic map schema; A library generation module, used to generate an updated topographic map corresponding to the range of the to-be-updated topographic map based on the data acquisition template, and to generate library data corresponding to the updated topographic map based on the library mapping template conversion; A library linkage update module, for responding to an update operation on the updated topographic map, calling a data processing program, and updating the library body data through the data processing program, so as to output the updated library body data; Wherein, the data acquisition template includes a primitive-level feature mapping relationship comparison table and a field code mapping table, and the generating of an updated topographic map corresponding to the range of the topographic map to be updated based on the data acquisition template includes: determining the measured values ​​of the feature elements in the range of the topographic map to be updated based on the updated data source, and performing spatial conversion editing on the measured values ​​to obtain feature graphics and feature attribute data; establishing a mapping relationship between features, symbols and codes based on the primitive-level feature mapping relationship comparison table; establishing a correspondence between the feature name, feature type and attribute field of the feature attribute data according to the field code mapping table; in response to a drawing editing operation, symbolizing the feature elements according to the mapping relationship, and automatically assigning values ​​to the feature name, feature type and attribute field based on the corresponding relationship and feature attribute data to generate the updated topographic map.

8. An electronic device comprising: processor; as well as A memory having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by the processor, implement the gallery linkage update method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the gallery linkage update method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method, system and equipment for updating ground object in topographic map

    CN110263113A

  • Collection and drawing integrated completion drawing making method

    CN110688756A