CN115510173B - DAS-based intelligent thematic map making method, device and product - Google Patents

DAS-based intelligent thematic map making method, device and product Download PDF

Info

Publication number
CN115510173B
CN115510173B CN202211178904.4A CN202211178904A CN115510173B CN 115510173 B CN115510173 B CN 115510173B CN 202211178904 A CN202211178904 A CN 202211178904A CN 115510173 B CN115510173 B CN 115510173B
Authority
CN
China
Prior art keywords
layer
information
identifier
style
list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211178904.4A
Other languages
Chinese (zh)
Other versions
CN115510173A (en
Inventor
周文生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN202211178904.4A priority Critical patent/CN115510173B/en
Publication of CN115510173A publication Critical patent/CN115510173A/en
Application granted granted Critical
Publication of CN115510173B publication Critical patent/CN115510173B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the application relates to the GIS field, and provides an intelligent thematic map making method, device and product based on DAS, which comprises the following steps: reading control expressions belonging to thematic map keywords in the DAS intelligent document; analyzing the control expression to obtain different types of parameter lists, wherein the different types of parameter lists comprise a substitute layer pattern list, a background layer pattern list, an output resolution, an output template, range parameters and expansion coefficients; and executing corresponding processing instructions according to the meanings of the identifiers in the parameter lists of different types to obtain the thematic map. The method and the system can enable a common user without programming foundation to write control parameters of basic information of the thematic map in a conventional text document processing environment based on the thematic map keywords; meanwhile, the method is used as an important component of analysis result expression in a geographic calculation language, and can realize the integrated expression of the geographic analysis process by being matched with other geographic calculation methods.

Description

DAS-based intelligent thematic map making method, device and product
Technical Field
The embodiment of the application relates to the GIS field, in particular to an intelligent thematic map making method, device and product based on DAS.
Background
The document, namely the system (Document As a System, DAS) is a brand new geographic calculation mode, and the technology describes a geographic analysis model by adopting a geographic calculation language (namely G language) under a conventional text document processing environment to generate a DAS intelligent document, and then the DAS intelligent document drives a background GIS system (such as ArcGIS, QGIS and the like) to finish geographic calculation, so that the technical threshold of DIS application is greatly reduced, and the development efficiency of a GIS application system is improved.
The thematic map is one of commonly used achievement expression modes in G language, but the production of the thematic map is complex, and the thematic map relates to complex contents such as selection of a layer style, control of a layer display range, cutting of a layer, display control of a layer legend and the like, however, the traditional manual production method based on GIS software is time-consuming and labor-consuming to complete the work, and detailed information of a drawing process cannot be recorded effectively. Therefore, how to flexibly, conveniently, efficiently and intelligently make thematic maps becomes a current urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides an intelligent thematic map making method, device and product based on DAS, which aim to solve the problem that the thematic map cannot be made flexibly, conveniently, efficiently and intelligently.
An embodiment of the present application provides a method for making an intelligent thematic map based on DAS, which is applied to a DAS system, and includes:
reading control expressions belonging to thematic map keywords in the DAS intelligent document;
analyzing the control expression to obtain different types of parameter lists, wherein the different types of parameter lists comprise a substitute layer pattern list, a background layer pattern list, an output resolution, an output template, range parameters and expansion coefficients;
and executing corresponding processing instructions according to the meanings of the identifiers in the parameter lists of different types to obtain the thematic map.
Optionally, executing corresponding processing instructions according to meanings of identifiers in the parameter lists of different types to obtain a thematic map, including:
determining target drawing template information according to the meaning of the identifier in the output template, and loading a drawing template specified by the target drawing template information, wherein the target drawing template information is a thematic map template or a map template;
Determining target substitute layer style information according to the meaning of the identifier in the substitute layer style list, and executing substitute layer processing instructions corresponding to the target substitute layer style information;
determining target background layer pattern information according to the meaning of the identifier in the background layer pattern list, extracting a background layer pattern name in the target background layer pattern information, searching a layer pattern with the background layer pattern name in the drawing template, and setting the visibility of the layer pattern with the background layer pattern name as visible as the background layer pattern of the thematic map;
and executing corresponding processing instructions according to the range parameters, the expansion coefficients and the output resolution to obtain the thematic map.
Optionally, executing a corresponding processing instruction according to the range parameter, the expansion coefficient and the output resolution to obtain a thematic map, including:
determining target map output range information according to the meaning of the identifier of the range parameter, and executing a range processing instruction corresponding to the target map output range information;
determining target map range expansion information according to the meaning of the identifier of the expansion coefficient, and executing an expansion instruction corresponding to the target map range expansion information;
Reading output information belonging to the thematic map keywords in the DAS intelligent document, and extracting thematic map names and thematic map output formats according to the output information;
adjusting the resolution according to the target resolution information in the output resolution, modifying the name of the output picture into the thematic map name, and converting the format of the output picture into the thematic map output format to obtain the thematic map;
the target map output range information is: the drawing range is not changed; adopting the range of the range layer as a drawing range; adopting the range of the first input layer as a drawing range; taking the element range of the screening field in the target map output range information as a drawing range;
the target map range expansion information is: the drawing range specified by the target map output range information is not changed; and expanding the drawing range according to the target map range expansion information.
Optionally, determining target substitute layer style information according to the meaning of the identifier in the substitute layer style list, and executing a substitute layer processing instruction corresponding to the target substitute layer style information, where the substitute layer processing instruction includes:
Determining target clipping information according to the meaning of a layer clipping identifier in the alternative layer style list, clipping an input layer belonging to the thematic map keyword in the DAS intelligent document according to the target clipping information to obtain a clipping layer, wherein the target clipping information is that the input layer needs clipping processing or the input layer does not need clipping processing;
determining target identification information according to the layer style names and the meaning of the layer identification display control identifiers in the substitute layer style list, and generating layer style identifications according to the target identification information;
when the alternative layer pattern list contains a layer dynamic grading pattern identifier, determining target layer dynamic grading setting information according to the meaning of the layer dynamic grading pattern identifier, and setting a layer pattern according to the target layer dynamic grading setting information; and when the layer dynamic hierarchical style identifier is not contained in the alternative layer style list, determining target fixed style setting information, and setting the layer style according to the target fixed style setting information.
Optionally, determining target identification information according to the layer style name and the meaning of the layer identification display control identifier in the substitute layer style list, and generating the layer style identification according to the target identification information, including:
Searching a layer pattern corresponding to the layer pattern name in the replacing layer pattern list in the drawing template, and setting the visibility of the layer pattern corresponding to the layer pattern name as visible to obtain a layer pattern to be replaced;
replacing the layer data source of the layer pattern to be replaced with the clipping layer to obtain a replaced layer pattern;
determining target identification information according to the meaning of a layer identification display control identifier in the substitute layer pattern list, and generating a layer pattern identification according to the target identification information, wherein the target identification information is as follows: no layer pattern mark; the layer pattern identification adopts target identification information; the layer style identification uses the logical name of the input layer.
Optionally, when the alternative layer style list includes a layer dynamic hierarchical style identifier, determining target layer dynamic hierarchical setting information according to the meaning of the layer dynamic hierarchical style identifier, and setting a layer style according to the target layer dynamic hierarchical setting information, including:
when the target layer dynamic classification setting information is dynamic vector setting information, extracting classification fields, classification threshold list information and legend marking list information in the target layer dynamic classification setting information, and setting the layer style according to the classification fields, the classification threshold list information and the legend marking list information;
When the target layer dynamic grading setting information is dynamic grid setting information, grading threshold value list information and legend marking list information in the target layer dynamic grading setting information are extracted, and the layer style is set according to the grading threshold value list information and the legend marking list information;
wherein, the liquid crystal display device comprises a liquid crystal display device,
the meaning of the grading field is a grading field input value;
the hierarchical threshold list information is: grading by adopting a natural fracture method to form a grading threshold list; grading by adopting an equidistant method to form a grading threshold list; the hierarchical threshold list information is adopted as a hierarchical threshold list;
the legend label list information is: the legend marking list of the layer style is displayed according to the legend marking list information; and constructing a legend marking list of the layer style according to the grading threshold list, wherein the decimal point reserved bit number of the numerical value in the legend marking list is the same as the decimal point number of the first element in the grading threshold list.
A second aspect of the embodiments of the present application provides an intelligent thematic map making apparatus based on DAS, including:
the reading module is used for reading control expressions belonging to thematic map keywords in the DAS intelligent document;
The analysis module is used for analyzing the control expression to obtain different types of parameter lists, wherein the different types of parameter lists comprise a substitute layer pattern list, a background layer pattern list, an output resolution, an output template, range parameters and expansion coefficients;
and the execution module is used for executing corresponding processing instructions according to the meanings of the identifiers in the parameter lists of different types to obtain the thematic map.
Wherein the execution module comprises:
the template submodule is used for determining target drawing template information according to the meaning of the identifier in the output template, loading the drawing template specified by the target drawing template information, wherein the target drawing template information is a thematic map template or a map template;
the substitute layer sub-module is used for determining target substitute layer style information according to the meaning of the identifier in the substitute layer style list and executing substitute layer processing instructions corresponding to the target substitute layer style information;
the background layer sub-module is used for determining target background layer pattern information according to the meaning of the identifier in the background layer pattern list, extracting background layer pattern names in the target background layer pattern information, searching a layer pattern with the background layer pattern names in the drawing template, and setting the visibility of the layer pattern with the background layer pattern names as a visible background layer pattern of the thematic map;
And the generation sub-module is used for executing corresponding processing instructions according to the range parameters, the expansion coefficients and the output resolution to obtain the thematic map.
Wherein the generating sub-module further comprises:
the range submodule is used for determining target map output range information according to the meaning of the identifier of the range parameter and executing a range processing instruction corresponding to the target map output range information;
the expansion submodule is used for determining target map range expansion information according to the meaning of the identifier of the expansion coefficient and executing an expansion instruction corresponding to the target map range expansion information;
the name determining sub-module is used for reading output information belonging to the thematic map keywords in the DAS intelligent document, and extracting thematic map names and thematic map output formats according to the output information;
the thematic map generation sub-module is used for adjusting the resolution according to the target resolution information in the output resolution, modifying the name of the output picture into the thematic map name, and converting the format of the output picture into the thematic map output format to obtain the thematic map;
wherein, the substitute layer submodule further comprises:
The cutting sub-module is used for determining target cutting information according to the meaning of the layer cutting identifier in the alternative layer style list, cutting the input layer belonging to the thematic map keyword in the DAS intelligent document according to the target cutting information to obtain a cutting layer, wherein the target cutting information is that the input layer needs cutting processing or the input layer does not need cutting processing;
the layer identification sub-module is used for determining target identification information according to the layer style names and the meaning of the layer identification display control identifiers in the alternative layer style list and generating layer style identifications according to the target identification information;
the layer dynamic grading sub-module is used for determining target layer dynamic grading setting information according to the meaning of the layer dynamic grading style identifier when the layer dynamic grading style identifier is contained in the alternative layer style list, and setting the layer style according to the target layer dynamic grading setting information; and when the layer dynamic hierarchical style identifier is not contained in the alternative layer style list, determining target fixed style setting information, and setting the layer style according to the target fixed style setting information.
Wherein, the layer identification sub-module further comprises:
the searching subunit is used for searching the layer style corresponding to the layer style name in the replacing layer style list in the drawing template, setting the visibility of the layer style corresponding to the layer style name as visible, and obtaining the layer style to be replaced;
a replacing subunit, configured to replace the layer data source of the layer pattern to be replaced with the clipping layer, so as to obtain a replaced layer pattern;
a layer style identifier generating subunit, configured to determine target identifier information according to a meaning of a layer identifier display control identifier in the substitute layer style list, and generate a layer style identifier according to the target identifier information, where the target identifier information is: no layer pattern mark; the layer pattern identification adopts target identification information; the layer style identification uses the logical name of the input layer.
Wherein, the dynamic hierarchical sub-module of layer still includes:
the vector dynamic subunit is used for extracting the grading field, the grading threshold list information and the legend marking list information in the target layer dynamic grading setting information when the target layer dynamic grading setting information is dynamic vector setting information, and setting the layer style according to the grading field, the grading threshold list information and the legend marking list information;
And the grid dynamic subunit is used for extracting the hierarchical threshold list information and the legend marking list information in the target layer dynamic hierarchical setting information when the target layer dynamic hierarchical setting information is the dynamic grid setting information, and setting the layer style according to the hierarchical threshold list information and the legend marking list information.
A third aspect of the embodiments of the present application provides an electronic device, including a memory, a processor and a computer program stored on the memory, the processor executing the computer program to implement the steps in the DAS-based intelligent thematic map making method of any of the first aspect.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium having stored thereon a computer program/instruction which, when executed by a processor, implements the steps of the DAS-based intelligent thematic map making method of any of the first aspects.
A fifth aspect of the embodiments of the present application provides a computer program product comprising computer programs/instructions which, when executed by a processor, implement the steps in the DAS-based intelligent thematic map making method of any of the first aspect.
The beneficial effects are that:
the application provides an intelligent thematic map making method, device and product based on DAS, which is characterized in that a parameter list and identifiers based on a DAS system are formulated, a control expression consisting of identifiers corresponding to control parameters of a G language input by a user is analyzed by the DAS system, corresponding processing instructions are executed according to preset execution steps, so that the thematic map is generated, and the method has the following advantages:
(1) The method can enable a common user without programming foundation to write control parameters of basic information of the thematic map in a conventional text document processing environment based on the thematic map keywords, and realize flexible, convenient, efficient and intelligent manufacture of the thematic map;
(2) Meanwhile, the meaning of the identifier in the control expression input by the user can effectively record the detailed information of the drawing process, and can provide basis for the subsequent analysis and processing process.
(3) The thematic map making method is used as an important component of analysis result expression in the geographic calculation language, and can realize the integrated expression of the geographic analysis process by matching with other geographic calculation methods.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments of the present application will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a DAS system according to one embodiment of the present application;
FIG. 2 is a flow chart of a DAS-based intelligent thematic map making method according to an embodiment of the application;
FIG. 3 is an exemplary diagram of dynamic hierarchical setting information for a layer according to one embodiment of the present application;
FIG. 4 is a fixed style thematic map output in accordance with an embodiment of the invention;
FIG. 5 is a map of layer style thematic for a motion vector of the second embodiment of the application;
FIG. 6 is a three-output dynamic raster layer style thematic map in accordance with an embodiment of the application;
FIG. 7 is a schematic diagram of an intelligent thematic map making apparatus based on DAS according to an embodiment of the application;
fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
First, a brief description will be made of a DAS system.
The document, namely the system (Document As a System, DAS) is a brand new geographic calculation mode, fig. 1 shows a schematic diagram of a processing flow of the DAS system, and as shown in fig. 1, the core idea of the technology is that under a conventional text document processing environment, service personnel perform standardization description on a geographic analysis model by adopting a geographic calculation language (namely G language) to generate a DAS intelligent document which can be understood by a computer, and then the DAS intelligent document drives a background GIS system (such as arcGIS, QGIS and the like) to complete geographic calculation.
In the new geographic computing mode, geographic computing language (G language) is a core technology, and the G language is an instruction set of geographic computing that is easy to understand and master by a business person, and can be identified and executed by a computer, and is irrelevant to a specific programming language and is also irrelevant to a specific GIS platform. On one hand, the defined G language is a set of programming languages similar to natural language aiming at geographic computing tasks, so that even business personnel without programming capability can master the programming languages without spending much effort; on the other hand, since the geographic calculation keywords defined by the G language are irrelevant to the GIS platform, the business personnel can perform complex geographic calculation by using the G language without grasping the operation of the GIS platform (such as ArcGIS, superMap). Therefore, in the DAS geographic computing mode, the application of the GIS spans the natural language level application from the programming language of the GIS platform.
In the related art, the production of the thematic map is complex, and the complex contents of layer style selection, layer display range control, layer cutting, layer legend display control and the like are related, however, the traditional manual production method based on GIS software is time-consuming and labor-consuming, and the drawing process cannot be effectively recorded.
In view of this, an embodiment of the present application proposes a DAS-based intelligent thematic map making method, which is applied to a DAS system, and uses the DAS system to implement a function of making a thematic map in geographic information processing, fig. 2 shows a flow chart of the DAS-based intelligent thematic map making method, as shown in fig. 2, and includes the following steps:
s101, reading control expressions belonging to thematic map keywords in the DAS intelligent document.
S102, analyzing the control expression to obtain different types of parameter lists.
And analyzing the control expression to obtain different types of parameter lists, wherein the different types of parameter lists comprise a substitute layer pattern list, a background layer pattern list, an output resolution, an output template, range parameters and expansion coefficients.
S103, executing corresponding processing instructions according to the meanings of the identifiers in the parameter lists of different types to obtain the thematic map.
When step S101 is specifically implemented, a DAS intelligent document for generating a thematic map, which is input by a user, is first acquired, where the DAS intelligent document includes an input layer list composed of one or more input layers belonging to a keyword of the thematic map, a control expression corresponding to a control parameter of the DAS system based on a user requirement, and output information corresponding to the input layer, where the output information is used for extracting a name and an output format of the thematic map subsequently. The input layer may be a vector layer or a grid layer, which is not limited in this embodiment of the present application.
Specifically, the control expression belonging to the thematic map keyword in the DAS intelligent document input by the user is the control requirement of the user on G language editing based on the adaptation of the DAS system, is the G language presentation of the user on the input layer requirement, can be directly edited in the conventional text document for the user, reduces the use burden of the user, enables the user without a programming foundation to easily edit, and enables the thematic map to be manufactured through the thematic map keyword. The control expression adopts a G language adaptation DAS system, and when the system reads the control expression, the meaning of the control expression can be obtained for subsequent processing only by analyzing the control expression through a G language interpreter in the DAS system.
When step S102 is specifically executed, a G language interpreter in the DAS system is preset to identify the G language and convert the meaning, and the control expression input by the user is parsed by the difference of the position and the symbol in the control expression, so as to obtain a plurality of types of parameter lists corresponding to different positions or symbols in the control expression.
The parameter list includes a substitute layer style list, a background layer style list, an output resolution, an output template, range parameters, and expansion coefficients. Each type of parameter list corresponds to a series of identifiers, and the parameter lists are arranged according to a preset sequence to form a control expression.
The identifiers in the parameter list are preset symbol identifiers based on G language, a user grasps the selectable symbol identifier type and the corresponding meaning of each control parameter in the DAS system in advance, and inputs the corresponding identifiers into the DAS intelligent document according to the self demand of the output thematic map to form a plurality of parameter lists of different types, and the parameter lists are arranged according to a preset sequence to form a control expression. After the DAS system acquires the control expression, the control expression is decomposed into a plurality of parameter lists according to a G language interpreter in the system, then the meaning of an identifier input by a user in each parameter list is converted into a language executable by the DAS system, and then a processing instruction is executed according to the executable language.
The substitute layer style list comprises the following types of identifiers:
the layer clipping identifier comprises the following meanings corresponding to the selectable symbol identification types: the input layer needs to be cut; the input layer is not clipped. For example, the optional symbol identification type contained in the layer clipping identifier may be set as: when the layer clipping identifier is no "×", the input layer is indicated to need clipping; when the layer clipping identifier is in the presence of the x, the layer does not need clipping. For example, when the layer clipping identifier in the substitute layer style list obtained by parsing the control expression input by the user is "x", it indicates that the subsequent processing procedure of the DAS system does not clip the input layer according to the control of the keyword.
The layer identification displays a control identifier, and the meaning corresponding to the type of the contained selectable symbol identification is as follows: no layer pattern mark; the layer pattern identification adopts target identification information; the layer style identification uses the logical name of the input layer. For example, the selectable symbol identification type contained in the layer identification display control identifier may be set to: the layer identifier display control identifier does not contain an @' identifier, and indicates that no layer pattern identifier exists; the layer identifier display control identifier comprises an @' identifier, and when target identifier information is arranged behind the layer identifier display control identifier, the layer pattern identifier is represented to adopt the target identifier information; the layer identifier display control identifier contains an @' identifier, but when no target identifier information is provided, the layer pattern identifier is indicated to adopt the logic name of the input layer. Illustratively, when the layer identifier in the substitute layer style list obtained by parsing the control expression input by the user displays a control identifier of "@ cell range", it indicates that the layer style identifier is identified by using the cell range.
The layer dynamic hierarchical style identifier comprises a dynamic vector hierarchical identifier and a dynamic grid hierarchical identifier. Illustratively, when the dynamic hierarchical style identifier of the layer contains "#", it indicates that the dynamic hierarchical style is a dynamic hierarchical style, and the dynamic hierarchical setting of the layer is required; when "#" is not included, a fixed style setting is performed (style content of a fixed style is fixed, only style names can be set). When the "#" follow-up information contains a grading field identifier, a grading threshold list identifier and a legend marking list identifier, determining the grading field identifier as a dynamic vector grading identifier; when the "#" follow-up information contains the grading threshold list identifier and the legend label list identifier, the dynamic grid grading identifier is determined.
The hierarchical field identifier means a field for hierarchy, and when the layer dynamic hierarchical style identifier is a dynamic vector hierarchical identifier, there is a hierarchical field identifier input by a user, and specifically includes a hierarchical field input Value in which the hierarchical field is input by the user (when the layer dynamic hierarchical style identifier is a dynamic grid hierarchical identifier, the hierarchical field is fixed to Value).
The meaning corresponding to the selectable symbol identification type contained in the hierarchical threshold list identifier may be: grading by adopting a natural fracture method to form a grading threshold list; grading by adopting an equidistant method to form a grading threshold list; and adopting the dynamic grading information as a grading threshold list. For example, when the hierarchical threshold list identifier contains a plurality of elements, the hierarchical threshold list identifier represents a hierarchical threshold list of hierarchical fields, such as 0;20, a step of; 30, the hierarchical threshold list identifier represents a hierarchical threshold list; if the grading threshold list identifier has Z, the grading is performed by adopting a natural fracture method, such as Z4.0, the data corresponding to the grading field is required to be subjected to natural interval division, a grading threshold list is formed, and the decimal point retention digit of the numerical value is consistent with the decimal point digit of the natural fracture grading number; if the Z is not marked, grading is performed by an equal interval method, for example, 4.0, the data corresponding to the grading field is counted, the maximum value and the minimum value are calculated, a grading threshold list is calculated according to the equal interval number, and the decimal point retention digit of the numerical value is consistent with the decimal point digit of the natural fracture grading number.
The meaning corresponding to the selectable symbol identification type contained in the legend label list identifier is as follows: the legend marking list of the layer style is displayed according to the meaning of the legend marking list identifier; the legend marking list of the layer style is constructed according to the grading threshold list, and the decimal point retention digit of the numerical value in the legend marking list is the same as the decimal point digit of the first element in the grading threshold list. For example, when a legend tab list identifier is present, the legend is indicated as being displayed in the meaning of the legend tab list identifier; when not present, the legend label list identifier is constructed according to a hierarchical threshold list, and the decimal point retention number of the value in the legend label list is the same as the decimal point number of the first element in the hierarchical threshold list.
In addition, the dynamic vector hierarchical identifier and the target layer dynamic hierarchical setting information corresponding to the dynamic grid hierarchical identifier also respectively correspond to the dynamic patterns in the thematic map template, wherein the dynamic vector hierarchical identifier corresponds to the dynamic vector layer patterns and is set to be in a reduced Colors mode; the dynamic raster layer pattern corresponding to the dynamic raster hierarchical identifier is set to a Classified mode. The reduced Colors mode and the Classified mode are existing modes in a topic map template in the DAS system. In the reduced Colors mode and the Classified mode, specific identifiers are used to represent different types of dynamic styles. For example, in the "VNR" style flag, "V" represents a Vector style (Vector), "N" represents dynamics (the number of categories is settable), and "R" represents Red (Red); fig. 3 shows an exemplary diagram of layer dynamic hierarchical setting information, as shown in fig. 3, in the "RNGR" style identification, "R" represents a grid style (master), "N" represents dynamics, "GR" represents a gradation of color from Green to Red (Green Red).
The hierarchical field identifiers, the hierarchical threshold list identifiers, and the legend label list identifiers described above constitute layer dynamic hierarchical style identifiers in the substitute layer style list. The layer clipping identifier, the layer dynamic hierarchical style identifier, and the layer identification display control identifier constitute all identifiers in the alternate layer style list.
The parameter list further includes a background layer style list in which the meaning of the identifier is a background layer style name. Unlike the substitute layer style list, the background layer style to which the meaning of the identifier in the background layer style list points does not require substitution and clipping processing.
The parameter list also comprises output resolution, output templates, range parameters and expansion coefficients, and the method is specifically as follows:
the meaning corresponding to the selectable symbol identification type contained in the identifier contained in the output resolution is the output resolution input value input by the user.
The meaning corresponding to the selectable symbol identification type contained in the identifier contained in the output template is as follows: a thematic map template; and (5) an atlas template. For example, "1" represents a thematic map template and "2" represents an atlas template.
The meaning corresponding to the optional symbol identification type contained in the identifier contained in the range parameter is as follows: the drawing range is not changed; adopting a range in a range layer as a drawing range; adopting the range of the first layer as a drawing range; and taking the element range of the screening field in the target map output range information as a drawing range. For example, the range parameter may contain an identifier of: no information, indicating that the display range is not changed; "A" means that the range in the range layer information is adopted as the drawing range; "x" means that the range of the first layer is taken as the mapping range; name| indicates the element range of the filter field in the target map output range information as a drawing range, for example, name|lake region, and indicates the element of the filter field name=lake region.
The expansion coefficient is used for expanding the drawing range specified by the range parameter, improving the drawing effect, and the meaning of the identifier is as follows: the drawing range specified by the target map output range information is not changed; and expanding the drawing range according to the target map range expansion information. For example, "1" or omission means no change (1-fold enlargement); "2" means 2-fold enlargement.
Wherein, the thematic map template, the map template and the range layer are specified by a basic parameter table in the DAS system, table 1 shows an example of the basic parameter table in the DAS system, and the basic parameter table is used for application of various functions in the DAS system as shown in table 1.
Table 1 basic parameter table examples in DAS systems
Figure BDA0003865751460000131
Figure BDA0003865751460000141
After the DAS system analyzes the control expression input by the user based on the symbol identifiers of the multiple types of identifiers in the parameter list preset by the G language, a corresponding parameter list and the identifiers in each parameter list are obtained, and then step S103 is required to be executed, and corresponding processing instructions are executed according to the meanings of the identifiers in the parameter lists of different types according to the following order, so as to obtain the thematic map.
When step S103 is specifically implemented, first, the target drawing template information is determined according to the meaning of the identifier in the output template in the parameter list, and the drawing template specified by the target drawing template information is loaded.
And then determining target substitute layer style information according to the meaning of the identifier in the substitute layer style list, and executing substitute layer processing instructions corresponding to the target substitute layer style information. Specifically, according to the meaning of the layer clipping identifier in the alternative layer style list, determining target clipping information, and clipping the input layer belonging to the thematic map keyword in the DAS intelligent document according to the target clipping information to obtain a clipping layer.
Searching a layer pattern corresponding to the layer pattern name in the substitute layer pattern list in the drawing template, and setting the visibility of the layer pattern corresponding to the layer pattern name as visible to obtain a layer pattern to be substituted; replacing the layer data source of the layer pattern to be replaced with the cutting layer to obtain a replaced layer pattern; and determining target identification information according to the meaning of the layer identification display control identifier in the substitute layer style list, and generating layer style identification according to the target identification information.
When the alternative layer style list contains the layer dynamic grading style identifier, determining target layer dynamic grading setting information according to the meaning of the layer dynamic grading style identifier, and setting the layer style according to the target layer dynamic grading setting information.
Specifically, when the target layer dynamic classification setting information is dynamic vector setting information, extracting classification fields, classification threshold list information and legend marking list information in the target layer dynamic classification setting information, and setting layer patterns according to the classification fields, the classification threshold list information and the legend marking list information; and when the target layer dynamic grading setting information is dynamic grid setting information, extracting grading threshold list information and legend marking list information in the target layer dynamic grading setting information, and setting the layer style according to the grading threshold list information and the legend marking list information. The DAS system completes the meaning of the identifier based on the substitute layer pattern list, determines target substitute layer pattern information and executes substitute layer processing instructions corresponding to the target substitute layer pattern information.
When the layer dynamic hierarchical style identifier is not contained in the substitute layer style list, the target fixed style setting information is determined, and the layer style is set according to the target fixed style setting information.
Then, according to the meaning of the identifier in the background layer pattern list, determining the target background layer pattern information, extracting the background layer pattern name in the target background layer pattern information, searching the layer pattern with the background layer pattern name in the mapping template, and setting the visibility of the layer pattern with the background layer pattern name as visible as the background layer pattern of the thematic map.
And finally, executing corresponding processing instructions according to the range parameters, the expansion coefficients and the output resolution to obtain the thematic map. Specifically, according to the meaning of the identifier of the range parameter, determining target map output range information, and executing a range processing instruction corresponding to the target map output range information; determining target map range expansion information according to the meaning of the identifier of the expansion coefficient, and executing an expansion instruction corresponding to the target map range expansion information; reading output information belonging to thematic map keywords in the DAS intelligent document, and extracting thematic map names and thematic map output formats according to the output information; and adjusting the resolution according to the target resolution information in the output resolution, modifying the name of the output picture into the thematic map name, and converting the format of the output picture into the thematic map output format to obtain the thematic map.
It should be noted that, when the step S103 is specifically implemented, the DAS system determines the target information for determining the meaning of the identifier in each type of parameter list, see the meaning of each type of identifier in each parameter list in step S102, and the description will not be repeated here.
In order to make the present application more clearly understood to those skilled in the art, the DAS-based intelligent thematic map making method described in the present application will now be described in detail by the following examples.
Example 1
Table 2 shows a control example table for making a fixed-style thematic map, as shown in table 2, the process 1 is used for preparing a fixed-style thematic map that does not need to be cut, two input layers (a study area and a tile map) exist in the input layer list, and the control parameters input by the user and the corresponding control expressions are as follows:
cjfw@study range, map|zone boundary|200|1|1.05
The DAS system parses the control expression to determine a list of parameters of different types. The Map is a substitute layer list, identifiers of different input layers are separated by the Map, identifiers in the substitute layer list corresponding to a first input layer (research area) are not required to be cut, the Map is a pattern layer identifier, the Map is marked by the research range, and the CJFW is a fixed pattern; the "identifier in the substitute layer list corresponding to the second input layer (tile Map)" is "x" indicating that the layer does not need clipping processing, and no "@" indicates no layer pattern identifier, and "Map" is a fixed pattern. The background layer list is "zone boundary". The output resolution is 200. Output template selection 1 (thematic map template). The range parameter is "×" indicating that the range of the first layer is adopted as the drawing range, and the expansion coefficient is 1.05, which indicates that the drawing range is expanded by 1.05 times.
The DAS system executes corresponding processing instructions according to the meaning of each identifier, specifically: loading a thematic map template; cutting a first input layer (research area), searching a layer pattern corresponding to the layer pattern name in a thematic map template, setting the layer pattern as visible, then replacing a data source of the layer pattern corresponding to the layer pattern name searched in the thematic map template with the cut first input layer to obtain a replaced layer pattern, and adopting a research range as a layer pattern identifier; setting a layer style using a fixed style (named CJFW); the second input layer (tile Map) is not cut, a layer pattern corresponding to the layer pattern name is searched in the thematic Map template and is set to be visible, then a data source of the layer pattern corresponding to the layer pattern name searched in the thematic Map template is replaced by the second input layer, a replaced layer pattern is obtained, no layer pattern mark exists, and the layer pattern is set by using a fixed pattern (the name is Map); searching a zone boundary layer style in a thematic map template, and setting the zone boundary layer style to be visible; and adopting the range of the first input layer as a drawing range, and expanding the map range by 1.05 times to obtain a thematic map (background thematic map A) MapBJZTA. Jpg.
As shown in table 2, the flow 2 is used for preparing a fixed style thematic map to be cut, two input layers (a study area and a tile map) exist in an input layer list, and a control expression input by a user is as follows:
cjfw@study area, map|zone boundary|200|1|1.05 |1.05
The method comprises the steps of selecting a first input layer from a list of layers, wherein the list of the alternative layers is partially used for setting keyword parameter values of the different input layers, the identifier in the list of the alternative layers corresponding to a first input layer (research area) is not needed, "@" indicates that the layers need to be cut, a @ research range "indicates that pattern layer identifiers are marked by adopting a research range, and a" CJFW "is a fixed pattern; the identifier in the substitute layer list corresponding to the second input layer (tile Map) is no "@" which indicates that the layer needs to be cut, no "@" which indicates that the pattern layer identifier is unchanged and "Map" is a fixed pattern. The background layer list is "zone boundary", the output resolution is 200, the output template is 1 (thematic map template), the range parameter is "x" which indicates the range of the first layer, the expansion coefficient is 1.05, and the drawing range is expanded by 1.05 times.
The DAS system executes corresponding processing instructions according to the meaning of each identifier, specifically: loading a thematic map template; cutting a first input layer (research area), searching a layer pattern corresponding to the layer pattern name in a thematic map template, setting the layer pattern as visible, then replacing a data source of the layer pattern corresponding to the layer pattern name searched in the thematic map template with the cut first input layer to obtain a replaced layer pattern, and adopting a research range as a layer pattern identifier; setting a layer style using a fixed style (named CJFW); cutting a second input layer (tile Map), searching a layer pattern corresponding to the layer pattern name in the thematic Map template, setting the layer pattern as visible, then replacing a data source of the layer pattern corresponding to the layer pattern name searched in the thematic Map template with the cut second input layer to obtain a replaced layer pattern, and setting the layer pattern (named Map) by using a fixed pattern without layer pattern identification; searching a zone boundary layer style in a thematic map template, and setting the zone boundary layer style to be visible; and adopting the range of the first input layer as a drawing range, and expanding the map range by 1.05 times to obtain a thematic map (the background thematic map B) MapBJZTB.jpg.
Fig. 4 shows a fixed pattern thematic map output in the first embodiment, as shown in fig. 4, the left side is a thematic map output in the process 1 (the "background thematic map a") and the right side is a thematic map output in the process 2 (the "background thematic map B") mapbjzta.
For example, in the process 1, the target clipping information corresponding to the clipping identifier of the layer is the second input layer (tile map) without clipping, in the process 2, the target clipping information corresponding to the clipping identifier of the layer is the second input layer (tile map) with clipping, and the DAS system processes the layer according to the target information corresponding to the resolved identifier, and generates the corresponding thematic map based on the information in the input layer.
Table 2 fixed style thematic map making control example table
Figure BDA0003865751460000181
Example two
Table 3 shows an example table of control of the dynamic vector layer style thematic map, as shown in table 3, there is one input layer (urban economy) in the input layer list, and the control parameters input by the user and the corresponding control expressions are:
* Vngr#value2;4.00# low; lower; in (a) and (b); higher zone bound 200|1|
The DAS system parses the control expression to determine a list of parameters of different types. Wherein, ". Vngr#value2;4.00# low; lower; in (a) and (b); the higher is a substitute layer list, "@" indicates that the input layer does not need to be cut, no "@" indicates layer pattern identification, "VNGR" indicates that the dynamic pattern is graded as vector pattern-dynamic-green to red gradual change, the grading field is Value2, the grading threshold list is 4 grades, and the legend label list is "low"; lower; in (a) and (b); higher. The dynamic vector thematic map is set to be equally divided into 4 levels (green to red 4 levels gradually change), and a legend corresponding to the 4 levels is marked as low; lower; in (a) and (b); higher.
The background layer list is "zone boundary", the output resolution is 200, the output template is 1 (thematic map template), the range parameter is "x" which indicates the range of the first layer, the expansion coefficient is omitted, and the drawing range is unchanged.
The DAS system executes corresponding processing instructions according to the meaning of each identifier to generate a corresponding thematic map ([ vector thematic map+equal interval grading+range labeling 2 ] slztt3. Jpg), fig. 5 shows a dynamic vector layer style thematic map output by the second embodiment, as shown in fig. 5, according to the foregoing, an input layer in the input layer list is taken as a processing basis to provide necessary information of the generated thematic map, the DAS system processes the layers according to the target information corresponding to the parsed identifiers, and generates the corresponding thematic map based on the information in the input layer.
For example, the information corresponding to the dynamic style grading identifier in the alternative layer style list in the flow is a dynamic vector map with the grade 4 gradual change from green to red, and the legend is marked as low; lower; in (a) and (b); higher ", the input layer does not need to be cropped. Based on the information corresponding to the identifier analyzed by the DAS system, a corresponding thematic map is generated as shown in fig. 5 (in fig. 5, gradation is represented by different shades of gray, gradation is represented by gradation from dark gray to light gray, gradation from green to red), the DAS system processes the map layer according to the target information corresponding to the analyzed identifier, and based on the information input into the map layer, a corresponding thematic map is generated.
Table 3 dynamic vector layer style thematic map making control example table
Figure BDA0003865751460000191
Example III
Table 4 shows an example table for dynamic grid layer style thematic map production control, as shown in table 4, in which two input layers (study area, surface temperature classification) exist in the input layer list, and the control parameters input by the user and the corresponding control expressions are:
CJFW@RNGR# strong green island region; green island region; a normal zone; a heat island region; strong heat island zone I zone boundary
|200|1|*#1.05
Wherein, CJFW@RNGR# strong green island region; green island region; a normal zone; a heat island region; the strong heat island area is a substitute layer list, identifiers for separating different input layers are used, identifiers in the substitute layer list corresponding to a first input layer (research area) are used before the strong heat island area, CJFW is a fixed style name, no "x" indicates that the input layers need to be cut, and "@" indicates that the style layer identifier adopts the logic name of the input layer; the identifier in the substitute layer list corresponding to the second input layer [ surface temperature grading ], RNGR represents that the dynamic pattern is graded into grid pattern-dynamic-green to red gradual change, the grading threshold list is omitted, and the legend label list is a strong green island region; green island region; a normal zone; a heat island region; strong heat island ", which means that the number of hierarchical levels (5 levels) is determined according to the number of legend mark lists, and hierarchical processing is performed according to an equal interval hierarchical method. The dynamic grid thematic map is set to be equally divided into 5 levels (green to red 5 levels gradually change), and a legend corresponding to the 5 levels is marked as a 'strong green island region'; green island region; a normal zone; a heat island region; strong heat island region.
The background layer list is "zone boundary", the output resolution is 200, the output template is 1 (thematic map template), the range parameter is "x" which indicates the range of the first layer, the expansion coefficient is 1.05, and the drawing range is expanded by 1.05 times.
The DAS system executes corresponding processing instructions according to the meaning of each identifier to generate a corresponding thematic map (mapdbdfj. Jpg), fig. 6 shows a dynamic grid layer style thematic map output by the third embodiment, as shown in fig. 6, according to the foregoing, the input layer in the input layer list is taken as a processing basis to provide necessary information of the generated thematic map, the DAS system processes the layers according to the target information corresponding to the analyzed identifier, and generates the corresponding thematic map based on the information in the input layer.
For example, the information corresponding to the dynamic style grading identifier in the alternative layer style list in the flow is a dynamic grid map with 5-level gradual change from green to red, and the legend is marked as a 'strong green island region'; green island region; a normal zone; a heat island region; strong heat island ", the input layer needs to be cut. Based on the information corresponding to the identifier analyzed by the DAS system, a corresponding thematic map is generated, as shown in fig. 6 (in fig. 6, gradation of red and green is represented by different shades of gray, gradation of green to red is represented by gradation of dark gray to light gray), and the corresponding thematic map is generated according to the corresponding map keyword.
Table 4 dynamic raster layer style thematic map production control example table
Figure BDA0003865751460000211
The embodiment of the application provides an intelligent thematic map making method based on DAS, which is characterized in that a parameter list and identifiers based on a DAS system are formulated, a control expression consisting of identifiers corresponding to control parameters of a G language input by a user is used, the DAS system analyzes the control expression and executes corresponding processing instructions, so that the thematic map is generated, and the method has the following advantages:
(1) The method can enable a common user without programming foundation to write control parameters of basic information of the thematic map in a conventional text document processing environment based on the thematic map keywords, and realize flexible, convenient, efficient and intelligent manufacture of the thematic map;
(2) Meanwhile, the meaning of the identifier in the control expression input by the user can effectively record the drawing process and can provide basis for the subsequent analysis and processing process.
(3) The thematic map making method is used as an important component of analysis result expression in the geographic calculation language, and can realize the integrated expression of the geographic analysis process by matching with other geographic calculation methods.
Based on the same inventive concept, the present application further provides an intelligent thematic map making device based on DAS, fig. 7 shows a schematic diagram of the intelligent thematic map making device based on DAS, as shown in fig. 7, and the device includes:
The reading module is used for reading control expressions belonging to thematic map keywords in the DAS intelligent document;
the analysis module is used for analyzing the control expression to obtain different types of parameter lists, wherein the different types of parameter lists comprise a substitute layer pattern list, a background layer pattern list, an output resolution, an output template, range parameters and expansion coefficients;
and the execution module is used for executing corresponding processing instructions according to the meanings of the identifiers in the parameter lists of different types to obtain the thematic map.
Wherein the execution module comprises:
the template submodule is used for determining target drawing template information according to the meaning of the identifier in the output template, loading the drawing template specified by the target drawing template information, wherein the target drawing template information is a thematic map template or a map template;
the substitute layer sub-module is used for determining target substitute layer style information according to the meaning of the identifier in the substitute layer style list and executing substitute layer processing instructions corresponding to the target substitute layer style information;
the background layer sub-module is used for determining target background layer pattern information according to the meaning of the identifier in the background layer pattern list, extracting background layer pattern names in the target background layer pattern information, searching a layer pattern with the background layer pattern names in the drawing template, and setting the visibility of the layer pattern with the background layer pattern names as a visible background layer pattern of the thematic map;
And the generation sub-module is used for executing corresponding processing instructions according to the range parameters, the expansion coefficients and the output resolution to obtain the thematic map.
Wherein the generating sub-module further comprises:
the range submodule is used for determining target map output range information according to the meaning of the identifier of the range parameter and executing a range processing instruction corresponding to the target map output range information;
the expansion submodule is used for determining target map range expansion information according to the meaning of the identifier of the expansion coefficient and executing an expansion instruction corresponding to the target map range expansion information;
the name determining sub-module is used for reading output information belonging to the thematic map keywords in the DAS intelligent document, and extracting thematic map names and thematic map output formats according to the output information;
the thematic map generation sub-module is used for adjusting the resolution according to the target resolution information in the output resolution, modifying the name of the output picture into the thematic map name, and converting the format of the output picture into the thematic map output format to obtain the thematic map;
wherein, the substitute layer submodule further comprises:
The cutting sub-module is used for determining target cutting information according to the meaning of the layer cutting identifier in the alternative layer style list, cutting the input layer belonging to the thematic map keyword in the DAS intelligent document according to the target cutting information to obtain a cutting layer, wherein the target cutting information is that the input layer needs cutting processing or the input layer does not need cutting processing;
the layer identification sub-module is used for determining target identification information according to the layer style names and the meaning of the layer identification display control identifiers in the alternative layer style list and generating layer style identifications according to the target identification information;
the layer dynamic grading sub-module is used for determining target layer dynamic grading setting information according to the meaning of the layer dynamic grading style identifier when the layer dynamic grading style identifier is contained in the alternative layer style list, and setting the layer style according to the target layer dynamic grading setting information; and when the layer dynamic hierarchical style identifier is not contained in the alternative layer style list, determining target fixed style setting information, and setting the layer style according to the target fixed style setting information.
Wherein, the layer identification sub-module further comprises:
the searching subunit is used for searching the layer style corresponding to the layer style name in the replacing layer style list in the drawing template, setting the visibility of the layer style corresponding to the layer style name as visible, and obtaining the layer style to be replaced;
a replacing subunit, configured to replace the layer data source of the layer pattern to be replaced with the clipping layer, so as to obtain a replaced layer pattern;
a layer style identifier generating subunit, configured to determine target identifier information according to a meaning of a layer identifier display control identifier in the substitute layer style list, and generate a layer style identifier according to the target identifier information, where the target identifier information is: no layer pattern mark; the layer pattern identification adopts target identification information; the layer style identification uses the logical name of the input layer.
Wherein, the dynamic hierarchical sub-module of layer still includes:
the vector dynamic subunit is used for extracting the grading field, the grading threshold list information and the legend marking list information in the target layer dynamic grading setting information when the target layer dynamic grading setting information is dynamic vector setting information, and setting the layer style according to the grading field, the grading threshold list information and the legend marking list information;
And the grid dynamic subunit is used for extracting the hierarchical threshold list information and the legend marking list information in the target layer dynamic hierarchical setting information when the target layer dynamic hierarchical setting information is the dynamic grid setting information, and setting the layer style according to the hierarchical threshold list information and the legend marking list information.
Based on the same inventive concept, the present application further provides an electronic device, fig. 8 shows a schematic diagram of the electronic device according to the embodiment of the present application, as shown in fig. 8, where the electronic device 100 includes: the intelligent thematic map making system comprises a memory 110 and a processor 120, wherein the memory 110 is in communication connection with the processor 120 through a bus, and a computer program is stored in the memory 110 and can run on the processor 120 to realize the steps in the intelligent thematic map making method based on the DAS disclosed by the embodiment of the application.
Based on the same inventive concept, the present application also provides a computer readable storage medium having stored thereon a computer program/instruction which, when executed by a processor, implements the steps in the DAS-based intelligent thematic map making method disclosed in the embodiments of the present application.
Based on the same inventive concept, the present application also provides a computer program product, including a computer program/instruction, which when executed by a processor, implements the steps in the DAS-based intelligent thematic map making method disclosed in the embodiments of the present application.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, electronic devices, and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The method, the device and the product for manufacturing the intelligent thematic map based on the DAS provided by the invention are described in detail, and specific examples are applied to the description of the principle and the implementation mode of the invention, and the description of the examples is only used for helping to understand the method and the core idea of the invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (9)

1. An intelligent thematic map making method based on DAS, which is applied to a DAS system, is characterized by comprising the following steps:
reading control expressions belonging to thematic map keywords in the DAS intelligent document;
analyzing the control expression to obtain different types of parameter lists, wherein the different types of parameter lists comprise a substitute layer pattern list, a background layer pattern list, an output resolution, an output template, range parameters and expansion coefficients;
executing corresponding processing instructions according to the meanings of the identifiers in the parameter lists of different types to obtain a thematic map;
the meaning of the identifier in the background layer style list is as follows: background layer style name;
the meaning corresponding to the selectable symbol identification type contained in the identifier contained in the output resolution is as follows: an output resolution input value input by a user;
the meaning corresponding to the selectable symbol identification type contained in the identifier contained in the output template is as follows: a thematic map template; a map template;
the meaning corresponding to the selectable symbol identification type contained in the identifier contained in the range parameter is as follows: the drawing range is not changed; adopting a range in a range layer as a drawing range; adopting the range of the first layer as a drawing range; taking the element range of the screening field in the target map output range information as a drawing range;
The expansion coefficient contains identifiers with the following meanings: the drawing range designated by the target map output range information is not changed; expanding the drawing range according to the target map range expansion information;
the substitute layer style list contains identifiers of the following types:
layer clipping identifiers; the meaning corresponding to the selectable symbol identification type contained in the layer clipping identifier is as follows: the input layer needs to be cut; the input layer is not cut;
the layer identification displays a control identifier; the meaning corresponding to the selectable symbol identification type contained in the layer identification display control identifier is as follows: no layer pattern mark; the layer pattern identification adopts target identification information; the layer pattern identification adopts the logic name of the input layer;
a layer dynamic hierarchical style identifier; the layer dynamic hierarchical style identifier comprises a dynamic vector hierarchical identifier and a dynamic grid hierarchical identifier.
2. The DAS-based intelligent thematic map production method of claim 1, wherein executing corresponding processing instructions to obtain a thematic map according to meanings of identifiers in the different types of parameter lists, comprises:
Determining target drawing template information according to the meaning of the identifier in the output template, and loading a drawing template specified by the target drawing template information, wherein the target drawing template information is a thematic map template or a map template;
determining target substitute layer style information according to the meaning of the identifier in the substitute layer style list, and executing substitute layer processing instructions corresponding to the target substitute layer style information;
determining target background layer pattern information according to the meaning of the identifier in the background layer pattern list, extracting a background layer pattern name in the target background layer pattern information, searching a layer pattern with the background layer pattern name in the drawing template, and setting the visibility of the layer pattern with the background layer pattern name as visible as the background layer pattern of the thematic map;
and executing corresponding processing instructions according to the range parameters, the expansion coefficients and the output resolution to obtain the thematic map.
3. The DAS-based intelligent thematic map production method of claim 2, wherein executing corresponding processing instructions to obtain a thematic map according to the range parameter, the expansion coefficient, and the output resolution includes:
Determining target map output range information according to the meaning of the identifier of the range parameter, and executing a range processing instruction corresponding to the target map output range information;
determining target map range expansion information according to the meaning of the identifier of the expansion coefficient, and executing an expansion instruction corresponding to the target map range expansion information;
reading output information belonging to the thematic map keywords in the DAS intelligent document, and extracting thematic map names and thematic map output formats according to the output information;
adjusting the resolution according to the target resolution information in the output resolution, modifying the name of the output picture into the thematic map name, and converting the format of the output picture into the thematic map output format to obtain the thematic map;
the target map output range information is: the drawing range is not changed; adopting the range of the range layer as a drawing range; adopting the range of the first input layer as a drawing range; taking the element range of the screening field in the target map output range information as a drawing range;
the target map range expansion information is: the drawing range specified by the target map output range information is not changed; and expanding the drawing range according to the target map range expansion information.
4. The DAS-based intelligent thematic map production method of claim 2, wherein determining target substitute layer style information according to the meaning of the identifier in the substitute layer style list, executing substitute layer processing instructions corresponding to the target substitute layer style information, includes:
determining target clipping information according to the meaning of a layer clipping identifier in the alternative layer style list, clipping an input layer belonging to the thematic map keyword in the DAS intelligent document according to the target clipping information to obtain a clipping layer, wherein the target clipping information is that the input layer needs clipping processing or the input layer does not need clipping processing;
determining target identification information according to the layer style names and the meaning of the layer identification display control identifiers in the substitute layer style list, and generating layer style identifications according to the target identification information;
when the alternative layer pattern list contains a layer dynamic grading pattern identifier, determining target layer dynamic grading setting information according to the meaning of the layer dynamic grading pattern identifier, and setting a layer pattern according to the target layer dynamic grading setting information; and when the layer dynamic hierarchical style identifier is not contained in the alternative layer style list, determining target fixed style setting information, and setting the layer style according to the target fixed style setting information.
5. The DAS-based intelligent thematic map production method of claim 4, wherein determining target identification information according to a layer style name in the substitute layer style list and a meaning of a layer identification display control identifier, and generating a layer style identification according to the target identification information, comprises:
searching a layer pattern corresponding to the layer pattern name in the replacing layer pattern list in the drawing template, and setting the visibility of the layer pattern corresponding to the layer pattern name as visible to obtain a layer pattern to be replaced;
replacing the layer data source of the layer pattern to be replaced with the clipping layer to obtain a replaced layer pattern;
determining target identification information according to the meaning of a layer identification display control identifier in the substitute layer pattern list, and generating a layer pattern identification according to the target identification information, wherein the target identification information is as follows: no layer pattern mark; the layer pattern identification adopts target identification information; the layer style identification uses the logical name of the input layer.
6. The DAS-based intelligent thematic map production method of claim 4, wherein when the substitute layer style list contains a layer dynamic hierarchical style identifier, determining target layer dynamic hierarchical setting information according to a meaning of the layer dynamic hierarchical style identifier, and setting a layer style according to the target layer dynamic hierarchical setting information, comprising:
When the target layer dynamic classification setting information is dynamic vector setting information, extracting classification fields, classification threshold list information and legend marking list information in the target layer dynamic classification setting information, and setting the layer style according to the classification fields, the classification threshold list information and the legend marking list information;
when the target layer dynamic grading setting information is dynamic grid setting information, grading threshold value list information and legend marking list information in the target layer dynamic grading setting information are extracted, and the layer style is set according to the grading threshold value list information and the legend marking list information;
wherein, the liquid crystal display device comprises a liquid crystal display device,
the meaning of the grading field is a grading field input value;
the hierarchical threshold list information is: grading by adopting a natural fracture method to form a grading threshold list; grading by adopting an equidistant method to form a grading threshold list; the hierarchical threshold list information is adopted as a hierarchical threshold list;
the legend label list information is: the legend marking list of the layer style is displayed according to the legend marking list information; and constructing a legend marking list of the layer style according to the grading threshold list, wherein the decimal point reserved bit number of the numerical value in the legend marking list is the same as the decimal point number of the first element in the grading threshold list.
7. An intelligent thematic map making device based on DAS is applied to DAS system, characterized by comprising:
the reading module is used for reading control expressions belonging to thematic map keywords in the DAS intelligent document;
the analysis module is used for analyzing the control expression to obtain different types of parameter lists, wherein the different types of parameter lists comprise a substitute layer pattern list, a background layer pattern list, an output resolution, an output template, range parameters and expansion coefficients;
the execution module is used for executing corresponding processing instructions according to the meanings of the identifiers in the parameter lists of different types to obtain a thematic map;
the meaning of the identifier in the background layer style list is as follows: background layer style name;
the meaning corresponding to the selectable symbol identification type contained in the identifier contained in the output resolution is as follows: an output resolution input value input by a user;
the meaning corresponding to the selectable symbol identification type contained in the identifier contained in the output template is as follows: a thematic map template; a map template;
the meaning corresponding to the selectable symbol identification type contained in the identifier contained in the range parameter is as follows: the drawing range is not changed; adopting a range in a range layer as a drawing range; adopting the range of the first layer as a drawing range; taking the element range of the screening field in the target map output range information as a drawing range;
The expansion coefficient contains identifiers with the following meanings: the drawing range designated by the target map output range information is not changed; expanding the drawing range according to the target map range expansion information;
the substitute layer style list contains identifiers of the following types:
layer clipping identifiers; the meaning corresponding to the selectable symbol identification type contained in the layer clipping identifier is as follows: the input layer needs to be cut; the input layer is not cut;
the layer identification displays a control identifier; the meaning corresponding to the selectable symbol identification type contained in the layer identification display control identifier is as follows: no layer pattern mark; the layer pattern identification adopts target identification information; the layer pattern identification adopts the logic name of the input layer;
a layer dynamic hierarchical style identifier; the layer dynamic hierarchical style identifier comprises a dynamic vector hierarchical identifier and a dynamic grid hierarchical identifier.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory, the processor executing the computer program to perform the steps of the DAS-based intelligent thematic map production method of any of claims 1-6.
9. A computer readable storage medium having stored thereon a computer program/instructions, which when executed by a processor, performs the steps of the DAS-based intelligent thematic map making method of any of claims 1-6.
CN202211178904.4A 2022-09-27 2022-09-27 DAS-based intelligent thematic map making method, device and product Active CN115510173B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211178904.4A CN115510173B (en) 2022-09-27 2022-09-27 DAS-based intelligent thematic map making method, device and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211178904.4A CN115510173B (en) 2022-09-27 2022-09-27 DAS-based intelligent thematic map making method, device and product

Publications (2)

Publication Number Publication Date
CN115510173A CN115510173A (en) 2022-12-23
CN115510173B true CN115510173B (en) 2023-06-06

Family

ID=84506903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211178904.4A Active CN115510173B (en) 2022-09-27 2022-09-27 DAS-based intelligent thematic map making method, device and product

Country Status (1)

Country Link
CN (1) CN115510173B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101063618A (en) * 2006-04-25 2007-10-31 阿尔派株式会社 Map-data-generation device and map-generation method used therefor, and navigation device and route-search method used therefor
CN113093727A (en) * 2021-03-08 2021-07-09 哈尔滨工业大学(深圳) Robot map-free navigation method based on deep security reinforcement learning
CN113656515A (en) * 2021-08-18 2021-11-16 中国农业大学 Method and system for visualizing cultivated land breakage degree, electronic device and medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110334169B (en) * 2019-07-01 2022-02-18 清华大学 Novel geographical calculation device
CN112464111A (en) * 2019-09-09 2021-03-09 北京国双科技有限公司 Map layer loading method and device
CN113254568B (en) * 2021-06-29 2021-10-08 浙江大学 Real-time analysis processing method, device and medium combined with map service
CN114610751B (en) * 2022-05-09 2023-02-03 清华大学 Structured parameter analysis method, device, equipment and medium for geographic computing language
CN114706660B (en) * 2022-05-17 2022-09-09 清华大学 DAS-based custom function expansion method, device, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101063618A (en) * 2006-04-25 2007-10-31 阿尔派株式会社 Map-data-generation device and map-generation method used therefor, and navigation device and route-search method used therefor
CN113093727A (en) * 2021-03-08 2021-07-09 哈尔滨工业大学(深圳) Robot map-free navigation method based on deep security reinforcement learning
CN113656515A (en) * 2021-08-18 2021-11-16 中国农业大学 Method and system for visualizing cultivated land breakage degree, electronic device and medium

Also Published As

Publication number Publication date
CN115510173A (en) 2022-12-23

Similar Documents

Publication Publication Date Title
CN107590115B (en) Automatic Word report generation method and device
US8402480B2 (en) Systems and methods for generating a Swimlane Timeline for task data visualization
CN102509511B (en) Rapid map making system based on GIS (Geographic Information System) data
CN108829435A (en) A kind of image labeling method and general image annotation tool
CN110705231A (en) Webpage editing method and device
KR100759269B1 (en) System for creating multipolygon using property information of numerical map the object and method therefor
CN110991717B (en) Intelligent ocean grid forecasting method and terminal
CN102157003A (en) Automatic configuration method for annotation label of map under digital environment
CN111723555B (en) Plane typesetting method and system
JP4185175B2 (en) How to display structured documents
CN102509314A (en) Quick generating method for sunlight greenhouse construction drawing
CN113901933A (en) Electronic invoice information extraction method, device and equipment based on artificial intelligence
CN115510173B (en) DAS-based intelligent thematic map making method, device and product
CN113553055A (en) Visual chart code automatic generation method based on machine learning
WO1999009492A1 (en) A computerised method of compiling reports
WO2006103760A1 (en) Document conversion use system
CN116842915A (en) CATIAV 6-based batch labeling method for hydraulic and hydroelectric engineering drawings
CN111178083A (en) Semantic matching method and device for BIM and GIS
CN116245177A (en) Geographic environment knowledge graph automatic construction method and system and readable storage medium
CN113436298B (en) Method and device for automatically generating Chinese character stroke order animation and related components thereof
CN112927314A (en) Image data processing method and device and computer equipment
CN107203503B (en) Method for monitoring form in real time applied to SVG interface
CN110347686A (en) Record the method and system of engineering drawing modification information
CN111222310A (en) Method and system for inputting and displaying irregular form
CN109446295A (en) A kind of svg data map edit tool, edit methods and computer-readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant