Method, apparatus, electronic device and readable storage medium for topographic map revision and supplement
By generating the initial seed file and inserting the repair and retrieval layer, data mapping and editing is performed, the problem of inefficient topographic map repair and retrieval in the existing technology is solved, and clear distinction between topographic map and target landform data is achieved and efficient editing is achieved.
Patent Information
- Application Number
- CN202210677171.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-15
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2042-06-15
AI Technical Summary
The prior art topographic map repair and re-measurement methods lead to indistinguishability of new maps and old maps, and require full-frame maps to be edited and adjusted, resulting in inefficiency.
By obtaining the aerial survey images of the original topographic map and the target land object, generating initial seed files, inserting the repair and retrieval layer, performing data mapping and editing, distinguishing between the standard layer and the repair and retrieval layer, and forming a new topographic map.
It has achieved a clear distinction between the original topographic map and the target land object data of the repair and re-test, and improved the efficiency of topographic map repair and re-test, and can be edited and adjusted in a targeted manner.
Smart Images

Figure CN115131536B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of surveying and mapping technology, and more specifically, to a method, device, electronic device, and readable storage medium for topographic map revision and supplement measurement. Background Art
[0002] Topographic map revision and supplement measurement play an important role in fields such as resource planning, land management, urban municipal administration, and engineering construction. The results of topographic map revision and supplement measurement can be used as the fundamental maps required for urban infrastructure construction planning, land resource management, etc., and represent in detail the main types of basic geographic elements and attribute content. Among them, the main content of topographic map supplement and revision work is to identify each area, each newly added building, and updated terrain, landform, and geographical names, as well as rebuilt and disappeared ground objects, and perform multi-scale compilation based on the topographic map revision data to form a new topographic map.
[0003] In the existing topographic map revision and supplement measurement methods, first, digital images are obtained through a digital aerial camera. Based on the field image control, aerial triangulation encryption is performed. Secondly, through a fully digital photogrammetry system supplemented by field surveying, ground object information is collected in all elements, and full-element editing and finishing of vector data are carried out, and finally, the final results of topographic map revision and supplement measurement are formed.
[0004] However, the methods of the existing technology will result in the inability to distinguish the newly measured map from the old map, and full-scale editing and surveying are required, which leads to low efficiency in topographic map revision and supplement measurement. Summary of the Invention
[0005] The purpose of this application is to provide a method, device, electronic device, and readable storage medium for topographic map revision and supplement measurement to solve the problems in the existing technology that the newly measured map cannot be distinguished from the old map and the low efficiency of topographic map revision and supplement measurement caused by the need for full-scale editing and surveying.
[0006] To achieve the above purpose, the technical solutions adopted in the embodiments of this application are as follows:
[0007] In a first aspect, an embodiment of this application provides a method for topographic map revision and supplement measurement, including:
[0008] Obtain the original topographic map and the elevation information of the ground objects in the original topographic map, and obtain the aerial survey image of the target ground object to be revised and supplemented;
[0009] Generate an initial seed file according to the original topographic map and the elevation information of the ground objects in the original topographic map. The initial seed file includes multiple standard layers, and each standard layer includes data of one type of ground object;
[0010] Determine the target type of the target object according to the aerial survey image of the target object, and insert a retest and supplement layer into the initial seed file according to the target type of the target object to obtain a new seed file, where the retest and supplement layer includes data of the target object;
[0011] Perform data mapping on the data of the standard layer and the retest and supplement layer with the same object type in the new seed file;
[0012] Edit and convert the data of the objects in the new seed file according to the results of data mapping to obtain a target topographic map.
[0013] Optionally, obtaining the original topographic map and the elevation information of the objects in the original topographic map includes:
[0014] Obtain the original topographic map;
[0015] Screen out elevation elements from the original topographic map, where the elevation elements include: elevation points, contour lines;
[0016] Assign elevations to the topographic elements other than the elevation elements in the original topographic map according to the elevation elements to obtain the elevation information of the objects in the original topographic map.
[0017] Optionally, generating an initial seed file according to the original topographic map and the elevation information of the objects in the original topographic map includes:
[0018] Convert the data of the objects in the original topographic map into object data in a second format;
[0019] Combine the object data in the second format and the elevation information of the objects to generate the initial seed file.
[0020] Optionally, before inserting the retest and supplement layer into the initial seed file, it further includes:
[0021] Obtain the data of the target object in a first format according to the aerial survey image of the target object;
[0022] Convert the data in the first format into data in a second format;
[0023] The inserting the retest and supplement layer into the initial seed file includes:
[0024] Insert the data in the second format as the data of the retest and supplement layer into the initial seed file.
[0025] Optionally, inserting a retest and supplement layer into the initial seed file according to the target type of the target object to obtain a new seed file includes:
[0026] Search for the target standard layer with the target type in the initial seed file;
[0027] Insert the revised survey and supplementary survey layer into the initial seed file, and establish an association relationship between the target standard layer and the revised survey and supplementary survey layer to obtain the new seed file.
[0028] Optionally, perform data mapping on the data of the standard layer and the revised survey and supplementary survey layer with the same feature type in the new seed file, including:
[0029] Adjust the color corresponding to the data of the standard layer with the same feature type to the first color;
[0030] Adjust the color corresponding to the data of the revised survey and supplementary survey layer with the same feature type to the second color, and the first color is different from the second color.
[0031] Optionally, according to the result of the data mapping, convert the data of the features in the new seed file to obtain the target topographic map, including:
[0032] Perform format conversion on the data of the features in each standard layer and each revised survey and supplementary survey layer in the new seed file to obtain the data of the features with the first format;
[0033] Combine the data of the features with the first format to obtain the target topographic map.
[0034] In a second aspect, an embodiment of the present application further provides a topographic map revision and supplementary survey device, including: an acquisition module, a generation module, a determination module, a mapping module, and a conversion module;
[0035] The acquisition module is configured to acquire the original topographic map and the elevation information of the features in the original topographic map, and acquire the aerial survey image of the target feature to be revised and supplemented;
[0036] The generation module is configured to generate an initial seed file according to the original topographic map and the elevation information of the features in the original topographic map, and the initial seed file includes multiple standard layers, and each standard layer includes the data of one type of feature;
[0037] The determination module is configured to determine the target type of the target feature according to the aerial survey image of the target feature, and insert a revised survey and supplementary survey layer into the initial seed file according to the target type of the target feature to obtain a new seed file, and the revised survey and supplementary survey layer includes the data of the target feature;
[0038] The mapping module is configured to perform data mapping on the data of the standard layer and the revised survey and supplementary survey layer with the same feature type in the new seed file;
[0039] A conversion module, configured to convert the data of the features in the new seed file according to the result of data field survey to obtain a target topographic map.
[0040] Optionally, the obtaining module is specifically configured to: obtain the original topographic map; screen out elevation features from the original topographic map, where the elevation information includes: elevation points and contour lines; perform elevation assignment on the topographic features other than the elevation features in the original topographic map according to the elevation features to obtain the elevation information of the features in the original topographic map.
[0041] The generating module is specifically configured to: convert the data of the features in the original topographic map into the feature data in a second format; combine the feature data in the second format and the elevation information of the features to generate the initial seed file.
[0042] The determining module is specifically configured to: find a target standard layer with the target type in the initial seed file; insert the patch survey layer into the initial seed file and establish an association relationship between the target standard layer and the patch survey layer to obtain the new seed file.
[0043] Optionally, the determining module is further configured to: obtain the data in a first format of the target feature according to the aerial survey image of the target feature; convert the data in the first format into the data in a second format. Specifically, it is configured to insert the data in the second format as the data of the patch survey layer into the initial seed file.
[0044] The field survey module is specifically configured to: adjust the color corresponding to the standard layer data with the same feature type to a first color; adjust the color corresponding to the patch survey layer data with the same feature type to a second color, where the first color is different from the second color.
[0045] The conversion module is specifically configured to: perform format conversion on the data of the features in each standard layer and each patch survey layer in the new seed file to obtain the data of multiple features in a first format; combine the data of the features in the first format to obtain the target topographic map.
[0046] In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory, where the memory stores machine-readable instructions executable by the processor. When the electronic device runs, the processor executes the machine-readable instructions to perform the steps of the topographic map repair and patch survey method as described in the first aspect above.
[0047] Fourthly, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, it executes the steps of the topographic map revision and supplementary survey method described in the first aspect above.
[0048] The beneficial effects of the present application include:
[0049] An embodiment of the present application provides a method and device for topographic map revision and supplementary survey, which obtain the original topographic map and the elevation information of the features in the original topographic map, and obtain the aerial survey images of the target features to be revised and supplemented; generate an initial seed file according to the original topographic map and the elevation information of the features in the original topographic map; determine the target type of the target feature according to the aerial survey image of the target feature, and insert a revision and supplementary survey layer into the initial seed file according to the target type of the target feature to obtain a new seed file; perform data mapping on the data of the standard layer and the revision and supplementary survey layer with the same feature type in the new seed file; convert the data of the features in the new seed file according to the result of the data mapping to obtain the target topographic map. Through the standard layer and the revision and supplementary survey layer set in the seed file, the data of the original topographic map and the target features to be revised and supplemented can be clearly distinguished, and then targeted editing and mapping can be carried out for the original topographic map and the target features, thus greatly improving the efficiency of topographic map revision and supplementary survey. Description of the Drawings
[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can also be obtained based on these drawings without creative efforts.
[0051] Figure 1 It is the first flow chart of a topographic map revision and supplementary survey method provided by an embodiment of the present application;
[0052] Figure 2 It is the second flow chart of a topographic map revision and supplementary survey method provided by an embodiment of the present application;
[0053] Figure 3 It is the third flow chart of a topographic map revision and supplementary survey method provided by an embodiment of the present application;
[0054] Figure 4 It is the fourth flow chart of a topographic map revision and supplementary survey method provided by an embodiment of the present application;
[0055] Figure 5 It is the fifth flow chart of a topographic map revision and supplementary survey method provided by an embodiment of the present application;
[0056] Figure 6 It is the sixth process schematic diagram of a topographic map revision and supplement method provided by an embodiment of the present application;
[0057] Figure 7 It is the seventh process schematic diagram of a topographic map revision and supplement method provided by an embodiment of the present application;
[0058] Figure 8 It is the structural schematic diagram of a topographic map revision and supplement device provided by an embodiment of the present application;
[0059] Figure 9 It is the schematic diagram of a topographic map revision and supplement processor and storage medium provided by an embodiment of the present application. Detailed implementation manners
[0060] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application.
[0061] In the description of the present application, it should be noted that the terms "first", "second", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0062] The existing topographic map revision and supplement method is to collect ground object information through full elements and perform full element editing and finishing to form the final topographic map revision and supplement results.
[0063] However, since the existing technology collects ground object information through full elements and performs full element editing and finishing, the resulting topographic map revision and supplement results are full-element topographic maps, and it is impossible to distinguish the changed areas therefrom. Therefore, the new topographic map corresponding to the topographic map revision and supplement results cannot be clearly distinguished from the original old topographic map. Correspondingly, when editing and mapping, it is necessary to perform full-map editing and mapping on the new topographic map, resulting in low efficiency of topographic map revision and supplement.
[0064] Based on the above problems, the embodiments of the present application propose a topographic map revision and supplement method. By obtaining the aerial survey images of the target ground objects to be revised and supplemented, taking the original topographic map and the data of the target ground objects as the standard layer and the revision and supplement layer in the seed file respectively, and performing mapping and editing based on the standard layer and the revision and supplement layer, the data of the original topographic map and the target ground objects to be revised and supplemented can be clearly distinguished. Furthermore, targeted editing and mapping can be performed on the original topographic map and the target ground objects, thereby greatly improving the efficiency of topographic map revision and supplement.
[0065] The following uses specific embodiments to explain the specific implementation process of the topographic map revision and supplementation method provided in this application.
[0066] Figure 1 FIG. 4 is a first flow schematic diagram of a topographic map revision and supplementation method provided by an embodiment of the present application. The execution subject of this method can be an electronic device with computing and processing capabilities. As Figure 1 shown, this method includes:
[0067] S101: Obtain the original topographic map and the elevation information of the features in the original topographic map, and obtain the aerial survey images of the target features to be revised and supplemented.
[0068] Optionally, the above-mentioned original topographic map may refer to the topographic map formed before this revision and supplementation. The elevation information of the features in the original topographic map may include information such as elevation points and contour lines of the features.
[0069] Optionally, the above-mentioned original topographic map can be obtained by processing the aerial survey images of the surveyed area. The original topographic map can be, for example, a two-dimensional image or a three-dimensional image. For the original topographic map, the original topographic map can be three-dimensionally transformed and elevation points, contour lines, etc. can be extracted from it, so as to obtain the elevation information of the features in the original topographic map.
[0070] Optionally, the above-mentioned target features can be, for example, buildings, roads, etc. that have changed in the above-mentioned surveyed area. For the target features, devices such as drones can be used to conduct aerial surveys on the target features in advance, so as to obtain the aerial survey images of the target features. Exemplarily, the aerial survey images of the target features can be two-dimensional images or three-dimensional images.
[0071] It should be noted that the surveyed area described in this application can be an arbitrarily sized area flexibly selected according to actual needs, and this application does not make specific limitations on the scope of the surveyed area.
[0072] S102: Generate an initial seed file according to the above-mentioned original topographic map and the elevation information of the features in the original topographic map. The initial seed file includes multiple standard layers, and each standard layer includes data of one type of feature.
[0073] Optionally, based on the above-mentioned original topographic map, the data of each feature in the original topographic map can be obtained. The data of the feature can include, for example: the position, color, etc. of the feature. Based on this, combined with the elevation information of each feature, the data and elevation information of each feature can be added to the above-mentioned initial seed file as a standard layer. As an optional implementation method, before adding the data and elevation information of each feature to the above-mentioned initial seed file, the data and elevation information of the feature can be format-converted first to reduce the processing complexity during subsequent data processing.
[0074] For example, first, convert the data type of the original map with elevation information in the first format to the data type in the second format. Optionally, the first format can be the DWG format, and the second format can be the DGN format. This will not be elaborated further below. For example, if the format of the original topographic map after assigning elevation values is the DWG format, it can be first converted to the data in the DGN format. After converting to the data in the DGN format, the initial seed file will include multiple standard layers in the DGN format. Each standard layer includes the data of a type of ground feature. For example, all the data in layer 51 can be the data of houses, and the data includes attributes such as the location and color of the houses; all the data in layer 61 can be the data of roads, and the data includes attributes such as the location and type of the roads. Based on this, combine the ground feature data in the DGN format containing these attributes with the elevation information of the ground feature and generate the initial seed file.
[0075] S103: According to the aerial survey image of the target ground feature, determine the target type of the target ground feature, and according to the target type of the target ground feature, insert a survey and repair layer into the above initial seed file to obtain a new seed file, and the survey and repair layer includes the data of the target ground feature.
[0076] It should be noted that the method for determining the target type of the target ground feature according to the aerial survey image can be image recognition, remote sensing technology, etc., which is not limited here.
[0077] The method for generating the initial seed file can be to convert the format of the file and combine the corresponding information. The seed file includes standard layers and survey and repair layers. The standard layer is the original topographic map with assigned elevation in the second format, and the survey and repair layer is the data of the ground features that need to be updated. Correspondingly, the data in the survey and repair layer of the new seed file can represent the data of the target ground features that have changed in the above surveying and mapping area. It should be understood that when the data of the changed ground features is not updated, the initial seed file can only include standard layers.
[0078] Among them, after determining the target type, it is necessary to insert a survey and repair layer into the initial seed file according to the target type to obtain a new seed file. Exemplarily, if the determined target type is a house, according to the target ground feature of the house, insert the updated data of the house as the survey and repair layer into the initial seed file to obtain a new seed file.
[0079] S104: Conduct data mapping on the data of the standard layers and survey and repair layers with the same ground feature type in the above new seed file.
[0080] It should be noted that the same feature type means that the feature types of the standard layer and the revised survey and supplementary survey layer are the same. Correspondingly, the standard layer and the revised survey and supplementary survey layer with the same feature type can be, for example, the standard layer of the house type and the revised survey and supplementary survey layer of the house type, or the standard layer of the road type and the revised survey and supplementary survey layer of the road type.
[0081] Optionally, the method of conducting field survey on the data is to set different attributes for the standard layer and the revised survey and supplementary survey layer in the new seed file. This attribute can be, for example, color. For example, the standard layer can all be set to gray, and the revised survey and supplementary survey layer can be set to a three-color map. There is no restriction on the color here, as long as the standard layer and the revised survey and supplementary survey layer can be distinguished.
[0082] In this step, by conducting field survey on the data of the standard layer and the revised survey and supplementary survey layer with the same feature type, the changed area and the unchanged area can be distinguished.
[0083] S105: According to the result of the data field survey, edit and convert the feature data in the above-mentioned new seed file to obtain the target topographic map.
[0084] After the data field survey in the above step S104, the changed area and the unchanged area can be distinguished. On this basis, the seed file can be further edited. The editing method can be the editing method of a conventional map. For example, during the field survey, only the house symbol is collected. Then, during the editing, regular symbol editing can be performed, such as determining whether the house is a brick house or a tile house, and whether it is one-story or two-story, that is, determining the attributes of the house. After editing, format conversion is performed on the seed file to form a topographic map that can be output. Exemplarily, the format conversion can be converting the DGN format to the DWG format.
[0085] In summary, the embodiment of the present application provides a method for revising and supplementing topographic maps, which includes obtaining the original topographic map and the elevation information of the features in the original topographic map, and obtaining the aerial survey images of the target features to be revised and supplemented; generating an initial seed file according to the original topographic map and the elevation information of the features in the original topographic map, where the initial seed file includes multiple standard layers, and each standard layer includes the data of one type of feature; determining the target type of the target feature according to the aerial survey image of the target feature, and inserting a revision and supplement layer into the initial seed file according to the target type of the target feature to obtain a new seed file, where the revision and supplement layer includes the data of the target feature; performing data mapping on the data of the standard layers and the revision and supplement layer with the same feature type in the new seed file; editing and format-converting the data of the features in the new seed file according to the result of the data mapping to obtain the target topographic map. In the above process, by obtaining the aerial survey images of the target features to be revised and supplemented, taking the original topographic map and the data of the target features as the standard layer and the revision and supplement layer in the seed file respectively, and performing differential mapping and editing based on the standard layer and the revision and supplement layer, the data of the original topographic map and the revised and supplemented target features can be clearly distinguished, and then targeted editing and mapping can be performed on the original topographic map and the target features, thereby greatly improving the efficiency of revising and supplementing topographic maps.
[0086] Figure 2 FIG. 4 is a schematic diagram of the second process for revising and supplementing topographic maps provided by the embodiment of the present application. As Figure 2 shown, an optional way to insert a revision and supplement layer into the initial seed file according to the target type of the target feature in S103 above includes:
[0087] S201: Search for the target standard layer with the above target type in the initial seed file;
[0088] Specifically, before inserting the revision and supplement layer, it is necessary to first search the standard layers in the seed file to find the corresponding target type. For example, to insert a revision and supplement layer for houses, it is necessary to first search for the standard layer corresponding to houses in the initial seed file; to insert a revision and supplement layer for roads, it is necessary to first search for the standard layer corresponding to roads in the initial seed file, and so on.
[0089] S202: Insert a revision and supplement layer into the initial seed file and establish an association relationship between the target standard layer and the revision and supplement layer to obtain a new seed file.
[0090] Optionally, when inserting the repair and supplementary survey layer, it can be inserted according to the classification of the target features, or it can also be inserted according to the classification of the standard layer and the repair and supplementary survey layer. Exemplarily, if it is inserted according to the classification of the target features, assuming that the currently to-be-inserted repair and supplementary survey layer is layer A and layer A is of the house type, then layer A can be inserted after the last standard layer or repair and supplementary survey layer of the house type in the current seed file.
[0091] Optionally, when establishing the association relationship between the target standard layer and the repair and supplementary survey layer, it can be achieved by establishing a mapping relationship between the identifiers of the target standard layer and the repair and supplementary survey layer. Exemplarily, for each standard layer and each inserted repair and supplementary survey layer, a unique identifier is assigned to it, and this identifier can be, for example, a number, a name, etc.
[0092] In this embodiment, by inserting the repair and supplementary survey layer into the initial seed file and establishing the association relationship between the target standard layer and the repair and supplementary survey layer, it can be directly utilized for field surveying and editing by means of this association relationship in the subsequent process, thereby further improving the efficiency of repair and supplementary survey.
[0093] As an optional implementation manner, before the foregoing step S103, the data of the target features can also be format-converted in the following manner to ensure that the data format of the inserted repair and supplementary survey layer can meet the requirements of subsequent editing and conversion.
[0094] Figure 3 This is a schematic diagram of the third process for topographic map repair and supplementary survey provided by the embodiment of the present application. As Figure 3 shown, the process of format-converting the data of the target features includes:
[0095] S301: Obtain the data in the first format of the target features according to the aerial survey image of the target features;
[0096] Among them, the target features can be the changed features that are the same as the original topographic map area. According to the aerial survey image of the target features, the obtained data format can be the first format. As described above, this first format can be, for example, the DWG format.
[0097] Optionally, an optional way to obtain DWG data from the aerial survey image is to perform aerial triangulation encryption and converter conversion on the aerial survey image to obtain DWG data; other optional ways are to directly collect DWG data using a collector, which is not limited here.
[0098] S302: Convert the data in the first format into the data in the second format;
[0099] As described above, the above-mentioned second format can be the DGN format.
[0100] Specifically, the method of converting DWG data in the first format to DGN format in the second format can be completed by a converter.
[0101] Based on the data in the second format obtained in the above step S302, the data in the second format can be correspondingly inserted into the above initial seed file as the data of the repair and supplementary survey layer for subsequent field mapping and editing, etc.
[0102] Hereinafter, the data field mapping process in the foregoing step S104 will be described.
[0103] Figure 4 It is a schematic diagram of the fourth process of topographic map repair and supplementary survey provided by an embodiment of the present application; as Figure 4 shown, an optional manner of the above step S104 includes:
[0104] S401: Adjust the color corresponding to the standard layer data with the same feature type to the first color.
[0105] Specifically, the standard layer data is adjusted to the first color, and the first color can be, for example, gray.
[0106] Exemplarily, assume that there are three standard layers of the data house type in the new seed file, namely house standard layer 1, house standard layer 2, and house standard layer 3. Then, the above house standard layer 1, house standard layer 2, and house standard layer 3 can be first screened out from the new seed file based on the identifier of the standard layer, and the data of house standard layer 1, house standard layer 2, and house standard layer 3 are obtained. Furthermore, the color corresponding to the data of house standard layer 1, house standard layer 2, and house standard layer 3 is adjusted to the first color.
[0107] Among them, the above adjustment can, for example, refer to the modification of the color. For example, the data of house standard layer 2 includes an attribute of color, and the value of this attribute is blue. Then, the value of this attribute can be adjusted to a gray value, thereby completing the color adjustment of house standard layer 2.
[0108] S402: Adjust the color corresponding to the repair and supplementary survey layer data with the same feature type to the second color, and the first color is different from the second color.
[0109] Exemplarily, assume that there are three standard layers of the house type in the retest and supplement layer data with the same feature type, namely the house retest and supplement layer 1, the house retest and supplement layer 2, and the house retest and supplement layer 3. Then, the above-mentioned house retest and supplement layer 1, house retest and supplement layer 2, and house retest and supplement layer 3 can be first screened out from the retest and supplement layer data based on the identifier of the retest and supplement layer, and the data of the house retest and supplement layer 1, house retest and supplement layer 2, and house retest and supplement layer 3 can be obtained. Furthermore, the colors corresponding to the data of the house retest and supplement layer 1, house retest and supplement layer 2, and house retest and supplement layer 3 can be adjusted to the second color.
[0110] Among them, the above adjustment may refer to, for example, the modification of the color. For example, the data of the house retest and supplement layer 2 includes an attribute of color, and the value of this attribute is blue. Then, the value of this attribute can be adjusted to the red value, thereby completing the color adjustment of the house retest and supplement layer 2.
[0111] The colors corresponding to the data of the retest and supplement layers with the same feature type are adjusted to the second color. The second color can be the primary colors or other colors different from the first color. For example, the standard layer of the house is set to gray, and the retest and supplement layer of the house is set to red. By setting different colors, the changed areas can be distinguished.
[0112] In the above Figure 4 On the basis of data mapping of the data of the standard layer and the retest and supplement layer with the same feature type, data editing and conversion can be further performed. Specifically, Figure 5 This is a schematic diagram of the fifth process of topographic map retest and supplement provided by the embodiment of the present application; as Figure 5 shown, an optional way of the above step S105 includes:
[0113] S501: Perform format conversion on the data of the features of each standard layer and each retest and supplement layer in the above new seed file to obtain the data of multiple features with the first format;
[0114] It should be noted that the data formats in the new seed file are all in DGN format. Due to the data characteristics of the DGN format and the specification requirements of topographic map production, the DGN format needs to be converted to the DWG format, and the conversion can be achieved through a converter or a program. For example, through the MA program, first convert the lines, circles, and arcs in the DGN format data into line strings, edit and break the linear library and the linear, change the layer and color, and then connect the batch program in the MA program to perform lossless conversion of the data format. Exemplarily, the batch program can be a CSV table (Comma-Separated Values), and finally, the DGN data can be losslessly converted to the DWG format.
[0115] S502: Combine the data of features with the first format to obtain the target topographic map.
[0116] Among them, after data conversion, the data types of the seed files are all in DWG format. Combine the data of all features in DWG format to obtain the target topographic map.
[0117] Optionally, combining the data of all features in DWG format can be to integrate the DWG data in different layers. Exemplarily, assuming that the feature data includes house data and road data, then correspond and integrate the edited house layer data and the edited road layer data with the elevation information. The combination method can be implemented by a generator, and finally the target topographic map is obtained.
[0118] Next, the process of obtaining the original topographic map and its elevation information in the foregoing process will be described.
[0119] Figure 6 This is the sixth process schematic diagram of topographic map revision and supplement measurement provided by the embodiment of the present application; as Figure 6 shown, the method of obtaining the original topographic map and its elevation information in the above step S101 includes:
[0120] S601: Obtain the original topographic map;
[0121] The method of obtaining the original topographic map can be to first obtain the aerial survey image. The method of obtaining the aerial survey image is as described above, which can be the unmanned aerial vehicle survey method. After obtaining the aerial survey image, the original topographic map can be obtained by parsing the aerial survey image. Exemplarily, the method of obtaining the original topographic map can also be the field parsing method or the digitization of existing drawings, etc., which is not limited here.
[0122] S602: Screen out the elevation elements from the original topographic map. The elevation elements include: elevation points, contour lines;
[0123] Among them, obtaining the elevation elements of the features of the original topographic map can be achieved through a converter or other possible means, which is not limited here. Screen out the elevation elements from the original topographic map. The elevation elements include: elevation points, contour lines, and then assign elevations to the topographic elements other than the elevation elements in the original topographic map according to these elevation elements to obtain the original topographic map with elevation information. The elevation assignment can be obtained through mathematical calculations or a converter, which is not limited in this application.
[0124] S603: Assign elevations to the topographic elements other than the elevation elements in the original topographic map according to the elevation elements to obtain the elevation information of the features in the original topographic map.
[0125] Specifically, the elevation assignment can be obtained through mathematical calculations or converters, and the present application does not limit this here.
[0126] In the present application, after obtaining the original topographic map, an initial seed file needs to be further obtained. The following is an explanation of obtaining the initial seed file.
[0127] Figure 7 It is a schematic diagram of the seventh process for topographic map revision and supplementation provided by an embodiment of the present application. As Figure 7 shown, an optional manner of the above step S102 includes:
[0128] S701: Convert the data of the features in the original topographic map into the feature data in the second format;
[0129] The data of the original topographic map is in the DWG format, and it is converted into the DGN format. The conversion can be achieved through a converter.
[0130] S702: Combine the feature data in the second format and the elevation information of the features to generate an initial seed file.
[0131] As described above, the data of the features can include: location, color, etc. In this step, after obtaining the feature data in the second format, the elevation information of the features can be added as a new attribute to the feature data to obtain updated feature data, and the updated feature data is inserted into the initial seed file as a standard layer.
[0132] It should be understood that for each feature in the original topographic map, the above steps can be used to insert the feature data into the initial seed file. After all the feature data are inserted into the initial seed file, the above initial seed file can be obtained.
[0133] Based on the same inventive concept, an embodiment of the present application also provides a topographic map revision and supplementation device corresponding to the topographic map revision and supplementation method. Since the principle of solving problems by the device in the embodiment of the present application is similar to that of the above topographic map revision and supplementation method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be elaborated.
[0134] Figure 8 It is a schematic structural diagram of a topographic map revision and supplementation device provided by an embodiment of the present application; as Figure 8 shown, the device may include:
[0135] An acquisition module 801, configured to acquire the original topographic map and the elevation information of the features in the original topographic map, and acquire the aerial survey image of the target feature to be revised and supplemented.
[0136] A generation module 802, configured to generate an initial seed file according to the original topographic map and the elevation information of the features in the original topographic map.
[0137] A determination module 803, configured to determine a target type of a target feature according to an aerial survey image of the target feature, and insert a retest and supplement layer into an initial seed file according to the target type of the target feature to obtain a new seed file.
[0138] A mapping module 804, configured to perform data mapping on data of a standard layer and a retest and supplement layer with the same feature type in the new seed file.
[0139] A conversion module 805, configured to convert data of features in the new seed file according to the result of data mapping to obtain a target topographic map.
[0140] Optionally, the acquisition module is specifically configured to: acquire an original topographic map; screen elevation features from the original topographic map, where the elevation features include: elevation points and contour lines; perform elevation assignment on topographic features other than the elevation features in the original topographic map according to the elevation features to obtain elevation information of features in the original topographic map.
[0141] The generation module is specifically configured to: convert data of features in the original topographic map into feature data in a second format; combine the feature data in the second format and the elevation information of the features to generate an initial seed file.
[0142] The determination module is specifically configured to: search for a target standard layer with a target type in the initial seed file; insert a repair and supplement layer into the initial seed file, and establish an association relationship between the target standard layer and the repair and supplement layer to obtain a new seed file.
[0143] Optionally, the determination module is further configured to: acquire data in a first format of a target feature according to an aerial survey image of the target feature; convert the data in the first format into data in a second format. Specifically, it is configured to insert the data in the second format as data of the repair and supplement layer into the initial seed file.
[0144] The mapping module is specifically configured to: adjust the color corresponding to the data of the standard layer with the same feature type to a first color; adjust the color corresponding to the data of the repair and supplement layer with the same feature type to a second color, where the first color is different from the second color.
[0145] The conversion module is specifically configured to: perform format conversion on data of features in each standard layer and each repair and supplement layer in the new seed file to obtain data of multiple features in a first format; combine the data of the features in the first format to obtain a target topographic map.
[0146] The above device is used to execute the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, which will not be elaborated here.
[0147] The above-mentioned modules may be one or more integrated circuits configured to implement the above methods. For example, one or more Application Specific Integrated Circuits (ASICs), or one or more digital signal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), etc. Again, when a certain module above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processors that can call program code. Again, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0148] An embodiment of the present application also provides an electronic device, such as Figure 9 shown, which is a schematic structural diagram of the electronic device provided by the embodiment of the present application, including: a processor 901, a storage medium 902, and a bus. The storage medium 902 stores machine-readable instructions executable by the processor 901 (for example, Figure 8 the execution instructions corresponding to the acquisition module, generation module, determination module, mapping module, and conversion module in the device in
[0149] Optionally, the present application also provides a program product, such as a computer-readable storage medium, including a program that is used to execute the above method embodiments when executed by a processor.
[0150] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in an electrical, mechanical or other form.
[0151] The unit described as a separation component may or may not be physically separated. The component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0152] In addition, each functional unit in various embodiments of the present application may be integrated in a processing unit, may exist separately as individual physical units, or two or more units may be integrated in one unit. The above integrated unit may be implemented in the form of hardware or in the form of a hardware plus software functional unit.
[0153] The above integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above software functional unit stored in a storage medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute some steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: various media such as a USB flash drive, a mobile hard disk, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk, or an optical disc that can store program codes.
Claims
1. A method for revising and supplementing topographic maps, characterized in that, it includes: Obtain the original topographic map and the elevation information of the features in the original topographic map, and obtain the aerial survey images of the target features to be revised and supplemented; Generate an initial seed file according to the original topographic map and the elevation information of the features in the original topographic map. The initial seed file includes multiple standard layers, and each standard layer includes data of one type of feature; Determine the target type of the target feature according to the aerial survey image of the target feature, and insert a revision and supplement layer into the initial seed file according to the target type of the target feature to obtain a new seed file. The revision and supplement layer includes data of the target feature; Conduct data mapping on the data of the standard layers and the revision and supplement layers with the same feature type in the new seed file; Edit and convert the data of the features in the new seed file according to the result of data mapping to obtain the target topographic map; The step of inserting a revision and supplement layer into the initial seed file according to the target type of the target feature to obtain a new seed file includes: Search for the target standard layer with the target type in the initial seed file; Insert the revision and supplement layer into the initial seed file and establish an association relationship between the target standard layer and the revision and supplement layer to obtain the new seed file.
2. The method according to claim 1, characterized in that, before inserting the revision and supplement layer into the initial seed file, it further includes: Obtain the data in the first format of the target feature according to the aerial survey image of the target feature; Convert the data in the first format into the data in the second format; The step of inserting the revision and supplement layer into the initial seed file includes: Insert the data in the second format as the data of the revision and supplement layer into the initial seed file.
3. The method according to claim 1, characterized in that, the step of conducting data mapping on the data of the standard layers and the revision and supplement layers with the same feature type in the new seed file includes: Adjust the color corresponding to the data of the standard layer with the same feature type to the first color; Adjust the color corresponding to the data of the revision and supplement layer with the same feature type to the second color, and the first color is different from the second color.
4. The method according to claim 3, characterized in that, the step of editing and converting the data of the features in the new seed file according to the result of data mapping to obtain the target topographic map includes: Edit and convert the format of the data of the features in each standard layer and each revision and supplement layer in the new seed file to obtain the data of the features in the first format; Combine the data of the features in the first format to obtain the target topographic map.
5. The method according to claim 1, characterized in that, the step of obtaining the original topographic map and the elevation information of the features in the original topographic map includes: Obtain the original topographic map; Screen out the elevation elements from the original topographic map, and the elevation elements include: elevation points, contour lines; Perform elevation assignment to the terrain elements other than the elevation elements in the original topographic map according to the elevation elements to obtain the elevation information of the features in the original topographic map.
6. The method according to claim 1, wherein, generating an initial seed file according to the original topographic map and the elevation information of the features in the original topographic map includes: Converting the data of the features in the original topographic map into the feature data in the second format; Combining the feature data in the second format and the elevation information of the features to generate the initial seed file.
7. A topographic map repair and supplement measurement device, wherein, including: An acquisition module for acquiring the original topographic map and the elevation information of the features in the original topographic map, and acquiring the aerial survey image of the target feature to be repaired and supplemented; A generation module for generating an initial seed file according to the original topographic map and the elevation information of the features in the original topographic map, wherein the initial seed file includes a plurality of standard layers, and each standard layer includes the data of one type of feature; A determination module for determining the target type of the target feature according to the aerial survey image of the target feature, and inserting a repair and supplement measurement layer into the initial seed file according to the target type of the target feature to obtain a new seed file, wherein the repair and supplement measurement layer includes the data of the target feature; An adjustment and mapping module for performing data adjustment and mapping on the data of the standard layers and the repair and supplement measurement layers with the same feature type in the new seed file; A conversion module for converting the data of the features in the new seed file according to the result of the data adjustment and mapping to obtain a target topographic map; The determination module is used for: Searching for the target standard layer with the target type in the initial seed file; Inserting the repair and supplement measurement layer into the initial seed file and establishing an association relationship between the target standard layer and the repair and supplement measurement layer to obtain the new seed file.
8. An electronic device, wherein, including: A processor and a memory, the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the processor executes the machine-readable instructions to execute the steps of the topographic map repair and supplement measurement method according to any one of claims 1 to 6 when executed.
9. A computer-readable storage medium, wherein, A computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, it executes the steps of the topographic map repair and supplement measurement method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Digital line drawing generation method and device
CN111103595A
Stock yard three-dimensional map establishing method, stock management method, equipment and medium
CN112465976A