CN109558200B - Method for configuring style of airborne vector map - Google Patents

Method for configuring style of airborne vector map Download PDF

Info

Publication number
CN109558200B
CN109558200B CN201811469994.6A CN201811469994A CN109558200B CN 109558200 B CN109558200 B CN 109558200B CN 201811469994 A CN201811469994 A CN 201811469994A CN 109558200 B CN109558200 B CN 109558200B
Authority
CN
China
Prior art keywords
symbol
configuration
relation
theme
configuration table
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
CN201811469994.6A
Other languages
Chinese (zh)
Other versions
CN109558200A (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.)
China Aeronautical Radio Electronics Research Institute
Original Assignee
China Aeronautical Radio Electronics Research Institute
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 China Aeronautical Radio Electronics Research Institute filed Critical China Aeronautical Radio Electronics Research Institute
Priority to CN201811469994.6A priority Critical patent/CN109558200B/en
Publication of CN109558200A publication Critical patent/CN109558200A/en
Application granted granted Critical
Publication of CN109558200B publication Critical patent/CN109558200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Instructional Devices (AREA)

Abstract

The invention belongs to the technical field of airborne vector maps, and relates to a style configuration method of an airborne vector map; the pattern configuration method is characterized in that a theme mode is used as an independent configuration unit for vector map pattern configuration, and a color configuration table, a symbol picture set and a symbol configuration table, a layer display lookup table and a symbol conflict configuration table are established for each theme mode; the theme configuration table writes the corresponding relation among each theme name, the color configuration table, the symbol picture set, the symbol configuration table and the layer display lookup table into the theme configuration table in sequence, and establishes the mutual constraint relation among the configuration tables; the style configuration method of the invention defines the constraint and search relationship between the style resources by using the standardized structure, is compatible with the influences of different data sources, different scales, different theme modes and various environment variables, and realizes the universality, flexibility and expandability of the map configuration.

Description

Method for configuring style of airborne vector map
Technical Field
The invention belongs to the technical field of airborne vector maps, and particularly relates to a style configuration method of an airborne vector map.
Background
The data sources of airborne vector maps are numerous, such as topographic map data, aeronautical map data, nautical map data, and the like. Meanwhile, each element presents diversified display effects under the influence of different scales, theme modes and external environment variables. The existing vector map software generally adopts two types of configuration methods: firstly, element styles are set in the data preprocessing stage, namely the styles of the elements are merged into an airborne data format. And secondly, part of work such as layer classification, priority sequencing and the like is carried out in the data preprocessing stage, and then the information of the configuration table is read when software runs, wherein the table contains a simple element-color symbol corresponding relation. Both of these methods have high requirements for data preprocessing and do not support flexible configuration and modification of styles.
Disclosure of Invention
The purpose of the invention is: a pattern configuration method of an airborne vector map is designed, a normalized structure is used for defining constraint and search relation among pattern resources, the influences of different data sources, different scales, different theme modes and various environment variables are compatible, and the universality, flexibility and expandability of map configuration are realized.
In order to solve the technical problem, the technical scheme of the invention is as follows:
a style configuration method of an airborne vector map is characterized in that a vector map style configuration library takes theme modes as independent configuration units, and a color configuration table, a symbol picture set, a symbol configuration table, a layer display lookup table and a symbol conflict configuration table are established for each theme mode; the theme configuration table writes the corresponding relation of each theme name, the color configuration table, the symbol picture set, the symbol configuration table and the layer display lookup table into the theme configuration table in sequence, and establishes the mutual constraint relation among the configuration tables.
The establishment method of the color configuration table comprises the following steps: classifying all colors in the airborne vector map according to purposes, naming each purpose as a color identifier, then determining RGB color values of each color identifier in different theme modes, writing the corresponding relation of each color identifier and the color values into a configuration table at one time, and enabling each theme mode to correspond to one color configuration table.
The establishment method of the symbol picture set comprises the following steps: and aggregating all symbols in a theme mode into a whole texture picture according to a custom sequence and intervals to serve as a symbol picture set.
The establishment method of the symbol configuration table comprises the following steps: each theme mode corresponds to a symbol configuration table, the attribute information of all symbols in each symbol picture set is sorted and sorted, the attribute information comprises symbol names, sizes, positioning points in the symbol sets, offsets, scaling coefficients and colors of the symbols, and the corresponding relation between each symbol name and each symbol attribute is written into the symbol configuration table in sequence.
The layer display lookup table establishing method comprises the following steps: establishing a layer classification rule, and establishing a corresponding relation from elements to a layer by taking the category of the geographic elements as a basis and combining the attribute characteristics of the elements; and establishing a structured drawing instruction expression, a drawing priority and a maximum and minimum visible scale for each layer.
The establishment method of the symbol conflict configuration table comprises the following steps: and establishing a relation definition table by taking the relation name, the relation type and the relation description as corresponding relations, establishing a conflict rule table by taking the relation name, the symbol name associated with conflict and a conflict processing parameter, and solving conflicts among different symbols under the same theme in a structured mode.
The method for establishing the theme configuration table comprises the following steps: and writing the corresponding relations of the subject names, the color configuration table, the symbol sets, the symbol configuration table, the lookup table and the symbol conflict configuration table in the subject configuration table in sequence under each subject mode.
The specific flow of the drawing instruction expression is as follows:
designing a drawing instruction for fixing the layer, which is not influenced by the environment variable, for the layer according to whether the layer display effect is influenced by the external environment variable; and outputting drawing instructions which change along with the environmental variables for the layer design influenced by the environmental variables.
The relation types of the symbols are six types of point-point relation, line-line relation, surface-surface relation, point-line relation, point-surface relation and line-surface relation.
The invention has the beneficial effects that: the style configuration method of the invention uniformly manages all symbol style resources in the map software, defines the constraint and search relationship among the style resources by using the standardized structure, is compatible with the influences of different data sources, different scales, different theme modes and various environment variables, and provides a standardized style description for a map rendering engine. The map style configuration module is independent, the influence on the organization structure and the rendering engine of the map data end is small, and the map style configuration method has universality, configurability and expandability.
Drawings
FIG. 1 is a drawing instruction design flow;
fig. 2 is a software operation flow of the style configuration module.
Detailed Description
The invention is further illustrated with reference to the following figures and examples:
the basic concept of the invention is as follows: and designing a color configuration table, a symbol picture set and a symbol configuration table, a layer display lookup table, a theme configuration table and a symbol conflict configuration table for the vector map style configuration library respectively. The configuration tables are mutually constrained, and all symbol style resources in the map software are uniformly managed. When the map software runs, the symbolic style of each element can be determined through querying the configuration table, and the requirement of diversified display of the map under different theme modes and environment variables is met.
The invention relates to a style configuration method of an airborne vector map, which comprises the following specific steps:
step 1, designing a color configuration table under each theme mode. All colors in the map are first sorted by use, each use being named a color identifier. And secondly determining the RGB color values of each color identifier under different theme modes. And sequentially writing the corresponding relation between each color identifier and each color value into a configuration table. Each theme mode corresponds to a configuration table, which contains each color identifier and color value. As shown in table 1 below.
TABLE 1
Serial number Color identifier Color component R Color component G Color component B
1 LNDCOL 23 156 39
2 ROCCOL 69 231 246
…… …… …… …… ……
And 2, designing a symbol picture set and a symbol configuration table under each theme mode.
And step 21, aggregating all symbols in a theme mode into a whole texture picture according to a custom sequence and intervals, and using the whole texture picture as a symbol picture set.
And 22, sorting and sorting attribute information of all symbols in each symbol set, wherein the attribute information comprises symbol names, sizes, positioning points in the symbol picture sets, offsets, scaling coefficients, colors of the symbols and the like, and the corresponding relation between each symbol name and the symbol attributes is sequentially written into a configuration table. Each theme mode corresponds to a configuration table. As shown in table 2 below.
TABLE 2
Serial number Name of symbol Size of Positioning point Offset of Scaling factor Colour(s)
1 RSRDEF 6*8 0,0 0,0 1.0 LNDCOL
2 MSTCON 8*8 10,8 2,2 1.0 ROCCOL
…… …… …… …… …… …… ……
Step 3, designing a layer display lookup table under each theme mode
The digital map is rendered in a layered mode, and through aggregation of similar geographic elements, mass elements are aggregated into a limited layer so as to facilitate symbol collocation and engine rendering. The map layer display lookup table establishes a mapping relation from the map layer to the map symbol, and determines whether the map is reasonably and attractively displayed. The factors considered by the lookup table include layer extraction rules, symbol selection and color collocation, priority relationship, anti-congestion control and the like.
And 31, establishing a layer classification rule, and establishing a corresponding relation from the element to the layer by taking the geographic element type as a basis and combining the element attribute characteristics.
Step 32: and designing a structured drawing instruction expression for each layer. The display effect of all layers should be configurable, including the size, rotation angle, offset of the dot symbol, line type, line width, color, symbol of the line symbol, border of the surface symbol, filling color, center point, font, size, position of the annotation, etc. The display effect of some layers is related not only to the inherent geographical properties of the layer itself, but also to external environment variables. Therefore, a drawing instruction fixed on the layer is designed for the layer not controlled by the environment variable, a dedicated symbolic logic flow is designed for the layer controlled by the environment variable, and a drawing instruction changing with the environment variable is output, wherein the design flow is shown in fig. 1.
Step 33: and designing the drawing priority of each layer. The priority determines the capping effect between the symbols of the layers on the map. The drawing layer priority is defined in the style configuration library, namely the constraint of the data source end on the element arrangement sequence is removed, and the rendering engine can reorganize the drawing sequence according to the drawing layer priority.
Step 34: and designing a maximum and minimum visible scale of each layer. The method is used for pursuing the effect of load balance of the map picture.
Step 35: and sequentially writing the corresponding relation among each layer name, the layer extraction rule, the drawing instruction expression, the priority and the visible scale into a lookup table. Each theme mode corresponds to a configuration table. As shown in table 3 below.
TABLE 3
Figure BDA0001890682240000051
And 4, designing a relationship definition configuration table and a conflict processing rule table.
And step 41, designing a relation definition configuration table. All symbolic relations that need to resolve conflicts are enumerated in the relation definition configuration table. The relationship name, relationship type and description of such relationship are listed in the table, as shown in table 4 below. As shown in the table below. All geographic elements are represented as point/line/plane types after symbolization. Therefore, the relationship types of the symbols can be classified into six types, namely point-point relationship, line-line relationship, plane-surface relationship, point-line relationship, point-surface relationship and line-surface relationship. For example, in an electronic chart, when the line symbols of two elements overlap, the overlapped part requires to draw only the element with high priority; when the display area of a certain surface element on the screen is too small, the edge line of the certain surface element is degraded from a symbolized line to a simple line; and the road route and the air corridor are required to be fused at the line segment intersection.
TABLE 4
Serial number Name of relationship Type of relationship Description of relationships
1 OVERLAP Point to point relationship Dot symbol coincident blanking
2 BLEND Line-line relationship Line segment cross fusion
…… …… …… ……
And step 42, designing a conflict processing rule table. The conflict handling rule table stores all the handling rules, and the relationship name, the symbol name associated with the conflict and the conflict handling parameters are listed in the table. As shown in table 5 below.
TABLE 5
Figure BDA0001890682240000061
And establishing a conflict processing rule table by taking the relationship name, the associated symbol name and the relationship processing parameter as corresponding relationships. Conflict handling is divided into two categories: firstly, adjusting the symbol style, dynamically modifying the drawing parameters of the symbol or replacing the current symbol into other symbols; adjusting the position of the symbol, and adjusting the position of the final display of the symbol according to the actual situation.
And 5, designing a theme configuration table. The configuration tables in steps 1-4 all take the theme mode as independent configuration units, so that the configuration tables are managed uniformly in the theme configuration table. And writing the corresponding relation of each subject name, the color configuration table, the symbol set, the symbol configuration table and the lookup table into the subject configuration table in sequence. As shown in table 6 below.
TABLE 6
Figure BDA0001890682240000062
The method has the advantages of being configurable, extensible and easy to manage. If a certain theme needs to be added to the map, the corresponding color table, symbol set, layer display lookup table and conflict configuration table in the mode are designed one by one, and then a line is added to the theme configuration table. The same is true of modifying or deleting a certain theme. The theme modes are mutually isolated, and a color table, a symbol table, a layer display lookup table and a conflict configuration table of each theme mode can be designed by self and modified or expanded as required without influencing other themes. Therefore, the same set of map data source can be freely applied to different theme modes to present different display effects.
After all the configuration tables are designed, the configuration tables are stored in a disk in the form of xml configuration files or database tables. After map software is started, the style configuration module analyzes the configuration file, positions the configuration file to a search entry of each configuration table according to a currently displayed theme mode, sequentially determines a drawing expression, a priority, a display scale range and an element conflict rule of each geographic element in a drawing cycle, forms symbolic style statements and outputs the symbolic style statements to the drawing and rendering module, and the drawing and rendering module can draw a map according to a specified style. The software flow of the style configuration module is shown in fig. 2.

Claims (3)

1. A style configuration method of an airborne vector map is characterized in that: the pattern configuration method is characterized in that a vector map pattern configuration takes a theme mode as an independent configuration unit, and a color configuration table, a symbol picture set and a symbol configuration table, a layer display lookup table and a symbol conflict configuration table are established for each theme mode; the theme configuration table writes the corresponding relation among each theme name, the color configuration table, the symbol picture set, the symbol configuration table, the layer display lookup table and the symbol conflict configuration table into the theme configuration table in sequence, and establishes the mutual constraint relation among the configuration tables;
the establishment method of the color configuration table comprises the following steps: classifying all colors in the airborne vector map according to purposes, naming each purpose as a color identifier, then determining RGB color values of each color identifier in different theme modes, sequentially writing the corresponding relation between each color identifier and the color values into a color configuration table, and enabling each theme mode to correspond to one color configuration table;
the establishment method of the symbol picture set comprises the following steps: aggregating all symbols in a theme mode into a whole texture picture according to a user-defined sequence and intervals, and using the whole texture picture as a symbol picture set;
the establishment method of the symbol configuration table comprises the following steps: each theme mode corresponds to a symbol configuration table, the attribute information of all symbols in each symbol picture set is sorted and sorted, the attribute information comprises symbol names, sizes, positioning points in the symbol picture set, offsets, scaling coefficients, colors and vector descriptions, and the corresponding relation between each symbol name and the symbol attribute information is written into the symbol configuration table in sequence;
the layer display lookup table establishing method comprises the following steps: establishing a layer classification rule, and establishing a corresponding relation from elements to a layer by taking the category of the geographic elements as a basis and combining the attribute characteristics of the elements; establishing a structured drawing instruction expression, a drawing priority and a maximum and minimum visible scale for each layer;
the establishment method of the symbol conflict configuration table comprises the following steps: and establishing a relation definition table by taking the relation name, the relation type and the relation description as corresponding relations, establishing a conflict rule table by taking the relation name, the symbol name associated with conflict and a conflict processing parameter, and solving conflicts among different symbols under the same theme in a structured mode.
2. The method for configuring the style of the airborne vector map according to claim 1, wherein: the specific flow of the drawing instruction expression is as follows:
designing a drawing instruction for fixing the layer, which is not influenced by the environment variable, for the layer according to whether the layer display effect is influenced by the external environment variable; and outputting drawing instructions which change along with the environmental variables for the layer design influenced by the environmental variables.
3. The method for configuring the style of the airborne vector map according to claim 1, wherein: the relation types of the symbols are six types of point-point relation, line-line relation, surface-surface relation, point-line relation, point-surface relation and line-surface relation.
CN201811469994.6A 2018-12-04 2018-12-04 Method for configuring style of airborne vector map Active CN109558200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811469994.6A CN109558200B (en) 2018-12-04 2018-12-04 Method for configuring style of airborne vector map

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811469994.6A CN109558200B (en) 2018-12-04 2018-12-04 Method for configuring style of airborne vector map

Publications (2)

Publication Number Publication Date
CN109558200A CN109558200A (en) 2019-04-02
CN109558200B true CN109558200B (en) 2022-03-08

Family

ID=65868840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811469994.6A Active CN109558200B (en) 2018-12-04 2018-12-04 Method for configuring style of airborne vector map

Country Status (1)

Country Link
CN (1) CN109558200B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115049759B (en) * 2022-08-15 2022-10-25 中国电子科技集团公司第十五研究所 Linear map symbol drawing method and device for complex road network and server

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916297A (en) * 2010-08-30 2010-12-15 东南大学 Method for quickly mapping by batch symbolization
CN103412863A (en) * 2013-06-05 2013-11-27 东南大学 Embedded-device-oriented method for achieving rapid visualization of high-capacity vector map
CN103823839A (en) * 2013-12-20 2014-05-28 柳州腾龙煤电科技股份有限公司 AutoCAD symbol configuration showing method based on gallery integration
CN104008162A (en) * 2014-05-28 2014-08-27 中国地质大学(北京) Template based one-button type thematic map automatic forming method and system
CN104765826A (en) * 2006-09-29 2015-07-08 德卡尔塔公司 Dynamically configured rendering of digital maps
US20150317042A1 (en) * 2014-05-02 2015-11-05 Lexmark International Technology, S.A. System and Methods for Loading an Application and its Modules in a Client Device
US20180052572A1 (en) * 2016-08-18 2018-02-22 Mapbox, Inc. Modifying style layer properties of a digital map
CN108153572A (en) * 2017-12-22 2018-06-12 北京恒泰实达科技股份有限公司 GIS display methods, device and system
CN108520545A (en) * 2018-04-03 2018-09-11 苏州舆图数据科技有限公司 A kind of electronic map rendering intent based on symbol level detail model
CN108664186A (en) * 2018-05-11 2018-10-16 卡斯柯信号有限公司 A kind of human-computer interaction interface display methods that can configure based on graphic style

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765826A (en) * 2006-09-29 2015-07-08 德卡尔塔公司 Dynamically configured rendering of digital maps
CN101916297A (en) * 2010-08-30 2010-12-15 东南大学 Method for quickly mapping by batch symbolization
CN103412863A (en) * 2013-06-05 2013-11-27 东南大学 Embedded-device-oriented method for achieving rapid visualization of high-capacity vector map
CN103823839A (en) * 2013-12-20 2014-05-28 柳州腾龙煤电科技股份有限公司 AutoCAD symbol configuration showing method based on gallery integration
US20150317042A1 (en) * 2014-05-02 2015-11-05 Lexmark International Technology, S.A. System and Methods for Loading an Application and its Modules in a Client Device
CN104008162A (en) * 2014-05-28 2014-08-27 中国地质大学(北京) Template based one-button type thematic map automatic forming method and system
US20180052572A1 (en) * 2016-08-18 2018-02-22 Mapbox, Inc. Modifying style layer properties of a digital map
CN108153572A (en) * 2017-12-22 2018-06-12 北京恒泰实达科技股份有限公司 GIS display methods, device and system
CN108520545A (en) * 2018-04-03 2018-09-11 苏州舆图数据科技有限公司 A kind of electronic map rendering intent based on symbol level detail model
CN108664186A (en) * 2018-05-11 2018-10-16 卡斯柯信号有限公司 A kind of human-computer interaction interface display methods that can configure based on graphic style

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"三维模型的数据处理与显示技术的设计与实现";李鹏飞 等;《航空电子技术》;20180915;第49卷(第3期);第36-40页 *

Also Published As

Publication number Publication date
CN109558200A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
US11670016B2 (en) System for supporting flexible color assignment in complex documents
US10181208B2 (en) Custom heatmaps
JP5237837B2 (en) Spatial data management device, spatial data management method, and spatial data management program
CN103093484A (en) Integrated batch drawing method of remote-sensing image and vector data
CN108846893B (en) Trivector ground drawing generating method and device
US20150310648A1 (en) Techniques for Visualization of Data
CN113051885B (en) AutoCAD-based design drawing rapid typesetting method
CN109558200B (en) Method for configuring style of airborne vector map
CN107451317A (en) Select control method, device for selection controlling and recording medium
CN108153572A (en) GIS display methods, device and system
US20190171657A1 (en) Geospatial mapping system
CN107749074B (en) Method and device for drawing map and computing equipment
US20170262141A1 (en) Information processing apparatus, information processing method and non-transitory computer readable medium
US20170270082A1 (en) Dynamic rendering of geographic data
US10062193B2 (en) Attribute based map marker clustering
US20230168106A1 (en) Method, apparatus, and system for providing mock map data for map design validation and documentation
JP6329831B2 (en) Pattern recognition type data input and search
Cheshire et al. Spatial data visualisation with R
Schneider GIS functionality in multimedia atlases: spatial analysis for everyone
JP3809315B2 (en) CAD system
US20230005195A1 (en) Free Form Radius Editing
KR20200058205A (en) Automated symbolization of 1:25,000 map based on domestic geometric characteristic
JP3656233B2 (en) Map display system, map display method, and map display program
KR20170014512A (en) Device and method of vector-map grouping
RU2679173C1 (en) Method of dynamic visualization of geographic and heterogeneous information in a geographic information system and a 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