Template design-based geochemical thematic map batch manufacturing method
Through the template design method, the problems of low mapping efficiency and poor consistency in the production of geochemical thematic drawings are solved, and the rapid batch generation and efficient mapping of geochemical thematic drawings are achieved, which is suitable for the production needs of multi-element and multi-scale.
Patent Information
- Application Number
- CN202411862659.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-04-08
AI Technical Summary
The prior art has problems such as low mapping efficiency, poor consistency and lack of batch and automation production tools in the production of geochemical special drawings, making it difficult to quickly respond to large-scale or updated data changes.
Using a template-based design method, by obtaining geochemical data from the research area, determining the data symbolization scheme, grid strategy and color grading scheme, a design template for the thematic image piece is constructed, including geographical information and visual parameter information, and logically correlating it to achieve batch generation of the geochemical image piece.
It realizes the rapid batch generation of geochemical special maps, improves the mapping efficiency and consistency, avoids human errors and deviations in the consistency of the maps, and is suitable for multi-element and multi-scale production needs.
Smart Images

Figure CN119785930A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of geological mineral exploration, and in particular to a method, system and computer-readable storage medium for batch production of geochemical thematic maps based on template design. Background Art
[0002] In geochemical exploration work, the results maps often involve expressions at different scales. When comprehensively analyzing the spatial distribution characteristics of different elements in sample data in the same study area, it is often necessary to produce multiple element content distribution maps (such as geochemical maps or single element anomaly maps). A result map with a larger area may be made into an atlas or inserted into a related result report document or paper as a result illustration, which requires redesigning the map layout to meet the needs of new scenarios. In the map finishing work of the geochemical series of maps, it is often necessary to add auxiliary elements such as map names, scales, legends, and perform reasonable map configuration. In the process of producing geochemical thematic maps, there are multi-element and multi-scale mapping needs, which also brings a lot of map finishing work.
[0003] With the development of digital mapping and GIS technology, geochemical maps can be produced using general GIS software. In order to meet the characteristics of geochemical data and improve mapping efficiency, some geochemical professional software has been redeveloped on the general GIS platform with professional mapping functions. Although these software differ in the calling and management of map decoration elements, they are similar in mapping methods and adding map surfaces. They often require single, one-by-one design and printing of maps, resulting in low mapping efficiency and poor consistency. In addition, existing methods lack batch and automated thematic map production tools, and cannot respond quickly to data changes when the project is large or when map data and design need to be updated.
[0004] Therefore, it is necessary to propose a method for batch production of geochemical thematic maps based on template technology, which can logically combine the resulting maps from geographic elements and auxiliary elements through template parameters, realize automatic batch map generation, and improve the efficiency of map finishing and mapping. Summary of the invention
[0005] In view of this, the present invention provides a method for batch production of geochemical thematic maps based on template design, which is used to solve the technical problem that maps need to be designed and printed one by one during existing map production, and geochemical thematic maps cannot be designed and updated in batches.
[0006] In order to achieve the above technical objectives, the present invention adopts the following technical solutions:
[0007] On the one hand, the present invention provides a method for batch production of geochemical thematic maps based on template design, comprising:
[0008] Obtain geochemical data of the study area, and determine a data symbolization scheme, a gridding strategy, and a color grading scheme based on the spatial distribution characteristics of the geochemical data;
[0009] According to the data symbolization scheme, a point data map and a point symbol map are produced; according to the gridding strategy and the color grading scheme, a geochemical map and a single element anomaly map are generated; the point data map, the point symbol map, the geochemical map and the single element anomaly map constitute the result map;
[0010] Constructing a design template for a thematic map, wherein the design template includes geographic elements for describing geographic information and auxiliary elements for describing visual parameter information;
[0011] The design template is applied to the result map, the auxiliary elements and geographical elements in the design template are logically associated, and geochemical thematic maps of the study area are generated in batches.
[0012] Further, the data symbolization scheme includes: the type of point symbols and annotation information, the size and position of the drawing configuration, and the size and position of the annotation text determined by the design parameters;
[0013] Producing a point data map and a point symbol map according to the data symbolization scheme includes:
[0014] The data points in the study area are batch labeled using unified design parameters to reflect the geochemical characteristics of the data points.
[0015] Furthermore, the geochemical map and the single element anomaly map are generated according to the gridding strategy and the color grading scheme, including:
[0016] When the geochemical data is survey or detailed survey data, the data is gridded by using the inverse distance weighted method, the kriging interpolation method or the radial basis function interpolation method; when the geochemical data is regional geochemical data, the data is gridded by using the nearest point gridding method;
[0017] The gridded data are traced by contour lines, the data range is divided into several levels according to the contour lines, the numerical range of each layer is mapped to different color schemes, and geochemical maps and single element anomaly maps are generated.
[0018] Furthermore, generating a geochemical map according to the gridding strategy and the color grading scheme also includes:
[0019] The inner band, middle band and outer band values of the single element anomaly diagram are determined by using the cumulative frequency banding method or according to the preset multiples of the anomaly lower limit value; wherein the method for determining the anomaly lower limit value includes a statistical method, a fractal analysis method and an EDA lower limit analysis method.
[0020] Furthermore, the auxiliary elements include basic view elements and custom view elements; the basic view elements are used to display the basic structure and layout of the thematic map, and the custom view elements are used to display the analysis information of the achievement map;
[0021] The design template for constructing thematic maps includes:
[0022] Select the type of thematic map to be generated, and select the basic view element according to the type of thematic map to set the map frame;
[0023] Adding custom visual elements to the set map frame, typesetting and map finishing the map, and storing the positions and symbol parameters of the basic view elements and custom visual elements;
[0024] Adding geographic information to the map after adding the custom visual elements, and storing the map as a thematic map template;
[0025] A resource table is created to store the basic visual elements, custom visual elements and geographic information in the form of a data dictionary and corresponding keywords, according to the resource table ecological resource catalog set.
[0026] Further, the design template is applied to the result map, and the auxiliary elements and geographical elements in the design template are logically associated, including:
[0027] Replacing the keywords of the thematic map according to the data content of the result map, so that the keyword values of the data dictionary are correspondingly associated with the result map;
[0028] When inserting a picture or mxd document, traverse each directory in the resource directory set in turn to find the file name referenced by the picture or mxd document;
[0029] If the same file name exists, the placeholder in the design template is replaced; if it does not exist, the image or mxd document is removed.
[0030] Furthermore, the method further comprises:
[0031] Select the export element and image resolution of the geochemical map to get a preview image;
[0032] Adjust the export elements and image resolution according to the effect of the preview image;
[0033] Export geochemical maps in batches to image or document formats.
[0034] Furthermore, the method further comprises:
[0035] Select multiple geochemical maps to be packaged, and set the package version information and output directory;
[0036] Based on the packaging version information, the plurality of geochemical maps are packaged into files in mpk format and saved in the output directory.
[0037] In a second aspect, the present invention also provides a system for batch production of geochemical thematic maps based on template design, comprising:
[0038] A data analysis module is used to obtain geochemical data of the study area and determine a data symbolization scheme, a gridding strategy and a color grading scheme based on the spatial distribution characteristics of the geochemical data;
[0039] A map making module is used to make a point data map and a point symbol map according to the data symbolization scheme, and to generate a geochemical map and a single element anomaly map according to the gridding strategy and the color grading scheme; the point data map, the point symbol map, the geochemical map and the single element anomaly map constitute the result map;
[0040] A module construction module is used to construct a design template for a thematic map, wherein the design template includes geographic elements for describing geographic information and auxiliary elements for describing visual parameter information;
[0041] The map finishing module is used to apply the design template to the result map, logically associate the auxiliary elements and geographical elements in the design template, and batch generate geochemical thematic maps of the study area.
[0042] In a third aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for batch production of geochemical thematic maps based on template design as described in any of the above technical solutions is implemented.
[0043] Compared with the prior art, the advantages of the present invention are:
[0044] 1. Determine the symbolization scheme, gridding strategy and color grading scheme based on the distribution characteristics of geochemical data, so that the map can more accurately reflect the geochemical distribution in the region. Unified data processing standards will help maintain consistency during batch production.
[0045] 2. The unified design parameters are used for map production. Through the combination of point data map, point symbol map, geochemical map and single element anomaly map, multi-dimensional data display is provided, which can deeply understand the geochemical characteristics of the study area from different levels and facilitate intuitive display and analysis.
[0046] 3. A batch production method of geochemical thematic maps based on template design is proposed. Through the combination of geographic elements and auxiliary elements, it can not only display the standardized map framework, but also display specific analysis information through custom view elements, thereby improving the flexibility and customizability of the maps. It is suitable for scenarios of multi-element production and multiple use.
[0047] 4. By logically associating the auxiliary elements and geographic elements in the design template, the original geochemical map can be left unchanged, with good reconstruction, and can realize the rapid batch generation of geochemical maps with multiple elements and multiple scales, greatly improving work efficiency. At the same time, the fully automated mapping process also avoids human errors and consistency deviations of maps. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A schematic diagram of the process of batch production of geochemical thematic maps based on template design provided by the present invention;
[0049] Figure 2 A schematic diagram of a data dictionary provided by the present invention;
[0050] Figure 3 A schematic diagram of the classification of auxiliary elements provided by the present invention;
[0051] Figure 4 A schematic diagram of the layout design interface provided by the present invention;
[0052] Figure 5 A schematic diagram of a result drawing after applying the design template provided by the present invention;
[0053] Figure 6 This is a schematic diagram of a batch production system of geochemical thematic maps based on template design provided by the present invention. DETAILED DESCRIPTION
[0054] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0055] The present invention provides a method for batch production of geochemical thematic maps based on template design, which is specifically described below.
[0056] See also Figure 1This embodiment provides a method for batch production of geochemical thematic maps based on template design, including:
[0057] Step S101: Acquire geochemical data of a research area, and determine a data symbolization scheme, a gridding strategy, and a color grading scheme based on the spatial distribution characteristics of the geochemical data;
[0058] Step S102: producing a point data map and a point symbol map according to the data symbolization scheme, and generating a geochemical map and a single element anomaly map according to the gridding strategy and the color grading scheme; the point data map, the point symbol map, the geochemical map and the single element anomaly map constitute the result map;
[0059] Step S103: constructing a design template for the thematic map, wherein the design template includes geographic elements for describing geographic information and auxiliary elements for describing visual parameter information;
[0060] Step S104: applying the design template to the result map, logically associating the auxiliary elements and geographic elements in the design template, and batch generating geochemical thematic maps of the study area.
[0061] The method of this embodiment designs a symbolization scheme, a gridding strategy, and a color grading scheme based on the distribution characteristics of geochemical data, ensuring that the visualization of the data in the map is consistent with its geological background, thereby improving the accuracy and intuitiveness of data interpretation. Through the template design method, the layout, style, and display content of the thematic map are customized according to the needs of different projects, which enhances flexibility and standardization, has good reconstructability, can realize large-scale batch automated mapping, improve mapping efficiency, and express data results at multiple scales.
[0062] Overall, the method includes two main processes: map production and map decoration: Steps S101-S102 are the map production process, and steps S103-S104 are the template design and map decoration process. The two main processes are introduced separately below.
[0063] (1) Drawing production process
[0064] In step S101, as a preferred embodiment, the data symbolization scheme includes: the type of point symbols and annotation information, the size and position of the drawing configuration, and the size and position of the annotation text determined by the design parameters;
[0065] Producing a point data map and a point symbol map according to the data symbolization scheme includes:
[0066] The data points in the study area are batch labeled using unified design parameters to reflect the geochemical characteristics of the data points.
[0067] As the original geochemical map, in the process of drawing point data map and symbol anomaly map, the classification of data symbols and the design of symbolization scheme need to be unified.
[0068] Specifically, in the production of point data maps, the point symbols and annotation information have the same size configuration effect on the drawing, and the size and position of the annotation text are designed with unified parameters to achieve batch generation of this type of maps.
[0069] As a preferred embodiment, in step S102, when making geochemical maps and single element anomaly maps, data gridding processing is first performed.
[0070] Typically, the geochemical data are regional geochemical data, in which case the nearest point gridding method is used to grid the data; when the geochemical data are survey or detailed survey data, the inverse distance weighted method, Kriging interpolation method or radial basis function interpolation method is used to grid the data.
[0071] Different gridding methods are used according to different types of geochemical data (general survey, detailed survey, regional geochemical data) to ensure that the processing of different data sources can achieve the best results. At the same time, the hierarchy and data readability of the map are improved through grading and color mapping, helping users to quickly identify important information.
[0072] It should be noted that for the same study area, the spatial distribution characteristics of geochemical data are the same, and the same gridding method and gridding parameters can be used for multi-element data processing to achieve batch generation.
[0073] The gridded data are traced by contour lines, the data range is divided into several levels according to the contour lines, the numerical range of each layer is mapped to different color schemes, and geochemical maps and single element anomaly maps are generated.
[0074] The display parameters of each layer of the geochemical map generation part default to the specified layer value and color scale scheme, and the same grading method can be selected, such as the cumulative frequency grading scheme, the equal spacing scheme and the same color scale color scheme. At the same time, these schemes can be saved with the element as the index to achieve the purpose of reuse. The cumulative frequency grading scheme is shown in Table 1. Among them, for data that meet the logarithmic normal distribution, the 0.1×lg mass fraction interval can be used to draw the contour line map. For some major elements and elements with a small data variation range, 0.05×lg can be used. At the same time, according to the geological phenomena and drawing effects reflected in the geochemical map, a certain level can be appropriately increased or decreased.
[0075] Table 1 Cumulative frequency classification table
[0076]
[0077] The corresponding color scale scheme can correspond to the low-value area, background area, and high-value area according to the blue-yellow-red tones. For example, the color scale file set by the cumulative frequency scheme is one level and one color; the color scale set by logarithmic interval is one area and one color, with a total of 5 or 7 colors. Different color scale setting methods provide flexibility and can choose the appropriate processing method according to the characteristics of the actual data, making the scheme highly customizable and adaptable to different types of data sets.
[0078] It should be noted that the single element anomaly map involves how to define different anomaly intervals (inner band, middle band, outer band) in geochemical data in order to identify and analyze the abnormal distribution of geochemical elements. As a preferred embodiment, the inner band, middle band and outer band values of the single element anomaly map are determined by using the cumulative frequency banding method or according to the preset multiples of the lower limit of the anomaly. Batch settings can be performed using the same geochemical anomaly lower limit processing method.
[0079] If the cumulative frequency banding method is used, the 85%-92%-98% cumulative frequency numbers are usually used, corresponding to the outer band, middle band, and inner band respectively. If it is determined based on the preset multiples of the abnormal lower limit, 1 times, 2 times, and 4 times the abnormal lower limit are used to correspond to the outer band, middle band, and inner band respectively.
[0080] Among them, the methods for determining the abnormal lower limit value include statistical method (mean + 3× standard deviation), fractal analysis method and EDA lower limit analysis method.
[0081] Using different statistical methods, fractal analysis or EDA methods, the settings can be flexibly adjusted according to the distribution characteristics and needs of the actual data, finding a balance between scientificity and intuitiveness, making the solution have strong adaptability. At the same time, the batch setting function improves the efficiency of the entire workflow, which is especially suitable for processing large-scale geochemical data.
[0082] Through the combined use of the above-mentioned color scale and anomaly interval settings, abnormal areas in geochemical data can be accurately identified, making the geological interpretation of the data more scientific and easy to understand, helping researchers to more effectively identify geochemical anomalies and delineate target areas.
[0083] (2) Template design and map finishing process
[0084] In step S103, the auxiliary elements include basic view elements and custom view elements; the basic view elements are used to display the basic structure and layout of the thematic map, and the custom view elements are used to display the analysis information of the achievement map;
[0085] The design template for constructing thematic maps includes:
[0086] Select the type of thematic map to be generated, and select the basic view element according to the type of thematic map to set the map frame;
[0087] Adding custom visual elements to the set map frame, typesetting and map finishing the map, and storing the positions and symbol parameters of the basic view elements and custom visual elements;
[0088] Adding geographic information to the map after adding the custom visual elements, and storing the map as a thematic map template;
[0089] A resource table is created to store the basic visual elements, the custom visual elements and the geographic information in the form of a data dictionary and corresponding keywords, and a resource catalog set is generated according to the resource table.
[0090] A typical data dictionary is Figure 2 As shown, the resource table is shown in Table 2.
[0091] Table 2 Resource table
[0092]
[0093]
[0094] In Table 2, the resource table must contain the Elem column to store the element symbol. The first line is the column name, corresponding to {Key} in the template. When processing the Ag element graph, the {GraphicNo} keyword is encountered, which will be replaced by the sequence number of the Ag element in the graph set. In addition to the keywords defined by Excel, the resource table also supports some keywords by default, which correspond to the data dictionary.
[0095] As a specific embodiment, the basic view elements are elements directly supported by ArcGIS itself, such as pages, map frames, maps, layers, map grids, texts, pictures, compasses, scales, and the like.
[0096] The customized visual elements are the customized contents of this embodiment, including histograms, color scale tables, achievement maps, achievement map legends, geological unit histograms, tables, etc.
[0097] like Figure 3 As shown, Figure 3 The classification of auxiliary elements is shown. Figure 3In , XXWrap is defined as a wrapper for the basic view element. For example, a custom visual element MapFrameWrap is a wrapper for the basic view element MapFrame. The size of MapFrame can be adjusted by the custom visual element MapFrameWrap in the form of scale and padding. For another example, TextElementWrap is a wrapper for the basic visual element TextElement, which adds a text translation function and can translate the {Elem} keyword into the corresponding element symbol.
[0098] Customizing visual element encapsulation can greatly improve development efficiency. After the basic elements are encapsulated, developers can directly call and configure them according to their needs, reducing repetitive development work. By customizing view elements, users can dynamically adjust the size and position of visual components according to specific needs, making the code structure in the system more modular, easier to maintain and expand, and more reusable, reducing the workload of repeated development.
[0099] like Figure 4 As shown, Figure 4 The interface of layout design is shown. The operation flow of the complete map template layout design function is as follows:
[0100] ① Page design
[0101] According to the requirements of thematic maps, the coordinate system and scale are selected. The page format is set, such as paper size and margins, taking into account the purpose of mapping, the shape and scope of the area.
[0102] ②Addition and design of auxiliary elements
[0103] Create a new template map file and open the result map file at the same time. The result map includes point data map, point symbol map, contour map, single element anomaly map, point anomaly map, combined anomaly map, etc. Refer to the content of the thematic map, add auxiliary elements in sequence, complete the layout and map finishing of the map, and store the relevant position and symbol parameters of the auxiliary elements as a design template.
[0104] The specific operations that need to be performed are:
[0105] Add map title: Add a map title in text format. The geochemical element name field can be dynamically added using the keyword {Elem}. When the layout is applied, this field can be dynamically replaced according to the element name in the geochemical map.
[0106] Add image format (jpg or emf) data and set its style. By setting the image name template, when the layout is applied, the images inserted in the drawings of different elements can be linked to the files of the corresponding elements in the folder.
[0107] Add scale: Set the symbol parameters, size and position of the graphic scale.
[0108] Add North Arrow: Add a north arrow and set its size and position.
[0109] Add geochemical legend: Generate corresponding point color legends according to different geochemical map topics, such as point data map and point anomaly map; Generate color legends for the color grading scheme used in geochemical maps. There are two types of color legends, horizontal or vertical, which can mark the grading value and the corresponding percentage at the same time.
[0110] Add responsibility table: Provides common responsibility table templates for selection, and supports users to design custom templates and apply the system. Some fields in the table template can be filled directly, and some fields such as picture number and sequence number can be set as keywords. When the layout is applied, the input data is read and the actual content is filled in.
[0111] Add histogram: Add a histogram file (mxd) format, you can set a relative path, and automatically link to the relevant files in the corresponding folder according to the name.
[0112] ③Adding geographical elements
[0113] Geochemical maps involve the addition of some geographic information, such as cities, transportation, water systems, national boundaries, etc. Mainly include: 1) Basic data: including vector data of various points, lines, and areas. 2) Background map data: composed of various processed base map raster data, such as satellite remote sensing map data, DEM elevation data.
[0114] As a preferred embodiment, in step S104, the design template needs to be applied to the result map, and when the auxiliary elements and geographical elements in the design template are logically associated, the keywords of the thematic map are replaced according to the data content of the result map, so that the keyword values of the data dictionary are correspondingly associated with the result map.
[0115] Specifically, the designed template is directly applied to a set of (multi-element) geochemical maps. During the template application process, it is directly loaded into different geochemical maps, logically associated and applied with each geographical element and auxiliary element, and specific layout information files of each element are generated.
[0116] 1) Text replacement: When templates are applied in batches, the {Key} keyword will be replaced. Text added individually, in tables, color scale tables, etc. all support keyword replacement.
[0117] 2) Image replacement: When applying templates in batches, you can set the image name template. The setting method is also to replace the {Key} keyword, such as {Elem}_HistogramMap.jpg.
[0118] When inserting an image or mxd document, the system will loop through the resource directory and the file name to see if the file exists. If so, the image in the template will be replaced with the image. If not, the next directory will be checked. If the image or mxd document does not exist after traversing the entire resource directory, the image or mxd document will be removed.
[0119] It can be seen that the above method can be applied multiple times without changing the original data of the geochemical map. If the map needs to be modified, the layout can be edited again and saved. It has good reconstructability and can quickly complete batch modification of a set of maps, realizing the rapid generation and visualization of geochemical thematic maps. Figure 5 As shown, Figure 5 The resulting drawing after applying the design template is shown (taking element B as an example).
[0120] As a preferred embodiment, the method further comprises the step of map exporting:
[0121] Select the export element and image resolution of the geochemical map to get a preview image;
[0122] Adjust the export elements and image resolution according to the effect of the preview image; users can choose different image resolutions according to their needs to adapt to different usage scenarios. For example, high resolution is suitable for print output, and low resolution is suitable for dissemination on the Internet. Such selection ensures the display effect of the image on different media.
[0123] Export geochemical maps in batches to image (jpg) and document (pdf) formats. The jpg format is suitable for web pages, reports or simple digital dissemination, while the pdf format is suitable for high-quality document archiving, printing or distribution, ensuring the diversity and flexibility of output formats.
[0124] As a preferred embodiment, the method further comprises the step of map packaging:
[0125] Select multiple geochemical maps to be packaged, and set the package version information and output directory;
[0126] Based on the packaging version information, the plurality of geochemical maps are packaged into files in mpk format and saved in the output directory.
[0127] Through the packaging and version control functions, a convenient way to manage map files is provided. Users can classify and manage according to the set version information to ensure that different versions of maps can be clearly identified and stored. The setting of the output directory makes the file storage more orderly and easy to find and manage.
[0128] This embodiment also provides a system for batch production of geochemical thematic maps based on template design, including:
[0129] A data analysis module is used to obtain geochemical data of the study area and determine a data symbolization scheme, a gridding strategy and a color grading scheme based on the spatial distribution characteristics of the geochemical data;
[0130] A map making module is used to make a point data map and a point symbol map according to the data symbolization scheme, and to generate a geochemical map and a single element anomaly map according to the gridding strategy and the color grading scheme; the point data map, the point symbol map, the geochemical map and the single element anomaly map constitute the result map;
[0131] A module construction module is used to construct a design template for a thematic map, wherein the design template includes geographic elements for describing geographic information and auxiliary elements for describing visual parameter information;
[0132] The map finishing module is used to apply the design template to the result map, logically associate the auxiliary elements and geographical elements in the design template, and batch generate geochemical thematic maps of the study area.
[0133] In some embodiments, the system further includes a batch export module and a batch packaging module, such as Figure 6 As shown, Figure 6 In the , the layout design module is used to design and edit design templates, the layout application module is used to implement batch application of templates, the batch export module is used to batch export maps into pictures or files, and the batch packaging module is used to batch package maps into .mpk format files.
[0134] This embodiment also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, a method for batch production of geochemical thematic maps based on template design as described in any of the above technical solutions is implemented.
[0135] In summary, the present invention proposes a batch mapping method for geochemical thematic maps based on template design, which divides the production of geochemical thematic maps into two parts: map production and map decoration. In the map production process, the same data processing method is used to quickly and batch generate geochemical maps based on the spatial characteristics of data distribution in the study area. In the map decoration process, based on the idea of template design, a template design of a certain thematic map is carried out, including the design of the coordinate system and the scale of the map output, the addition of auxiliary elements such as the map name, scale, color scale, and responsibility table, and the storage of its related position and symbol parameters as a template. The designed template is applied to a set of (multi-element) geochemical maps, and the generation of a set of geochemical maps can be completed by one design. Or according to the map output requirements, this template can be modified and reapplied, and the batch modification of a set of maps can be completed quickly. The result maps can be exported in batches as pictures or documents, or they can be packaged maps for project achievement display and sharing. This application improves the standardization of maps while improving the mapping efficiency, has good reconstruction, and realizes effective data management and multi-scale expression of data results.
[0136] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A method for batch production of geochemical thematic maps based on template design, characterized in that: include: Obtain geochemical data of the study area, and determine a data symbolization scheme, a gridding strategy, and a color grading scheme based on the spatial distribution characteristics of the geochemical data; According to the data symbolization scheme, point data maps and point symbol maps are produced in batches; according to the gridding strategy and color grading scheme, geochemical maps and single element anomaly maps are produced in batches; the point data maps, point symbol maps, geochemical maps and single element anomaly maps constitute the result maps; Constructing a design template for a thematic map, wherein the design template includes geographic elements for describing geographic information and auxiliary elements for describing visual parameter information; The design template is applied to the result map, the auxiliary elements and geographical elements in the design template are logically associated, and geochemical thematic maps of the study area are generated in batches.
2. The method for batch production of geochemical thematic maps based on template design according to claim 1 is characterized in that: The data symbolization scheme includes: the type of point symbols and annotation information, the size and position of the drawing configuration, and the size and position of the annotation text determined by the design parameters; Producing a point data map and a point symbol map according to the data symbolization scheme includes: The data points in the study area are batch labeled using unified design parameters to reflect the geochemical characteristics of the data points.
3. The method for batch production of geochemical thematic maps based on template design according to claim 1 is characterized in that: The geochemical map and single element anomaly map are generated according to the gridding strategy and color grading scheme, including: When the geochemical data are survey or detailed survey data, the data are gridded by using the inverse distance weighted method, the kriging interpolation method or the radial basis function interpolation method; when the geochemical data are regional geochemical data, the data are gridded by using the nearest point gridding method; The gridded data are traced by contour lines, the data range is divided into several levels according to the contour lines, the numerical range of each layer is mapped to different color schemes, and geochemical maps and single element anomaly maps are generated.
4. The method for batch production of geochemical thematic maps based on template design according to claim 3 is characterized in that: Generating a geochemical map according to the gridding strategy and color grading scheme also includes: The inner band, middle band and outer band values of the single element anomaly diagram are determined by using the cumulative frequency banding method or according to the preset multiples of the anomaly lower limit value; wherein the method for determining the anomaly lower limit value includes a statistical method, a fractal analysis method and an EDA lower limit analysis method.
5. The method for batch production of geochemical thematic maps based on template design according to claim 1 is characterized in that: The auxiliary elements include basic view elements and custom view elements; the basic view elements are used to display the basic structure and layout of thematic maps, and the custom view elements are used to display the analysis information of the achievement map; The design template for constructing thematic maps includes: Select the type of thematic map to be generated, and select the basic view element according to the type of thematic map to set the map frame; Adding custom visual elements to the set map frame, typesetting and map finishing the map, and storing the positions and symbol parameters of the basic view elements and custom visual elements; Adding geographic information to the map after adding the custom visual elements, and storing the map as a thematic map template; A resource table is created to store the basic visual elements, the custom visual elements and the geographic information in the form of a data dictionary and corresponding keywords, and a resource catalog set is generated according to the resource table.
6. The method for batch production of geochemical thematic maps based on template design according to claim 1 is characterized in that: Applying the design template to the result map, and logically associating the auxiliary elements and geographic elements in the design template, including: Replacing the keywords of the thematic map according to the data content of the result map, so that the keyword values of the data dictionary are correspondingly associated with the result map; When inserting a picture or mxd document, traverse each directory in the resource directory set in turn to find the file name referenced by the picture or mxd document; If the same file name exists, the placeholder in the design template is replaced; if it does not exist, the image or mxd document is removed.
7. The method for batch production of geochemical thematic maps based on template design according to claim 1 is characterized in that: The method further comprises: Select the export element and image resolution of the geochemical map to get a preview image; Adjust the export elements and image resolution according to the effect of the preview image; Export geochemical maps in batches to image or document formats.
8. The method for batch production of geochemical thematic maps based on template design according to claim 1 is characterized in that: The method further comprises: Select multiple geochemical maps to be packaged, and set the package version information and output directory; Based on the packaging version information, the plurality of geochemical maps are packaged into files in mpk format and saved in the output directory.
9. A geochemical thematic map batch production system based on template design, characterized in that: include: A data analysis module is used to obtain geochemical data of the study area and determine a data symbolization scheme, a gridding strategy and a color grading scheme based on the spatial distribution characteristics of the geochemical data; A map making module is used to make a point data map and a point symbol map according to the data symbolization scheme, and to generate a geochemical map and a single element anomaly map according to the gridding strategy and the color grading scheme; the point data map, the point symbol map, the geochemical map and the single element anomaly map constitute the result map; A module construction module is used to construct a design template for a thematic map, wherein the design template includes geographic elements for describing geographic information and auxiliary elements for describing visual parameter information; The map finishing module is used to apply the design template to the result map, logically associate the auxiliary elements and geographical elements in the design template, and batch generate geochemical thematic maps of the study area.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for batch production of geochemical thematic maps based on template design as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Template based one-button type thematic map automatic forming method and system
CN104008162A
Manufacture method and system for thematic maps based on format relevancy model
CN106126696A
System and method for managing subsurface data
US20170060913A1