Data import and export method of digital mapping system
By using the data import and export method of field mapping relationship in digital regional geological surveys, the problem of inconsistent data format and difficulty in conversion is solved, efficient data conversion and sharing is achieved, and work efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202510020524.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-04-25
AI Technical Summary
There are problems in digital regional geological surveys with inconsistent data formats, difficult data conversion, and inconvenient data sharing, which affects work efficiency and accuracy.
It provides a data import and export method for digital map system, and uses field mapping relationships to import and export geological survey data in the GIS system, including measured profile data and route survey data, and perform coordinate system conversion and data format conversion.
It realizes mutual import and export between different data formats, improves data conversion efficiency, enhances data visualization and traceability, and promotes data sharing and collaboration between GIS system and digital mapping system.
Smart Images

Figure CN119884227A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital regional geological survey, and more specifically to a data import and export method of a digital mapping system. Background Art
[0002] As an integrated tool for capturing, storing, checking, manipulating, analyzing and displaying geographic data, Geographic Information System (GIS) has been widely used in many fields. It uses computer technology to process and analyze geographic data, and can provide users with visual expression of spatial data and decision support based on spatial data. With the continuous development of GIS technology, its application in digital regional geological surveys is becoming more and more extensive.
[0003] Digital regional geological survey is an important part of geological survey work. It requires the digital collection, storage and management of various data (such as geological points, geological boundaries, geological profiles, etc.) in the geological survey process. However, in actual operation, geological survey personnel are faced with problems such as inconsistent data formats, difficult data conversion, and inconvenient data sharing. These problems seriously restrict the efficiency and accuracy of digital regional geological survey work. In order to solve the above problems, the RgMap digital mapping system came into being. The system uses advanced GIS technology and database technology to realize the digital collection, storage and management of geological survey data. Although the RgMap digital mapping system has achieved certain results in data import and export, there are still some shortcomings. For example, the support for some data formats is not comprehensive enough, and the efficiency of data conversion needs to be improved. Summary of the invention
[0004] In view of the above problems, the present disclosure provides a data import and export method for a digital mapping system applied to a GIS system.
[0005] The present disclosure provides a data import and export method for a digital mapping system, which is applied to a GIS system, comprising: in response to receiving data sent by a digital mapping system, screening the data to obtain geological survey data; importing the geological survey data by using a field mapping relationship; the data at least includes a compressed package and a geographic space coordinate system code; the geological survey data at least includes one of measured profile data and route survey data; in response to receiving a geological survey data request from the digital mapping system, exporting the geological survey data by using a field mapping relationship; wherein the field mapping relationship at least includes a target field in the digital mapping system and a corresponding mapping field.
[0006] According to an embodiment of the present disclosure, the geological survey data is imported using a field mapping relationship, including: obtaining data of the target field from the geological survey data according to the target field; and converting and obtaining the data of the mapping field for importing into the target field according to the field mapping relationship and the data of the target field.
[0007] According to an embodiment of the present disclosure, the geospatial coordinate system code is at least used to identify a geographic coordinate reference system; converting and acquiring data of a mapping field includes: calculating the starting point and end point coordinates of each wire in the measured profile wire measurement data according to the measured profile acquisition data in the measured profile data; converting the geological survey data to a specified geographic coordinate reference system according to the geospatial coordinate system code; wherein the measured profile acquisition data includes at least one of starting point coordinates, rotation azimuth, slope distance, slope angle and elevation.
[0008] According to an embodiment of the present disclosure, the attachment resources of the measured profile data include at least one of the photos corresponding to the measured profile photo data and the sketches corresponding to the measured profile sketch data; the attachment resources of the route survey data include at least one of the photos corresponding to the route survey photo point acquisition data and the sketches corresponding to the route survey sketch point acquisition data; the geological survey data is imported using a field mapping relationship, and then, further comprising: obtaining the photos corresponding to the measured profile photo data and the photos corresponding to the route survey photo point acquisition data by splitting the first identifier field and fuzzy matching; obtaining the sketches corresponding to the measured profile sketch data and the sketches corresponding to the route survey sketch point acquisition data by precise matching of numbers; the sketches corresponding to the measured profile sketch data are precisely matched by the second identifier, the third identifier and the fourth identifier; the sketches corresponding to the route survey sketch point acquisition data are precisely matched by the fifth identifier.
[0009] According to an embodiment of the present disclosure, the geological survey data is exported using a field mapping relationship, including: constructing a data directory structure according to a geological survey data number; specifically including: constructing a measured profile data directory structure according to a measured profile, and initializing all tables in SQLite; constructing a route survey data directory structure according to a route number; the geological survey data number includes at least one of a measured profile number and a route number; according to the data directory structure and the field mapping relationship, the queried geological survey data is stored in a target directory.
[0010] According to an embodiment of the present disclosure, the geological survey data obtained by the query is stored in a target directory, including: importing the measured profile data into an initialized database table; importing the route survey data into GeoJson format and converting it into a TM or LM format file.
[0011] According to an embodiment of the present disclosure, the data are screened to obtain geological survey data, including: in response to the compression package format being correct, extracting the source data and attachment resources of the geological survey data in the compression package; the attachment resources are pictures corresponding to the source data; wherein the source data of the measured profile data at least includes one of measured profile acquisition data, measured profile traverse measurement data, measured profile stratification data, measured profile sampling data, measured profile occurrence data, measured profile photo data, measured profile fossil data, measured profile sketch data, measured profile geological point data and measured profile stratification thickness calculation data; wherein the source data of the route survey data at least includes one of route survey design route data, route survey geological observation point acquisition data, route survey segmented route acquisition data, route survey point boundary acquisition data, route survey occurrence point acquisition data, route survey photo point acquisition data, route survey sampling data, route survey sketch point acquisition data and route survey fossil sample acquisition data.
[0012] A second aspect of the present disclosure provides a data import and export device for a digital mapping system, which can be used to implement a data import and export method for a digital mapping system, including: a data import module, used to filter data to obtain geological survey data in response to receiving data sent by the digital mapping system; importing geological survey data using field mapping relationships; the data at least includes a compressed package and a geographic space coordinate system code; the geological survey data at least includes measured profile data and route survey data; a data export module, used to export geological survey data using field mapping relationships in response to receiving a geological survey data request from the digital mapping system; wherein the field mapping relationship at least includes a target field in the digital mapping system and a corresponding mapping field.
[0013] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the data import and export method of the above-mentioned digital mapping system.
[0014] The fourth aspect of the present disclosure further provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the data import and export method of the above-mentioned digital mapping system.
[0015] According to the data import and export method of the digital mapping system provided by the present disclosure, the data processing conversion of the digital mapping system is imported into the GIS system and the GIS system data is converted into the digital mapping system according to the predefined field mapping relationship. Since the display of the stock data of the digital mapping system (RgMap) in the GIS system and the display of the newly added data in the GIS system in the digital mapping system are realized, the technical problems of inconsistent data formats, difficult data conversion, and inconvenient data sharing are at least partially solved, and the technical effect of data exchange between the GIS system and the data mapping system is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A flowchart schematically shows a data import and export method of a digital mapping system according to an embodiment of the present disclosure;
[0017] Figure 2 A flowchart of importing measured profile data according to an embodiment of the present disclosure is schematically shown;
[0018] Figure 3 Schematically shows a flow chart of importing route survey data according to an embodiment of the present disclosure;
[0019] Figure 4 Schematically shows a flow chart of exporting measured profile data according to an embodiment of the present disclosure;
[0020] Figure 5 Schematically shows a flow chart of exporting route survey data according to an embodiment of the present disclosure;
[0021] Figure 6 A schematic diagram schematically illustrates a sketch of a measured cross section according to an embodiment of the present disclosure;
[0022] Figure 7 A schematic diagram schematically shows a field mapping relationship according to an embodiment of the present disclosure;
[0023] Figure 8 A structural block diagram schematically shows a data import and export device of a digital mapping system according to an embodiment of the present disclosure;
[0024] Fig. 9 A block diagram of an electronic device suitable for implementing a data import and export method for a digital mapping system according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0025] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0026] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0027] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0028] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0029] It should be noted that the application fields of the present disclosure include not only the field of digital regional geological survey, but also at least the field of geographic information system (GIS) and the field of software.
[0030] Figure 1 A flowchart of a data import and export method of a digital mapping system according to an embodiment of the present disclosure is schematically shown. Figure 1 As shown, an embodiment of the present disclosure provides a data import and export method for a digital mapping system, comprising: in response to receiving data sent by the digital mapping system, screening the data to obtain geological survey data; using field mapping relationships, importing the geological survey data; the data at least includes a compressed package and a geographic space coordinate system code; the geological survey data at least includes measured profile data and route survey data; in response to receiving a geological survey data request from the digital mapping system, exporting the geological survey data using field mapping relationships; wherein the field mapping relationship at least includes a target field in the digital mapping system and a corresponding mapping field.
[0031] Figure 7 The schematic diagram schematically shows the field mapping relationship according to the embodiment of the present disclosure. Figure 7 As shown, the target fields and corresponding mapping fields of the designed route data table in the route survey data are shown in the figure. Optionally, it also includes a measured profile acquisition data table of measured profile data, a measured profile traverse measurement data table, a measured profile stratification data table, a measured profile sampling data table, a measured profile occurrence data table, a measured profile photo data table, a measured profile fossil data table, a measured profile sketch data table, a measured profile geological point data table and a measured profile stratification thickness calculation data table; it also includes a route survey geological observation point acquisition data table, a route survey segmented route acquisition data table, a route survey point boundary acquisition data table, a route survey occurrence point acquisition data table, a route survey photo point acquisition data table, a route survey sampling data table, a route survey sketch point acquisition data table and a route survey fossil sample collection data table.
[0032] Through the embodiment of the present disclosure, the measured profile data file and route survey data file of the digital mapping system (RgMap system) are exported and the source data coordinate system EPSG code is passed in. Through a series of data processing, conversion and other operations, the field mapping relationship is used to realize the storage operation of the measured profile data and route survey data. And the measured profile data and route survey data are exported to a format that can be recognized by RgMap. That is, through the screening function, it is ensured that only effective and necessary geological survey data are imported into the system to avoid excessive system load or data redundancy. By using the predefined field mapping relationship, it can be ensured that data of different data formats or sources can be uniformly imported into the digital mapping system, and finally the measured profile data and route survey data between RgMap and GIS system are imported and exported. It provides great convenience for realizing how to display the stock data of the digital mapping system (RgMap) in the GIS system and how to display the newly added data in the GIS system in the digital mapping system (RgMap). It can further improve the efficiency and accuracy of digital regional geological survey work and provide more powerful support for the exploration, development and utilization of geological resources.
[0033] Among them, the EPSG code (EPSG Code) refers to a standardized numbering system developed by EPSG (European Petroleum Survey Group) to represent different geographic coordinate systems, projection systems, geographic coordinate reference systems (CRS) and related parameters. Each EPSG code represents a specific geographic coordinate reference system (such as WGS 84, UTM, etc.) or projection system, providing a unified way to identify and share coordinate reference information of geographic data. The EPSG code is a digital number, such as: 4326, 3857, etc. Each number corresponds to a specific geographic coordinate system, projection method or other related spatial data standards. The EPSG code is not only used to identify the coordinate system, but also includes information such as projection method, ellipsoid, coordinate axis direction, etc.
[0034] On the basis of the above embodiment, the geological survey data is imported by utilizing the field mapping relationship, including: obtaining the data of the target field from the geological survey data according to the target field; and converting and obtaining the data of the mapping field for importing into the target field according to the field mapping relationship and the data of the target field.
[0035] In this embodiment, RgMap is used to export a measured profile and a route survey data, both of which are in a specific directory structure and contain attached resources such as collected pictures and sketches. Among them, the profile source data is the db file type data of the SQLite database, and the route survey source data is the geojson file data in the Geojson data format.
[0036] Figure 2The flowchart of importing measured profile data according to the embodiment of the present disclosure is schematically shown, specifically including importing measured profile data: the measured profile import data is divided into source data and attachment resources. The import is mainly divided into the following steps: upload the compressed package and pass in the EPSG code of the source data coordinate system, and the program determines whether the compressed package format is correct. Parse the compressed package and filter the required data (source data, attachment resources). Parse the measured profile SQLite format source data, and obtain the required measured profile data through the program's built-in database table and field mapping relationship. Obtain the attachment resources corresponding to each measured profile photo point data and each measured profile sketch data through the attachment (picture, sketch) encoding rules. According to the starting point coordinates, rotation azimuth, slope distance, slope angle, and elevation of the measured profile acquisition data, calculate the starting point and end point coordinates and elevation of each wire in the measured profile wire measurement data. According to the EPSG code passed in, the measured profile traverse data, measured profile layering data, measured profile sampling data, measured profile occurrence data, measured profile photo data, measured profile fossil data, and measured profile sketch data are converted to 4326 coordinate system for display in this system. Source data and sketch resources are stored in the library.
[0037] Figure 3 The flowchart of importing route survey data according to the embodiment of the present disclosure is schematically shown, specifically including importing route survey data. The import is mainly divided into the following steps: upload a compressed package and pass in the EPSG code of the source data coordinate system, and the program determines whether the compressed package format is correct. Parse the compressed package and filter the required data (source data, attachment resources). Parse the geojson file type source data in the Geojson data format of the route survey, and obtain the required route survey data through the program's built-in database table and field mapping relationship. Obtain the corresponding attachment resources of the data collected from each route survey photo point and the data collected from each route survey sketch point through the attachment (picture, sketch) encoding rules. Convert all source data to 4326 according to the passed-in EPSG code for display in this system. The source data and sketch resources are stored in the library.
[0038] Through the embodiments of the present disclosure, automatic conversion of data is achieved, ensuring that the required target fields are screened during import, avoiding manual intervention and conversion errors, and at the same time improving data processing efficiency, reducing unnecessary repetitive work, and archiving data for storage, so that the data of the RgMap system can be shared and displayed in the GIS system.
[0039] On the basis of the above embodiment, the geospatial coordinate system code is at least used to identify the geographic coordinate reference system; converting and acquiring the data of the mapping field includes: calculating the starting point and end point coordinates of each wire in the measured profile wire measurement data according to the measured profile acquisition data in the measured profile data; converting the geological survey data to a specified geographic coordinate reference system according to the geospatial coordinate system code; wherein the measured profile acquisition data includes at least one of the starting point coordinates, rotation azimuth, slope distance, slope angle and elevation.
[0040] Through the embodiments of the present disclosure, the accuracy and comprehensiveness of geological survey data are ensured by accurately calculating the starting point, end point coordinates and other important data; and the coordinate system conversion is used to ensure that the data is in the same coordinate system so that subsequent data analysis can be performed.
[0041] On the basis of the above embodiments, the attachment resources of the measured profile data include at least one of the photos corresponding to the measured profile photo data and the sketches corresponding to the measured profile sketch data; the attachment resources of the route survey data include at least one of the photos corresponding to the route survey photo point collection data and the sketches corresponding to the route survey sketch point collection data; the geological survey data is imported using the field mapping relationship, and then, it also includes: by splitting the first identifier field, fuzzy matching to obtain the photos corresponding to the measured profile photo data and the photos corresponding to the route survey photo point collection data; by precise matching of numbers, the sketches corresponding to the measured profile sketch data and the sketches corresponding to the route survey sketch point collection data are obtained; the sketches corresponding to the measured profile sketch data are precisely matched through the second identifier, the third identifier and the fourth identifier; the sketches corresponding to the route survey sketch point collection data are precisely matched through the fifth identifier.
[0042] Specifically, the photos of the route survey are split according to ", in the number field of the photo point collection data table (1xdc_zpdcjsjb), and fuzzy matched with the picture file name; the sketch map of the route survey is matched with the picture file name through the smbh field of the sketch point collection data table (1xdc_smdcjsjb); the photos of the measured profile are split according to ", in the number field of the profile photo data table (scpm_pmzpsjb), and fuzzy matched with the picture file name; the sketch map of the measured profile is matched with the picture file name through the seccode field, 1aycode field and code field of the profile sketch data table (scpm_pmsmsjb) connected by "_". Among them, Figure 6 A schematic diagram of a sketch of a measured cross-section according to an embodiment of the present disclosure is schematically shown, and the image file name is shown in the figure.
[0043] Through the embodiments of the present disclosure, by associating attachments such as photos and sketches with source data, the visualization and traceability of the data are enhanced, which facilitates subsequent geological analysis. Errors caused by inconsistent file names or data loss are reduced through identifier matching, which improves the integrity and accuracy of the data.
[0044] On the basis of the above embodiment, the geological survey data is exported by utilizing the field mapping relationship, including: constructing a data directory structure according to the geological survey data number; specifically including: constructing a measured profile data directory structure according to the measured profile, and initializing all tables in SQLite; constructing a route survey data directory structure according to the route number; the geological survey data number includes at least one of the measured profile number and the route number; according to the data directory structure and the field mapping relationship, the queried geological survey data is stored in the target directory.
[0045] In this embodiment, the system stores the imported measured profile data and the newly collected measured profile data through the system APP, and the measured profile data that can be identified by RgMap is exported through the system export function for import into the RgMap system. The system stores the imported route survey data and the newly collected route survey data through the system APP, and the route survey data that can be identified by RgMap is exported through the system export function for import into the RgMap system.
[0046] It should be noted that it includes both data calculation and format conversion.
[0047] Figure 4 The flowchart of exporting measured profile data according to the embodiment of the present disclosure is schematically shown, specifically including exporting measured profile data, and the export is mainly divided into the following steps: the measured profile number to be exported is passed in, the program constructs the measured profile data directory structure according to the profile, and initializes all tables in SQLite. Query the relevant data of the specified measured profile, and convert the measured profile acquisition data, measured profile traverse measurement data, measured profile stratification data, measured profile sampling data, measured profile occurrence data, measured profile photo data, measured profile fossil data, measured profile sketch data, measured profile geological point data, and measured profile stratification thickness calculation data required by RgMap according to the program's built-in database table and field mapping relationship, and write them into SQLite. Query the corresponding attachment resources of each measured profile photo point data and each measured profile sketch data, and download them to the specified directory. The measured profile data directory is packaged and compressed for download.
[0048] Figure 5The flowchart of exporting route survey data according to the embodiment of the present disclosure is schematically shown. The export is mainly divided into the following steps: the route number to be exported and the EPSG code of the coordinate system are input, and the program constructs the directory structure of the route survey data according to the route number. The data related to the specified route number is queried, and according to the built-in database table and field mapping relationship of the program, the route survey design route data, route survey geological observation point collection data, route survey segmented route collection data, route survey point boundary collection data, route survey occurrence point collection data, route survey photo point collection data, route survey sampling data, route survey sketch point collection data, route survey fossil sample collection data required by RgMap are converted into GeoJson format data, and converted into TM and LM format files through the SDK provided by RgMap. The corresponding attachment resources of each route survey and each route survey sketch point collection data are queried and downloaded to the specified directory. The route survey data directory is packaged and compressed for download.
[0049] Through the embodiments of the present disclosure, a data directory structure is constructed according to the field mapping relationship and the data number, and the data is exported to the target directory. The corresponding directory structure is constructed according to the geological survey data number and stored in the target directory. The exported data is stored according to a specific directory structure, which enhances the hierarchy and manageability of the data. Users can quickly locate the specific data they need and improve work efficiency. Through automated data conversion and export and directory construction, operational efficiency and accuracy are improved.
[0050] Based on the above embodiment, the geological survey data obtained by query is stored in the target directory, including: importing the measured profile data into the initialized database table; importing the route survey data into GeoJson format and converting it into TM or LM format file.
[0051] In this embodiment, for example, a data directory includes folders images and sketch, db file om003 and db-journal file pm003.
[0052] Through the embodiments of the present disclosure, the measured profile data is stored in a database table, and the route survey data is converted into GeoJson format, and then converted into a TM or LM format file. The measured profile data is stored in a database table to ensure the standardization of the data structure and can be quickly retrieved through SQL queries. The conversion of GeoJson format and subsequent format conversion operations contribute to the compatibility of different systems and tools, ensuring that the data can be effectively used by different software systems.
[0053] On the basis of the above embodiment, the data is screened to obtain geological survey data, including: in response to the correct format of the compressed package, extracting the source data and attachment resources of the geological survey data in the compressed package; the attachment resources are pictures corresponding to the source data; wherein the source data of the measured profile data at least includes one of measured profile acquisition data, measured profile traverse measurement data, measured profile stratification data, measured profile sampling data, measured profile occurrence data, measured profile photo data, measured profile fossil data, measured profile sketch data, measured profile geological point data and measured profile stratification thickness calculation data; wherein the source data of the route survey data at least includes one of route survey design route data, route survey geological observation point acquisition data, route survey segmented route acquisition data, route survey point boundary acquisition data, route survey occurrence point acquisition data, route survey photo point acquisition data, route survey sampling data, route survey sketch point acquisition data and route survey fossil sample acquisition data.
[0054] Through the embodiments of the present disclosure, by correctly decompressing and filtering the compressed package, only necessary data is extracted to avoid interference from redundant data and improve system efficiency. Processing source data and attachment resources separately can enable each type of data to be managed and called more professionally, effectively improving the efficiency of data search and use.
[0055] It should be noted that the present disclosure also has at least one of the following benefits:
[0056] (1) Improve work efficiency: Simplify the operation process: This method and device can significantly improve work efficiency by optimizing the process of data import and export, reducing tedious manual operations; Quick response: Using advanced technology and algorithms, the device can quickly process large amounts of data and realize real-time data import and export, thus meeting the timeliness requirements of geological survey work.
[0057] (2) Enhanced data accuracy: Data verification: During the data import process, the method and device will strictly verify the data to ensure the integrity and accuracy of the data; Format unification: Through standardized data format conversion, the method and device can effectively avoid format errors or data loss problems during the data import and export process, thereby further improving the accuracy of the data.
[0058] (3) Reduce data conversion costs: Reduce manpower input: Automated data import and export functions reduce manual intervention and reduce labor costs; Save time costs: Efficient data conversion speed shortens the time for data preparation and processing, thereby saving time costs.
[0059] (4) Promote data sharing and collaboration: Data compatibility: The method and device support the import and export of multiple data formats, enhance data compatibility, and make data sharing between different systems and platforms easier; Collaboration convenience: Through the data sharing platform, geological survey personnel can share and collaborate more conveniently, improving work efficiency and collaborative combat capabilities.
[0060] Based on the data import and export method of the digital mapping system, the present disclosure also provides a data import and export device for the digital mapping system. Figure 8 The device is described in detail, and can be used to implement the data import and export method of the above-mentioned digital mapping system.
[0061] like Figure 8 As shown, the data import and export device of the digital mapping system of this embodiment includes a data import module and a data export module.
[0062] The data import module is used to respond to the data sent by the digital mapping system, filter the data to obtain geological survey data; use the field mapping relationship to import the geological survey data; the data at least includes a compressed package and a geographic space coordinate system code; the geological survey data at least includes one of measured profile data and route survey data.
[0063] The data export module is used to export geological survey data by utilizing field mapping relationships in response to receiving a geological survey data request from a digital mapping system.
[0064] The field mapping relationship includes at least a target field and a corresponding mapping field in the digital mapping system.
[0065] Fig. 9 A block diagram of an electronic device suitable for implementing a data import and export method for a digital mapping system according to an embodiment of the present disclosure is schematically shown.
[0066] like Fig. 9 As shown, the electronic device 900 according to an embodiment of the present disclosure includes a processor 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. The processor 901 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 901 may also include an onboard memory for caching purposes. The processor 901 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0067] In RAM 903, various programs and data required for the operation of electronic device 900 are stored. Processor 901, ROM 902 and RAM 903 are connected to each other via bus 904. Processor 901 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 902 and / or RAM 903. It should be noted that the program can also be stored in one or more memories other than ROM 902 and RAM 903. Processor 901 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0068] According to an embodiment of the present disclosure, the electronic device 900 may further include an input / output (I / O) interface 905, which is also connected to the bus 904. The electronic device 900 may further include one or more of the following components connected to the I / O interface 905: an input portion 906 including a keyboard, a mouse, etc.; an output portion 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 908 including a hard disk, etc.; and a communication portion 909 including a network interface card such as a LAN card, a modem, etc. The communication portion 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage portion 908 as needed.
[0069] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0070] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the method provided by the embodiment of the present disclosure.
[0071] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0072] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0073] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0074] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A data import and export method for a digital mapping system, applied to a GIS system, characterized in that: include: In response to receiving data sent by the digital mapping system, screening the data to obtain geological survey data; The geological survey data is imported by using the field mapping relationship; the data at least includes a compressed package and a geographic space coordinate system code; the geological survey data at least includes one of measured profile data and route survey data; In response to receiving a geological survey data request from a digital mapping system, exporting the geological survey data using a field mapping relationship; The field mapping relationship at least includes a target field and a corresponding mapping field in the digital mapping system.
2. The method according to claim 1, wherein: Using the field mapping relationship, the geological survey data is imported, including: According to the target field, acquiring data of the target field from geological survey data; According to the field mapping relationship and the data of the target field, the data of the mapping field is converted and acquired to be imported into the data of the target field.
3. The method according to claim 2, wherein: The geographic space coordinate system code is at least used to identify the geographic coordinate reference system; The transformation obtains the data of the mapped fields, including: Calculate the starting point and end point coordinates of each wire in the measured profile wire measurement data according to the measured profile acquisition data in the measured profile data; Converting the geological survey data into a designated geographic coordinate reference system according to the geographic spatial coordinate system code; The measured profile acquisition data includes at least one of the starting point coordinates, rotation azimuth, slope distance, slope angle and elevation.
4. The method according to claim 1, wherein: The attachment resource of the measured profile data includes at least one of a photo corresponding to the measured profile photo data and a sketch corresponding to the measured profile sketch data; the attachment resource of the route survey data includes at least one of a photo corresponding to the route survey photo point acquisition data and a sketch corresponding to the route survey sketch point acquisition data; The geological survey data is imported by using the field mapping relationship, and then the following steps are further included: By segmenting the first identifier field, fuzzy matching is performed to obtain photos corresponding to the measured profile photo data and photos corresponding to the route survey photo point acquisition data; The sketch corresponding to the measured profile sketch data and the sketch corresponding to the route survey sketch point collection data are obtained through precise matching of the numbers; the sketch corresponding to the measured profile sketch data is precisely matched through the second identifier, the third identifier and the fourth identifier; the sketch corresponding to the route survey sketch point collection data is precisely matched through the fifth identifier.
5. The method according to claim 1, wherein: The geological survey data is exported using the field mapping relationship, including: According to the geological survey data number, construct a data directory structure; specifically, the steps include: constructing a measured profile data directory structure according to the measured profile, and initializing all tables in SQLite; constructing a route survey data directory structure according to the route number; the geological survey data number includes at least one of the measured profile number and the route number; According to the data directory structure and field mapping relationship, the queried geological survey data is stored in the target directory.
6. The method according to claim 5, wherein: Store the queried geological survey data into the target directory, including: Importing the measured profile data into the initialized database table; After importing the route survey data into GeoJson format, it is converted into a TM or LM format file.
7. The method according to claim 1, wherein: The data are screened to obtain geological survey data, including: In response to the compressed package format being correct, extracting source data and attachment resources of the geological survey data in the compressed package; the attachment resources are pictures corresponding to the source data; The source data of the measured profile data includes at least one of measured profile acquisition data, measured profile traverse data, measured profile layering data, measured profile sampling data, measured profile occurrence data, measured profile photo data, measured profile fossil data, measured profile sketch data, measured profile geological point data and measured profile layering thickness calculation data; Among them, the source data of the route survey data at least includes one of route survey design route data, route survey geological observation point collection data, route survey segmented route collection data, route survey point boundary collection data, route survey occurrence point collection data, route survey photo point collection data, route survey sampling data, route survey sketch point collection data and route survey fossil sample collection data.
8. A data import and export device for a digital mapping system, characterized in that: The device can be used to implement the method according to any one of claims 1 to 7, and the device comprises: The data import module is used to filter the data to obtain geological survey data in response to receiving the data sent by the digital mapping system; import the geological survey data by using the field mapping relationship; the data at least includes a compressed package and a geographic space coordinate system code; the geological survey data at least includes one of measured profile data and route survey data; A data export module, for exporting geological survey data using field mapping relationships in response to receiving a geological survey data request from a digital mapping system; The field mapping relationship includes at least a target field and a corresponding mapping field in the digital mapping system.
9. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 7.