A method, device, and medium for generating topographic map data

CN119202114BActive Publication Date: 2026-10-13BEIJING SUPERMAP SOFTWARE CO LTD +5
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411277676.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2026-10-13
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

[0004]然而,人工户外测量方法虽然能够提供一定精度的地形图数据,但面临着多方面的挑战:首先,户外测量受天气、地形等自然条件限制,成本高且风险大;并且,人工测量效率低,难以快速响应大规模的地形图数据更新的需求

Benefits of technology

[0044]本申请实施例提供了一种地形图数据的生成方法、装置、设备及介质,该方法包括:获取第一地形图数据;确定第一地形图数据的编码与第二地形图数据的编码之间的第一对应关系,以及,确定第一地形图数据的属性字段与第二地形图数据的属性字段之间的第二对应关系;根据第一地形图数据、第一对应关系和第二对应关系,生成第二地形图数据。由此,通过本申请实施例提供的地形图数据的生成方法,实现了第一地形图数据到第二地形图数据的批量自动化转换,由于该自动化转换方法能够减少人工干预,所以降低了地形图数据的生成的成本和风险。同时,由于该自动化转换方法可以快速响应地形图数据的更新需求,所以提高了地形图数据的生成效率,并且能够快速响应大规模的地形图数据更新的需求。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119202114B_ABST
    Figure CN119202114B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a topographic map data generation method and device, equipment and medium, relating to the field of surveying and mapping. The method comprises: obtaining first topographic map data; determining a first correspondence relationship between the encoding of the first topographic map data and the encoding of second topographic map data, and determining a second correspondence relationship between the attribute field of the first topographic map data and the attribute field of the second topographic map data; and generating the second topographic map data according to the first topographic map data, the first correspondence relationship and the second correspondence relationship. Thus, the topographic map data generation method provided by the embodiments of the present application realizes batch automatic conversion of the first topographic map data to the second topographic map data, thereby reducing the cost and risk of generating topographic map data while improving the generation efficiency of topographic map data and being able to quickly respond to the demand for large-scale topographic map data update.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of surveying and mapping technology, and in particular to a method, apparatus, equipment and medium for generating topographic map data. Background Technology

[0002] In the field of surveying and mapping technology, topographic map data serves as the foundation for various engineering planning, urban construction, environmental protection, and disaster prevention and mitigation. Its accuracy and timeliness are crucial for the scientific nature of decision-making and the smooth implementation of projects.

[0003] In related technologies, traditional methods for generating topographic map data heavily rely on manual outdoor surveying methods. For example, technicians use tools such as total stations and Global Positioning System (GPS) surveying equipment to measure and collect topographic map data point by point or area by area in the outdoor environment.

[0004] However, while manual outdoor surveying methods can provide topographic map data with a certain degree of accuracy, they face several challenges: First, outdoor surveying is limited by natural conditions such as weather and terrain, resulting in high costs and risks; second, manual surveying is inefficient and cannot quickly respond to the needs of large-scale topographic map data updates. Summary of the Invention

[0005] To address the aforementioned issues, this application provides a method, apparatus, device, and medium for generating topographic map data, which can reduce the cost and risk of generating topographic map data while improving the efficiency of topographic map data generation and enabling rapid response to the need for large-scale topographic map data updates.

[0006] The embodiments of this application disclose the following technical solutions:

[0007] In a first aspect, this application discloses a method for generating topographic map data, the method comprising:

[0008] Obtain the first topographic map data;

[0009] Determine a first correspondence between the encoding of the first topographic map data and the encoding of the second topographic map data, and determine a second correspondence between the attribute fields of the first topographic map data and the attribute fields of the second topographic map data, wherein the data standards of the first topographic map data and the second topographic map data are different;

[0010] A second topographic map is generated based on the first topographic map data, the first correspondence, and the second correspondence.

[0011] Optionally, determining the first correspondence between the encoding of the first topographic map data and the encoding of the second topographic map data, and determining the second correspondence between the attribute fields of the first topographic map data and the attribute fields of the second topographic map data, includes:

[0012] Determine the encoding mapping table between the first topographic map data and the second topographic map data, and determine the attribute mapping table between the first topographic map data and the second topographic map data;

[0013] The step of generating second topographic map data based on the first topographic map data, the first correspondence, and the second correspondence includes:

[0014] According to the encoding mapping table, the spatial information of the first topographic map data is converted into the spatial information of the second topographic map data, and according to the attribute mapping table, the attribute fields of the first topographic map data are converted into the attribute fields of the second topographic map data.

[0015] The second topographic map data is generated based on the spatial information and attribute fields of the second topographic map data.

[0016] Optionally, after generating the second topographic map data, the method further includes:

[0017] Based on the scale corresponding to the second map data, determine the map template corresponding to the scale;

[0018] A second topographic map image is generated based on the second topographic map data and the map template.

[0019] Optionally, after generating the second topographic map data, the method further includes:

[0020] Establish a second topographic map dataset, which includes multiple sets of second topographic map data;

[0021] Create a field index for each attribute field in the second topographic map dataset, and / or create a spatial index for each spatial information in the second topographic map dataset;

[0022] In response to the field index in the first search instruction, the attribute field corresponding to the field index is obtained from the second topographic map dataset, and / or, in response to the spatial index in the second search instruction, the spatial information corresponding to the spatial index is obtained from the second topographic map dataset.

[0023] Optionally, creating a field index for each attribute field in the second topographic map dataset, and / or creating a spatial index for each spatial information in the second topographic map dataset, includes:

[0024] The second topographic map dataset is split into multiple sub-datasets;

[0025] Create a field index for each attribute field in the target subset of the multiple subsets, and / or create a spatial index for each spatial information in the target subset of the multiple subsets;

[0026] The step of retrieving the attribute field corresponding to the field index from the second topographic map dataset in response to the field index in the first search instruction, and / or retrieving the spatial information corresponding to the spatial index from the second topographic map dataset in response to the spatial index in the second search instruction, includes:

[0027] In response to the field index in the first search instruction, the attribute field corresponding to the field index is obtained from the target subset of the dataset, and / or, in response to the spatial index in the second search instruction, the spatial information corresponding to the spatial index is obtained from the target subset of the dataset.

[0028] Secondly, this application discloses a topographic map data generation apparatus, the apparatus comprising: an acquisition module, a determination module, and a generation module;

[0029] The acquisition module is used to acquire first topographic map data;

[0030] The determining module is used to determine a first correspondence between the encoding of the first topographic map data and the encoding of the second topographic map data, and to determine a second correspondence between the attribute fields of the first topographic map data and the attribute fields of the second topographic map data, wherein the data standards of the first topographic map data and the second topographic map data are different;

[0031] The generation module is used to generate second topographic map data based on the first topographic map data, the first correspondence, and the second correspondence.

[0032] Optionally, the determining module is specifically used to: determine the encoding mapping table between the first topographic map data and the second topographic map data, and to determine the attribute mapping table between the first topographic map data and the second topographic map data;

[0033] The generation module includes: a conversion submodule and a generation submodule;

[0034] The conversion submodule is used to convert the spatial information of the first topographic map data into the spatial information of the second topographic map data according to the encoding mapping table, and to convert the attribute fields of the first topographic map data into the attribute fields of the second topographic map data according to the attribute mapping table.

[0035] The generation submodule is used to generate second topographic map data based on the spatial information and attribute fields of the second topographic map data.

[0036] Optionally, the apparatus further includes: a template determination module and an image generation module;

[0037] The template determination module is used to determine a map template corresponding to the scale corresponding to the second map data.

[0038] The image generation module is used to generate a second topographic map image based on the second topographic map data and the map template.

[0039] Thirdly, this application discloses a topographic map data generation device, the device comprising: a memory and a processor;

[0040] The memory is used to store programs;

[0041] The processor is configured to execute the program to implement the various steps of the method for generating topographic map data as described in the first aspect.

[0042] Fourthly, this application discloses a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the various steps of the method for generating topographic map data as described in the first aspect.

[0043] Compared with the prior art, this application has the following beneficial effects:

[0044] This application provides a method, apparatus, device, and medium for generating topographic map data. The method includes: acquiring first topographic map data; determining a first correspondence between the encoding of the first topographic map data and the encoding of second topographic map data; and determining a second correspondence between attribute fields of the first topographic map data and attribute fields of the second topographic map data; and generating second topographic map data based on the first topographic map data, the first correspondence, and the second correspondence. Therefore, the method for generating topographic map data provided by this application achieves automated batch conversion from first topographic map data to second topographic map data. Because this automated conversion method reduces manual intervention, it lowers the cost and risk of generating topographic map data. Simultaneously, because this automated conversion method can quickly respond to the update needs of topographic map data, it improves the efficiency of topographic map data generation and can quickly respond to the needs of large-scale topographic map data updates. Attached Figure Description

[0045] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0046] Figure 1 A flowchart illustrating a method for generating topographic map data provided in this application embodiment;

[0047] Figure 2 A flowchart illustrating another method for generating topographic map data provided in this application embodiment;

[0048] Figure 3 A schematic diagram of a topographic map data generation device provided in an embodiment of this application;

[0049] Figure 4 This is a schematic diagram of a computer-readable medium provided in an embodiment of this application. Detailed Implementation

[0050] As described above, in related technologies, traditional methods for generating topographic map data heavily rely on manual outdoor surveying methods. For example, technicians use tools such as total stations and Global Positioning System (GPS) surveying equipment to measure and collect topographic map data point by point or area by area in the outdoor environment.

[0051] However, while manual outdoor surveying methods can provide topographic map data with a certain degree of accuracy, they face several challenges: First, outdoor surveying is limited by natural conditions such as weather and terrain, resulting in high costs and risks; second, manual surveying is inefficient and cannot quickly respond to the needs of large-scale topographic map data updates.

[0052] Through research, the inventors have proposed a method, apparatus, device, and medium for generating topographic map data. The method provided in this application achieves automated batch conversion from first topographic map data to second topographic map data. Because this automated conversion method reduces manual intervention, it lowers the cost and risk of generating topographic map data. Furthermore, because this automated conversion method can quickly respond to the needs of updating topographic map data, it improves the efficiency of topographic map data generation and can rapidly respond to the needs of large-scale topographic map data updates.

[0053] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

[0054] See Figure 1 This figure is a flowchart of a method for generating topographic map data according to an embodiment of this application. The method includes:

[0055] S101: Obtain the first topographic map data.

[0056] First, the first topographic map data is obtained from data sources such as Geographic Information System (GIS), databases (e.g., Oracle, SQL Server, or PostgreSQL), and file servers.

[0057] S102: Determine a first correspondence between the encoding of the first topographic map data and the encoding of the second topographic map data, and determine a second correspondence between the attribute fields of the first topographic map data and the attribute fields of the second topographic map data, wherein the data standards of the first topographic map data and the second topographic map data are different.

[0058] A code is an identifier used to uniquely identify a geographic entity or data item. Because the first and second topographic map data follow different data standards, their coding systems may be completely different. For example, the first topographic map data may use numerical codes to represent different types of vegetation, while the second topographic map data may use a combination of letters and numbers to represent different types of vegetation. Specifically, the initial correspondence between the codes of the first and second topographic map data can be determined through manual interpretation, consulting relevant standards and specifications, and combining actual data conditions.

[0059] Attribute fields describe the parameters or characteristics (i.e., attributes) of geographic entities. These attributes can be quantitative (e.g., length, area, height) or qualitative (e.g., type, name, color). Attribute fields are used to distinguish different geographic entities and provide detailed information about them. Because the first and second topographic map data follow different data standards, their attribute field naming, data types, and meanings may differ significantly. Similarly, a second correspondence between the attribute fields of the first and second topographic map data can be determined through manual interpretation, consulting relevant standards and specifications, and combining this with the actual data conditions.

[0060] S103: Generate second topographic map data based on the first topographic map data, the first correspondence, and the second correspondence.

[0061] Specifically, first, the first topographic map data is parsed to identify and extract all the codes and attribute fields. Second, based on a first correspondence, the codes of the first topographic map data are converted to the codes required for the second topographic map data; and based on a second correspondence, the attribute fields of the first topographic map data are converted to attribute fields that match those of the second topographic map data. Finally, the second topographic map data is generated using the converted codes and attribute fields.

[0062] In summary, this application provides a method for generating topographic map data. This method achieves automated batch conversion from first topographic map data to second topographic map data. Because this automated conversion method reduces manual intervention, it lowers the cost and risk of generating topographic map data. Furthermore, because this automated conversion method can quickly respond to the update needs of topographic map data, it improves the efficiency of topographic map data generation and can quickly respond to the needs of large-scale topographic map data updates.

[0063] See Figure 2 This figure is a flowchart illustrating another method for generating topographic map data provided in an embodiment of this application. For ease of understanding, this application uses GDX topographic map data as the first topographic map data and GB topographic map data as the second topographic map data in the explanation. The method includes:

[0064] S201: Obtain GDX topographic map data.

[0065] In some specific implementations, after acquiring GDX topographic map data, one or more operations such as data verification, data processing, and data standardization can be performed to ensure the accuracy and usability of the GDX topographic map data.

[0066] Data verification refers to checking whether the GDX topographic map data is complete and whether there are any damaged or missing parts. After confirming that the GDX topographic map data is complete and has no damaged or missing parts, step S202 is then performed.

[0067] Data processing refers to preprocessing operations such as cropping and reprojection of GDX topographic map data to facilitate subsequent data processing and analysis. Specifically, cropping refers to cropping GDX topographic map data to a specific area. Reprojection refers to converting GDX topographic map data from one coordinate system to another to meet specific spatial analysis requirements. It should be noted that this application does not limit the specific data processing methods.

[0068] Data standardization refers to the process of converting GDX topographic map data into a data format that the software can recognize, enabling efficient data processing and analysis. For example, Shpfile format GDX topographic map data can be converted into a format that SuperMap software can recognize. SuperMap is a GIS software platform that provides rich GIS functions and tools for the storage, management, analysis, and visualization of geographic data. It is important to note that during the standardization process, the integrity of the GDX topographic map data must be maintained, ensuring that no important spatial information and attribute fields are lost. Furthermore, the converted GDX topographic map data should be consistent with the original GDX topographic map data in terms of spatial information and attribute fields to ensure the accuracy of the GDX topographic map data.

[0069] S202: Establish a coding mapping table between GDX topographic map data and GB topographic map data.

[0070] The Code Mapping Table is a table used to establish the code correspondence between GDX topographic map data and GB topographic map data during the generation of GB topographic map data.

[0071] In some specific implementations, it is necessary to manually determine the correspondence between the codes of GDX topographic map data and GB topographic map data. Then, based on the found correspondence, a coding mapping table is created according to the coding mapping table template. Specifically, this coding mapping table needs to include the code of the GDX topographic map data (GDX code), the Chinese description of the GDX topographic map data code (GDX Object Name), the GDX dataset name, the code of the GB topographic map data (GB code), and the GB dataset name. The Chinese description of the GDX topographic map data code is mainly used for manually retrieving the corresponding coding information and does not directly participate in the data conversion process. See Table 1, which is a schematic diagram of a coding mapping table provided in an embodiment of this application.

[0072] Table 1

[0073]

[0074] Understandably, by using an encoding mapping table, the corresponding GB topographic map data encoding in the GDX topographic map data can be accurately located during the automated conversion process, thus achieving precise data conversion. The advantage of this method is that it improves the accuracy and efficiency of data conversion while reducing the need for manual intervention.

[0075] S203: Establish an attribute mapping table between GDX topographic map data and GB topographic map data.

[0076] An attribute mapping table is used to establish the correspondence between attribute fields in GDX topographic map data and GB topographic map data. The main function of the attribute mapping table is to ensure the correct migration and updating of attribute fields during data conversion, thereby maintaining the integrity and accuracy of the topographic map data.

[0077] In some specific implementations, it is necessary to manually determine the correspondence between the attribute fields of the GDX topographic map data and the attribute fields of the GB topographic map data. Then, based on the found correspondence, an attribute mapping table is created according to the attribute mapping table template. Specifically, this attribute mapping table includes the GDX dataset name, a first attribute field, and a second attribute field. The first attribute field refers to the name of the field to be converted in the GDX topographic map dataset, and the second attribute field refers to the name of the field to be updated in the GB topographic map dataset. See Table 2, which is a schematic diagram of an attribute mapping table provided in an embodiment of this application.

[0078] Table 2

[0079] Transportation point MingC name Transportation point BianH serial number Transportation point LeiX type Transportation point LiC mileage Transportation lines MingC name Transportation lines BianH serial number Traffic surface BianH serial number Traffic surface DengJ grade Traffic surface LeiX type

[0080] Understandably, attribute mapping tables can ensure the correct migration and updating of attribute fields during data transformation, thereby generating GB topographic map data that meets the requirements.

[0081] S204: Based on the encoding mapping table, convert the spatial information of the GDX topographic map data into the spatial information of the GB topographic map data; and based on the attribute mapping table, map the attribute fields of the GDX topographic map data to the attribute fields of the GB topographic map data.

[0082] In the method for generating topographic map data provided in this application embodiment, the data can be parsed according to the encoding mapping table established in step S102. The encoding mapping table records in detail the correspondence between the encoding of GDX topographic map data and the encoding of GB topographic map. Therefore, each encoding of GDX topographic map data (such as roads, rivers, etc.) can be identified and mapped to the corresponding encoding of GB topographic map data, thereby obtaining the spatial information of GB topographic map data and generating the corresponding spatial information record set.

[0083] In the method for generating topographic map data provided in this application embodiment, the attribute mapping table constructed in step S103 is parsed. This attribute mapping table records the correspondence between the attribute fields of GDX topographic map data and the attribute fields of GB topographic map data. Therefore, each attribute field of GDX topographic map data (such as name, height, width, etc.) can be identified and mapped to the corresponding attribute field of GB topographic map data, thereby obtaining the attribute fields of GB topographic map data and generating the corresponding attribute field record set.

[0084] Understandably, this process is achieved through computer automation technology, eliminating the need for manual conversion and greatly improving the efficiency and accuracy of data conversion.

[0085] It's important to note that after converting the spatial information and attribute fields, a metadata table also needs to be configured. The metadata table contains standard format information about the GB topographic map data, such as dataset name, version information, creation time, and update time. Based on the built-in metadata template (which includes all necessary metadata fields such as dataset name, version information, creation date, update date, data source, and data quality description), a metadata attribute dataset for the current data needs to be generated. The relevant attribute data in the metadata attribute dataset should then be updated according to the currently converted GB topographic map data. Configuring the metadata table not only improves the integrity and traceability of the GB topographic map data but also provides users with a more convenient and efficient way to manage and use data.

[0086] S205: Generate GB topographic map data based on the spatial information and attribute fields of GB topographic map data.

[0087] In some specific implementations, after generating GB topographic map data and obtaining the GB topographic map dataset, to improve the efficiency of data querying within the GB topographic map dataset, especially when the GB topographic map dataset is very large, field indexes can be created for each attribute field (such as the ID, name, type, etc. of geographic features) and / or spatial indexes can be created for each spatial information (such as geometric objects such as points, lines, and polygons) in the GB topographic map dataset. Field indexes include B-tree (such as B+ tree) indexes, hash indexes, etc. These index structures organize and store field values ​​in different ways to quickly locate specific records in the data table. Spatial indexes include R-tree (such as R* tree), quadtrees, KD-trees, etc. These index structures can effectively organize and store spatial objects and support efficient spatial query operations.

[0088] Therefore, in response to the field index in the first search instruction, the attribute field corresponding to the field index can be retrieved from the GB topographic map dataset, and / or, in response to the spatial index in the second search instruction, the spatial information corresponding to the spatial index can be retrieved from the GB topographic map dataset, without scanning the entire GB topographic map dataset. Thus, by creating field indexes and / or spatial indexes, query speed can be greatly improved when querying GB topographic map data, avoiding the need to examine each GB topographic map data piece by piece.

[0089] In some specific implementations, after generating GB topographic map data and obtaining the GB topographic map dataset, data splitting and / or data fusion processing can be performed to optimize the management, analysis, and decision support processes of GB topographic map data.

[0090] Data splitting is the process of dividing a large, complex dataset (which could be a GB topographic map dataset or a subset thereof) into multiple smaller, more manageable datasets. The advantage of this approach is that it improves the flexibility and efficiency of data management. By splitting the dataset, data can be organized and managed according to different needs (such as region, time, data type, etc.), making data querying, updating, and maintenance operations more convenient. For example, when processing a nationwide dataset, it can be split into datasets for multiple provinces or regions to facilitate regional data management and analysis.

[0091] Data fusion processing is the process of combining multiple related, smaller datasets into a single, larger, more comprehensive dataset. The advantage of this approach is that it provides more comprehensive and richer data resources, facilitating deeper data analysis and decision support for users. By merging the datasets, redundancy and inconsistencies between data points can be eliminated, improving the overall quality and usability of the data. For example, when processing datasets from different sources, they can be merged into a unified dataset to facilitate cross-regional data analysis and comparison.

[0092] It should be noted that the second topographic map dataset can also be split into multiple subsets. Subsequently, in response to the field index in the first search instruction, the attribute field corresponding to the field index is obtained from the target subset, and / or, in response to the spatial index in the second search instruction, the spatial information corresponding to the spatial index is obtained from the target subset. This application does not limit this aspect.

[0093] S206: Generate GB topographic map images based on GB topographic map data.

[0094] In some specific implementations, before generating a GB topographic map image, it is necessary to determine the scale corresponding to the GB topographic map data. The scale is the ratio between distances on the map and actual ground distances, which determines the level of detail and accuracy of the map. After determining the scale corresponding to the GB topographic map data and obtaining a map template that best matches or closely approximates that scale, the map template can be applied to the GB topographic map data to generate the GB topographic map image. The map template is pre-designed and includes the layout and rules for various visual elements of the topographic map, such as symbols, colors, and styles. The application of the map template ensures that the generated topographic map image is visually compliant and easy to read and understand.

[0095] It should be noted that during the generation of GB topographic map images, some optimization processing is required based on the complexity of the GB topographic map data and the level of detail of the map template, such as reducing redundant data, smoothing lines, and adjusting color contrast, to ensure that the generated GB topographic map images are of high quality and good effect.

[0096] S207: Save GB topographic map data and GB topographic map images.

[0097] Finally, the generated GB topographic map data and images are saved to the workspace of software (such as SuperMap). The workspace is used to organize and manage various data and resources in a GIS project. Saving the generated GB topographic map images to the SuperMap workspace allows users to easily perform subsequent map editing, analysis, and sharing operations.

[0098] In summary, this application provides a method for generating topographic map data. This method achieves automated batch conversion from first topographic map data to second topographic map data. Because this automated conversion method reduces manual intervention, it lowers the cost and risk of generating topographic map data. Furthermore, because this automated conversion method can quickly respond to the update needs of topographic map data, it improves the efficiency of topographic map data generation and can quickly respond to the needs of large-scale topographic map data updates.

[0099] See Figure 3 This figure is a schematic diagram of a topographic map data generation device provided in an embodiment of this application. The topographic map data generation device 300 includes: an acquisition module 301, a determination module 302, and a generation module 303.

[0100] The acquisition module 301 is used to acquire the first topographic map data.

[0101] The determining module 302 is used to determine a first correspondence between the encoding of the first topographic map data and the encoding of the second topographic map data, and to determine a second correspondence between the attribute fields of the first topographic map data and the attribute fields of the second topographic map data, wherein the data standards of the first topographic map data and the second topographic map data are different.

[0102] The generation module 303 is used to generate second topographic map data based on the first topographic map data, the first correspondence, and the second correspondence.

[0103] In some specific implementations, the determining module 302 is specifically used to: determine the encoding mapping table between the first topographic map data and the second topographic map data, and to determine the attribute mapping table between the first topographic map data and the second topographic map data;

[0104] Generation module 303 includes: a conversion submodule and a generation submodule;

[0105] The conversion submodule is used to convert the spatial information of the first topographic map data into the spatial information of the second topographic map data according to the encoding mapping table, and to convert the attribute fields of the first topographic map data into the attribute fields of the second topographic map data according to the attribute mapping table.

[0106] The generation submodule is used to generate second topographic map data based on the spatial information and attribute fields of the second topographic map data.

[0107] In some specific implementations, the topographic map data generation device 300 further includes: a template determination module and an image generation module;

[0108] The template determination module is used to determine the map template corresponding to the scale based on the scale corresponding to the second map data.

[0109] The image generation module is used to generate a second topographic map image based on the second topographic map data and the map template.

[0110] In some specific implementations, the topographic map data generation device 300 also includes: a dataset creation module, an index creation module, and an index query module;

[0111] The dataset creation module is used to create a second topographic map dataset, which includes multiple second topographic map datasets.

[0112] The index creation module is used to create field indexes for each attribute field in the second topographic map dataset, and / or to create spatial indexes for each spatial information in the second topographic map dataset;

[0113] The index query module is used to retrieve the attribute field corresponding to the field index from the second topographic map dataset in response to the field index in the first search instruction, and / or to retrieve the spatial information corresponding to the spatial index from the second topographic map dataset in response to the spatial index in the second search instruction.

[0114] In some specific implementations, the index creation module is specifically used to: split the second topographic map dataset into multiple sub-datasets; create field indexes for each attribute field in the target sub-datasets of the multiple sub-datasets; and / or, create spatial indexes for each spatial information in the target sub-datasets of the multiple sub-datasets.

[0115] The index query module is specifically used to: in response to the field index in the first search instruction, retrieve the attribute field corresponding to the field index from the target subset of the dataset, and / or, in response to the spatial index in the second search instruction, retrieve the spatial information corresponding to the spatial index from the target subset of the dataset.

[0116] In summary, this application provides a topographic map data generation apparatus that enables automated batch conversion of first topographic map data into second topographic map data. Because this automated conversion apparatus reduces manual intervention, it lowers the cost and risk of topographic map data generation. Furthermore, because this automated conversion apparatus can quickly respond to the needs of topographic map data updates, it improves the efficiency of topographic map data generation and can rapidly respond to the needs of large-scale topographic map data updates.

[0117] This application also provides a corresponding topographic map data generation device and a computer-readable medium for implementing the topographic map data generation method provided in this application.

[0118] The device for generating topographic map data includes a memory and a processor. The memory is used to store instructions or code, and the processor is used to execute the instructions or code so that the device performs a method for generating topographic map data according to any embodiment of this application.

[0119] See Figure 4 This figure is a schematic diagram of a computer-readable medium provided in an embodiment of this application. The computer-readable medium 400 stores a computer program 411, which, when executed by a processor, implements the above-described... Figure 1 The steps of the method for generating topographic map data.

[0120] It should be noted that, in the context of this application, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0121] It should be noted that the machine-readable medium described above in this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0122] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0123] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

[0124] While several specific implementation details are included in the foregoing discussion, these should not be construed as limiting the scope of this application. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0125] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.

Claims

1. A method for generating topographic map data, characterized in that, The method includes: Obtain the first topographic map data; A coding mapping table is determined between the coding of the first topographic map data and the coding of the second topographic map data; and an attribute mapping table is determined between the attribute fields of the first topographic map data and the attribute fields of the second topographic map data; wherein, the coding mapping table includes the coding of the first topographic map data, a Chinese description of the coding of the first topographic map data, the name of the first topographic map dataset, the coding of the second topographic map data, and the name of the second topographic map dataset; the attribute mapping table includes the name of the first topographic map dataset, a first attribute field, and a second attribute field; the data standards of the first topographic map data and the second topographic map data are different; According to the encoding mapping table, the spatial information of the first topographic map data is converted into the spatial information of the second topographic map data, and according to the attribute mapping table, the attribute fields of the first topographic map data are converted into the attribute fields of the second topographic map data. The second topographic map data is generated based on the spatial information and attribute fields of the second topographic map data.

2. The method according to claim 1, characterized in that, After generating the second topographic map data, the method further includes: Based on the scale corresponding to the second map data, determine the map template corresponding to the scale. A second topographic map image is generated based on the second topographic map data and the map template.

3. The method according to claim 1, characterized in that, After generating the second topographic map data, the method further includes: Establish a second topographic map dataset, which includes multiple sets of second topographic map data; Create a field index for each attribute field in the second topographic map dataset, and / or create a spatial index for each spatial information in the second topographic map dataset; In response to the field index in the first search instruction, the attribute field corresponding to the field index is obtained from the second topographic map dataset, and / or, in response to the spatial index in the second search instruction, the spatial information corresponding to the spatial index is obtained from the second topographic map dataset.

4. The method according to claim 3, characterized in that, Creating a field index for each attribute field in the second topographic map dataset, and / or creating a spatial index for each spatial information in the second topographic map dataset, includes: The second topographic map dataset is split into multiple sub-datasets; Create a field index for each attribute field in the target subset of the multiple subsets, and / or create a spatial index for each spatial information in the target subset of the multiple subsets; The step of retrieving the attribute field corresponding to the field index from the second topographic map dataset in response to the field index in the first search instruction, and / or retrieving the spatial information corresponding to the spatial index from the second topographic map dataset in response to the spatial index in the second search instruction, includes: In response to the field index in the first search instruction, the attribute field corresponding to the field index is obtained from the target subset of the dataset, and / or, in response to the spatial index in the second search instruction, the spatial information corresponding to the spatial index is obtained from the target subset of the dataset.

5. A device for generating topographic map data, characterized in that, The device includes: an acquisition module, a determination module, and a generation module; The acquisition module is used to acquire first topographic map data; The determining module is used to determine a coding mapping table between the coding of the first topographic map data and the coding of the second topographic map data, and to determine an attribute mapping table between the attribute fields of the first topographic map data and the attribute fields of the second topographic map data; wherein, the coding mapping table includes the coding of the first topographic map data, a Chinese description of the coding of the first topographic map data, the name of the first topographic map dataset, the coding of the second topographic map data, and the name of the second topographic map dataset; the attribute mapping table includes the name of the first topographic map dataset, a first attribute field, and a second attribute field; the data standards of the first topographic map data and the second topographic map data are different; The generation module is configured to convert the spatial information of the first topographic map data into the spatial information of the second topographic map data according to the encoding mapping table, and to convert the attribute fields of the first topographic map data into the attribute fields of the second topographic map data according to the attribute mapping table; and to generate the second topographic map data according to the spatial information and attribute fields of the second topographic map data.

6. The apparatus according to claim 5, characterized in that, The device further includes: a template determination module and an image generation module; The template determination module is used to determine a map template corresponding to the scale corresponding to the second map data. The image generation module is used to generate a second topographic map image based on the second topographic map data and the map template.

7. A device for generating topographic map data, characterized in that, The device includes: a memory and a processor; The memory is used to store programs; The processor is configured to execute the program to implement the various steps of the method for generating topographic map data as described in any one of claims 1 to 4.

8. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the various steps of the method for generating topographic map data as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Efficient fusion and retrieval system and method for multi-source place name data

    CN112905728A

  • Geographic information database generation method and device

    CN115422315A

  • Spatial data division method and system

    CN116796083A

  • Rapid overseas topographic map making method and system, electronic equipment and storage medium

    CN118397207A