A method and device for converting geographic information data elements

By decomposing and processing the element data in the geographical information data cluster, automatic conversion of different standard symbols is realized, which solves the problems of low efficiency and high cost of symbol conversion in the existing technology, and improves the efficiency and value of data conversion.

CN118229515BActive Publication Date: 2024-08-27BEIJING SUNWAY TECH CORP LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410643007.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-27
Estimated Expiration
2044-05-23

AI Technical Summary

Technical Problem

The existing technology has low efficiency and high cost in the process of symbol conversion of different standards, resulting in reduced data conversion efficiency and requiring a lot of manual operations and redrawing.

Method used

By obtaining the symbol data cluster of the target surface object, decomposing it into multiple groups of primitive data, and processing at least one group of primitive data to form a new symbol data cluster, realizing automatic conversion of symbol types and positioning methods, including point Symbols are converted into line symbols, surface symbols, line symbols are converted into point symbols, surface symbols are converted into line symbols, etc.

Benefits of technology

It realizes the automatic conversion of symbolic data, improves production efficiency, expands the application scope of data standards, enhances the use value of data, and reduces manual operation costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118229515B
    Figure CN118229515B
Patent Text Reader

Abstract

The present application discloses a method and device for converting geographic information data elements, which solves the problem of high efficiency and low cost of symbol conversion of different standards in the prior art. The method for converting geographic information data elements includes: obtaining a symbol data cluster of the target object, decomposing the data cluster into multiple groups of image data; processing at least one group of image data in the multiple groups of image data to form new image data; updating at least a part of the multiple groups of image data to form a new symbol data cluster of the target object. The present application converts in a fully automatic manner based on symbol description decomposition, realizes the unification of results of multiple different standards or the application of one standard result to multiple target result standards according to rules, which can improve production efficiency, expand the application scope of existing data standards, and enhance the use value of data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computer data processing and geographic information database, and in particular to a method and device for converting geographic information data elements. Background Art

[0002] According to the national general standards GB / T20257.1-2017 and GB / T20258.1-2019 for the surveying and mapping and geographic information industry, in addition to national general standards, there are also local standards and industry standards. In the symbol expression and storage of each standard, there are more or less differences in the same object with different geometric types and different positioning methods. When converting a large-scale topographic map to a small-scale topographic map, or extracting specific target data results from existing standard data results, changes in geometric types and positioning methods will be involved. When a new symbol is derived from a symbol, if there is no good technical means, changing the data will involve a lot of manual operations, such as deleting and redrawing. Even if it is calculated and redrawn through a program, there will be reduced efficiency and increased costs. Summary of the invention

[0003] The present application proposes a method and device for converting geographic information data elements, which solves the problem of high efficiency and low cost of symbol conversion of different standards in the prior art.

[0004] In a first aspect, an embodiment of the present application provides a method for converting geographic information data elements, including:

[0005] Acquire a symbol data cluster of a target object, and decompose the data cluster into multiple groups of image data;

[0006] Processing at least one set of image data among the multiple sets of image data to form new image data;

[0007] At least a portion of the multiple groups of graphic element data is updated to form a new symbol data cluster of the target feature.

[0008] In one embodiment, the process further comprises at least one of the following steps:

[0009] The step of converting a point symbol into a line symbol or a surface symbol is to select a line element from the decomposed point symbol data and extend the length attribute of the line element in one direction or two opposite directions; or to select a surface element in the point symbol data and extend the surface element in multiple directions;

[0010] The step of converting a line symbol into a point symbol is to select a point element from the decomposed line symbol and convert the length direction of the line symbol into an angle attribute;

[0011] The steps of converting a face symbol into a point symbol are: selecting a point primitive from the decomposed face symbol, and converting the direction of the point in the face symbol or the custom direction into an angle attribute;

[0012] The step of converting a line symbol into a surface symbol is to select a surface element from the decomposed line symbol and increase the width attribute of the surface element;

[0013] To convert a surface symbol into a line symbol, select a length direction and select a line entity from the decomposed surface symbol.

[0014] In one embodiment, the symbol data cluster includes a display control code and a graphic element description code;

[0015] The primitive description code includes attribute data of the primitive;

[0016] The display control code is driven by the graphic element description code and is used to display the graphics of the symbol data cluster.

[0017] In one embodiment, processing at least one set of metadata among the multiple sets of metadata to form new metadata specifically comprises the steps of:

[0018] Determine the primitive to be modified;

[0019] Modify the entity description code corresponding to the entity.

[0020] In one embodiment, the new symbol data cluster of the target object further comprises the steps of:

[0021] The new symbol is displayed by driving the display control code through the graphic element description code of the new symbol data cluster.

[0022] In one embodiment, converting a point symbol river flow direction arrow into a line symbol river flow direction arrow specifically comprises the steps of:

[0023] Obtain the symbol data cluster of the point symbol river flow direction arrow, and decompose the data cluster into multiple groups of graphic element data;

[0024] Determine the attribute data of the straight line primitives contained in the multiple groups of primitive data; modify the attribute data of the straight line primitives to make them displayed, hide the original point primitives, and form the primitive description code of the new symbol data cluster.

[0025] In one embodiment, the point symbol bridge pier column is converted into a surface symbol bridge pier column, specifically comprising the steps of:

[0026] Obtain the symbol data cluster of the point symbol bridge pier column, and decompose the data cluster into multiple groups of graphic element data;

[0027] Determine the attribute data of the surface primitives contained in the multiple groups of primitive data; modify the attribute data of the surface primitives to make them displayed, hide the original point primitives, and form the primitive description code of the new symbol data cluster.

[0028] In one embodiment, the conversion of a line symbol gradually widening line or a road line into a surface symbol gradually widening line or a road line specifically comprises the steps of:

[0029] Obtain a symbol data cluster of a line symbol gradual width line or a road line, and decompose the data cluster into multiple groups of graphic element data;

[0030] Determine the attribute data of the surface primitives contained in the multiple groups of primitive data; modify the attribute data of the surface primitives to make them displayed, hide the original line primitives, and form the primitive description code of the new symbol data cluster.

[0031] In one embodiment, the bridge of the surface symbol is converted into the bridge of the line symbol, specifically comprising the steps of:

[0032] Obtain the symbol data cluster of the bridge of the surface symbol, and decompose the data cluster into multiple groups of graphic element data;

[0033] Determine the attribute data of the line graphics element contained in the multiple groups of graphics element data; modify the attribute data of the line graphics element to make it displayed, hide the original surface graphics element, and form the graphics element description code of the new symbol data cluster.

[0034] In a second aspect, an embodiment of the present application provides a geographic information data element conversion device for implementing the geographic information data element conversion method described in any one of the embodiments of the first aspect, comprising: an acquisition module for acquiring a symbol data cluster of a target feature and decomposing the data cluster into multiple groups of feature data. A determination module for processing at least one group of feature data among the multiple groups of feature data to form new feature data. A synthesis module for updating at least a portion of the multiple groups of feature data to form a new symbol data cluster of the target feature.

[0035] In a third aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any embodiment of the first aspect.

[0036] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described in any embodiment of the first aspect is implemented.

[0037] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:

[0038] This application is to convert in a fully automatic manner based on symbolic description decomposition to achieve the unification of results of multiple different standards or the application of one standard result to multiple target result standards according to rules. It can improve production efficiency, expand the application scope of existing data standards, and enhance the use value of data. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0040] Figure 1 This is a flow chart of a method for converting geographic information data elements according to an embodiment of the present application;

[0041] Figure 2 This is another flowchart of a method for converting geographic information data elements according to an embodiment of the present application;

[0042] Figure 3-1 This is a schematic diagram of the arrow point symbol of the river flow direction in the embodiment of the present application;

[0043] Figure 3-2 This is a schematic diagram of the arrow line symbol of the river flow direction in the embodiment of the present application;

[0044] Figure 4-1 This is a schematic diagram of the pier point symbols of the embodiment of the present application;

[0045] Figure 4-2 This is a symbolic diagram of the pier surface in the embodiment of the present application;

[0046] Figure 5 This is a flow chart of the third geographic information data element conversion method of the embodiment of the present application;

[0047] Figure 6 This is a flow chart of the fourth geographic information data element conversion method according to the embodiment of the present application;

[0048] Figure 7 This is a flow chart of the fifth geographic information data element conversion method according to the embodiment of the present application;

[0049] Figure 8-1 This is a comparison diagram of the effect of converting the widening line to the surface skeleton line in the embodiment of the present application;

[0050] Figure 8-2 This is a comparison diagram of the display effect of the widened line turning surface of the embodiment of the present application;

[0051] Figure 9-1 This is a comparison diagram of the display effect of converting a road line to a road surface in an embodiment of the present application;

[0052] Figure 9-2This is a comparison diagram of the effect of converting the road line to the road surface skeleton line in the embodiment of the present application;

[0053] Fig.10 This is a flow chart of the sixth geographic information data element conversion method according to an embodiment of the present application;

[0054] Figure 11-1 This is a comparison diagram of the display effect of the bridge deck turning line in the embodiment of the present application;

[0055] Figure 11-2 This is a comparison diagram of the effects of the bridge deck turning bridge line skeleton line of the embodiment of the present application;

[0056] Fig.12 This is a structural diagram of a geographic information data element conversion device according to an embodiment of the present application;

[0057] Fig.13 Schematic diagram of the commercial server system for the application scenario of this application. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0059] It should be noted that the geographic information elements (National Basic Scale Map Schema GB / T 20257.1-2017) of this application are abstractions of real geographical topographic features, and are neither geographic surveying and mapping data itself nor images of original terrain. For example, an element can appear as a type (such as a lake, a building) or an entity (such as Dongting Lake, a building). In a geographic information database, it is a symbolic data representation of a specific geographic feature. A symbol attribute contains a name, a data type, and a value range associated with it. Elements are divided into point symbols, surface symbols, line symbols, and composite symbols according to their geometric features, and are assigned graphic codes respectively.

[0060] The geographic information data element symbol involved in this application is a composite symbol containing multiple symbols. It should be noted that the solution of this application is not to process the original geographic image information to identify the geographic information features of line objects and generate point, line, and surface object geographic information elements, but to create, edit, copy, store, and use the symbolized data of point, line, and surface object geographic information elements. By defining new nodes in line objects and then using the location and primitive type association features to form data clusters of point, line, and surface objects, it is an optimization of the data structure of the geographic information database.

[0061] With the continuous development of surveying and mapping technology, topographic map data standards are constantly updated, especially basic geographic information databases, which are divided into industry standards, local standards, national general standards, etc. There are diversification of data standards. With the promotion of national standards, industry standards and local standards are gradually replaced to achieve data unification. The present invention can more efficiently convert multiple geometric forms of the same type of land features in different standards into a unified standard. At the same time, in map integration and reduction, that is, the business field of reduction from large scale to small scale, it also plays a vital role in the expression of different geometric forms across scales.

[0062] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0063] Figure 1 This is a flow chart of a geographic information data element conversion method according to an embodiment of the present application, which specifically includes steps: 110 to 130.

[0064] Step 110, obtaining a symbol data cluster of the target object, and decomposing the data cluster into multiple groups of graphic element data;

[0065] The data cluster of the feature symbol includes a display control code (ie, display control data of the graphic element) and a graphic element description code (ie, attribute data of the graphic element).

[0066] The primitive description code includes multiple sets of primitive attribute data.

[0067] The symbol data cluster refers to the data cluster of the target feature. The data cluster is data belonging to a feature code and describing the feature.

[0068] The symbol data cluster includes multiple groups of graphic element data, wherein a group of graphic element data may include only one graphic element, or may further include multiple groups of graphic element data.

[0069] Preferably, a symbol data cluster can embed multiple graphic elements. For example, a point symbol can embed point graphic elements, line graphic elements, surface graphic elements, and text annotations.

[0070] Preferably, a symbol data cluster may embed multiple primitives, for example, a primitive group of a point symbol may consist of one primitive or multiple primitives. Specifically, a primitive group of a point symbol may consist of one primitive, or there may be multiple primitives.

[0071] In one embodiment of the present application, in step 110, at least one set of image data is added or reduced from the multiple sets of image data.

[0072] Since the primitive elements embedded in the symbol data cluster are recorded in the coding table, the primitive elements embedded in the symbol data cluster can be changed by adding or reducing a set of primitive elements and modifying the coding table. The coding table contains all the basic primitive element codes in the symbol data cluster.

[0073] For example, by adding a set of primitive elements during the process of obtaining the symbol data cluster of the target feature, the types of primitive element data that the symbol data cluster can be decomposed into are increased.

[0074] For another example, primitive elements that do not exist in the symbol data cluster are added to the symbol data cluster.

[0075] For another example, by reducing a set of primitive elements during the process of obtaining the symbol data cluster of the target feature, the types of primitive element data that the symbol data cluster can be decomposed into are reduced.

[0076] In one embodiment, a symbol description table is set in the symbol data cluster, which includes primitive element group identifiers. One primitive element group identifier corresponds to one or more basic primitive element codes, one primitive element group identifier corresponds to one or more sub-primitive element group identifiers, and / or one sub-primitive element group identifier corresponds to one or more basic primitive element codes.

[0077] In one embodiment, the data cluster is decomposed into multiple groups of primitive element data, including: arbitrarily grouping all the basic primitive elements to form a symbol description table, and the data cluster is decomposed according to the primitive element group identifiers in the symbol description table.

[0078] For example, two horizontal line basic primitive elements and one vertical line basic primitive element are used as a group of primitive elements with a primitive element group identifier of a, and one horizontal line basic primitive element is used as another group of primitive elements with a primitive element group identifier of b. The two groups of primitive elements together form the symbol description table of the "king" character symbol: T1 = {a, b}.

[0079] In one embodiment, the data cluster is decomposed into multiple groups of primitive element data, including: further decomposing the multiple groups of primitive element data and recombining them into different groups.

[0080] For example, three horizontal line basic primitive elements are used as a group of primitive elements with a primitive element group identifier of c, and one vertical line basic primitive element is used as another group of primitive elements with a primitive element group identifier of d. The two groups of primitive elements together form the symbol description table of the "king" character symbol: T2 = {c, d}.

[0081] For another example, the first symbol description table T1 of the "king" character symbol can be decomposed into 4 basic primitive elements, and after recombination, a second symbol description table T2 is established.

[0082] Step 120: Process at least one group of primitive element data among the multiple groups of primitive element data to form new primitive element data;

[0083] The triggering condition for processing the metadata includes at least one of the following: type change, scale change, and position combination relationship change;

[0084] The processing includes modifying the attribute parameters of the position, modifying the attribute parameters related to the scale or color, the attribute parameters of the scale or other display effects, the attribute parameters of display or hiding, determining the identification of the positioning element, etc.

[0085] In the embodiment of the present application, the processing is to process the attribute data corresponding to the "element group identifier" respectively and independently, for example, the location, scale or other display effect attributes. In one embodiment, the data cluster is decomposed into multiple groups of element data, including: a group of element data further includes multiple groups of element data, and at least one group of element data is further decomposed;

[0086] Multiple graphics elements can be nested in a symbol data cluster. For example, point graphics elements, line graphics elements, surface graphics elements, and text annotations can be nested in one symbol.

[0087] Each of the multiple graphic elements nested in the symbol data cluster can also nest multiple graphic elements. For example, a point graphic element, line graphic element, surface graphic element, and text annotation nested in a symbol can also nest more point graphic elements, line graphic elements, surface graphic elements, and text annotation.

[0088] One of the multiple groups of symbol data may be processed to form a new group of symbol data, or multiple groups of symbol data may be processed separately to form multiple groups of new symbol data.

[0089] In one embodiment, the trigger for symbol data processing is a scale change.

[0090] In one of the embodiments, the trigger for symbol data processing is a change in the position combination relationship, which converts the position data of the symbol.

[0091] In one embodiment, the parameters of the new symbol after decomposition that are automatically replaced include encoding, layer and color.

[0092] It should also be noted that in order to achieve the hiding of primitives in symbols, the display properties of the basic primitives can be set to achieve it, or the primitives specified in the symbol description table can be displayed. When the symbol description table that drives the display only contains a part of the primitives in the primitive encoding table of the symbol, what is displayed is a part of all the basic primitives in the data cluster of the symbol. For example, a "meter" symbol can be displayed as a "+" sign or as an "×" sign. For another example, a point symbol contains point primitives and line primitives, which can be displayed as an undirected point symbol "·" or a directed point symbol "↘" with an indicator arrow.

[0093] Step 130: Update at least a portion of the multiple groups of graphic element data to form a new symbol data cluster of the target feature.

[0094] At least a portion of the multiple sets of metadata is updated with the new metadata, for example, the new metadata is combined with at least another set of metadata in the multiple sets of metadata, or even each set of metadata is processed as new metadata. The present application does not exclude the further combination of the new metadata generated after processing and the original metadata before processing.

[0095] This application can realize the conversion of geographic information data elements, such as point to line, point to surface, line to point, line to surface, surface to point, surface to line, etc.

[0096] The trigger of symbol data processing is a type change, and the type change includes a graphic element description type change and a display control type change.

[0097] Specifically, the primitive description type changes, which means the data of the primitive changes. The display control type changes, which means the display of the primitive changes.

[0098] Figure 2 This is another flowchart of a geographic information data element conversion method according to an embodiment of the present application, specifically including steps: 110~130, 210.

[0099] In one embodiment, the symbol data processing is triggered by a change in the primitive description type, and further comprises the steps of:

[0100] Step 210, a step of converting a point symbol into a line symbol or a surface symbol;

[0101] Step 210A: In response to obtaining the first indication information, the point symbol is converted into a line symbol or a surface symbol, and the length attribute in the point symbol data is extended in one direction or multiple directions.

[0102] The first indication information is an indication for triggering a change in the primitive type.

[0103] For example, in different map databases, the standards of primitive types are different. Therefore, when a map database of a certain standard is converted into a map database of another standard, the first indication information is generated in response to the GUI.

[0104] For another example, when the scale of the map where the symbol is located is reduced or expanded so that the symbol or a graphic element in the symbol that changes according to the scale is smaller than or larger than a set threshold, the first indication information is generated in response to the GUI.

[0105] The data of the point symbol includes the category, coordinates, angle and size attributes of the point.

[0106] Extend a point symbol in one direction or in two opposite directions to convert it into a line symbol.

[0107] For example, the extension direction is determined by the angle, and by modifying the size properties, the point symbol can be extended in the angle direction, or in the angle direction and the opposite direction to form a line symbol.

[0108] Point to line conversion, such as river flow direction arrow point converted to river flow direction arrow line, the symbol style, size and direction do not change, only the point type symbols are converted to skeleton line storage. Generally, after the design standard design is changed, this technology can automatically realize the conversion at the data structure level.

[0109] like Figure 3-1 As shown in the figure, the river flow arrows, the left side is the display effect of the point symbol river flow arrows, including river flow arrows 31 and 32, where the first flow arrow 31 is the selected river flow arrow, and its displayed line is represented by a dotted line. The second flow arrow 32 is the unselected river flow arrow, which is also the normal state of the river flow arrow display on the map. The right side is the river flow arrow under the skeleton line effect, that is, the point primitive coordinates of the primitive attributes of the point symbol are displayed, and it can be seen that the data of this river flow arrow is stored as a point primitive.

[0110] like Figure 3-2 As shown, the river flow arrows, the left side is the symbolized display effect under display control, including the selected river flow arrow 33, whose displayed line is represented by a dotted line. It also includes an unselected river flow arrow 34, which is also the normal state of the river flow arrow display on the map. The right side is the river flow arrow under the skeleton line effect, that is, the line primitive of the display line symbol. It can be seen that the data of this river flow arrow is stored as a line primitive.

[0111] By comparing Figures 3-1 and 3-2, it is clear that the attribute data of the graphics elements in the two figures are different, so the display mechanisms of the river flow arrows in the two figures are different, but the displayed patterns are the same.

[0112] When you need to change the symbol type from a point symbol to a line symbol, for example, Figure 3-1 The river flow arrow with the point symbol attribute becomes as follows Figure 3-2 The feature property shown is the river flow direction arrow of the line symbol.

[0113] The conversion of a point symbol river flow arrow to a line symbol river flow arrow includes the following steps:

[0114] Obtain the symbol data cluster of the point symbol river flow direction arrow, and decompose the data cluster into multiple groups of graphic element data; decompose the data cluster of the point symbol ground feature into multiple groups of graphic element data, and obtain the coordinate data and / or angle data of the point graphic element that displays the point symbol coordinate point position data.

[0115] The data cluster of the point symbol also contains the length data of the point primitive.

[0116] For example, a line element in a point symbol is obtained, and a line symbol is formed by extending the line element from the coordinate point in an angle direction according to a preset length;

[0117] By calculating the azimuth based on the acquired point coordinates and point angles and specifying a line of any length, the data that makes up the new symbol can be determined, so that the data type in the graphic element description code changes, the original point symbol is nested in the line, the type in the graphic element description code changes but the symbol display expression in the dynamic expression remains unchanged.

[0118] Determine the attribute data of the straight line primitives contained in the multiple groups of primitive data; modify the attribute data of the straight line primitives to make them displayed, hide the original point primitives, and form the primitive description code of the new symbol data cluster. Step 210B, point symbol to surface symbol, such as pier point to pier surface, the display effect remains unchanged, and the display data of the primitives can be enlarged or reduced according to the actual size and converted into surface primitives for storage.

[0119] For example, when data is converted across multiple software systems or multiple standard systems, the conversion can be performed in the above manner.

[0120] like Figure 4-1 As shown in the figure, the bridge piers, the left side is the symbolized display effect under display control, including the displayed cross section of the bridge piers. The right side is the bridge piers under the skeleton line effect, that is, the bridge piers under the primitive description. It can be seen that the data of this bridge pier is stored as a point symbol.

[0121] like Figure 4-2 As shown in the figure, the piers under the bridge are described by the graphic element, and their data are stored as surface symbols.

[0122] By comparing Figures 4-1 and 4-2, it is clear that the graphic element descriptions of the two figures are different, so the display mechanisms of the bridge piers in the two figures are also different, but the displayed patterns are the same.

[0123] When you need to change the type of symbol from a point symbol to a surface symbol, for example, Figure 4-1 The bridge pier under the bridge with the description stored as a point symbol becomes as follows Figure 4-2 The entity shown describes a bridge pier stored as a polygon symbol.

[0124] The conversion of point symbol bridge piers to surface symbol bridge piers includes the following steps:

[0125] Obtain the symbol data cluster of the point symbol bridge pier column, and decompose the data cluster into multiple groups of graphic element data;

[0126] The data cluster of the point symbol feature is decomposed into multiple groups of graphic element data, and the coordinate data and / or angle data of the point graphic element showing the point symbol coordinate point position data are obtained.

[0127] Determine the attribute data of the surface primitives contained in the multiple groups of primitive data; modify the attribute data of the surface primitives to make them displayed, hide the original point primitives, and form the primitive description code of the new symbol data cluster.

[0128] For example, after obtaining the coordinates and / or angles of the point primitive, the surface primitive in the point symbol is obtained, and the surface primitive is extended from the coordinate point of the point primitive in multiple arbitrary directions according to a preset length to form a surface primitive.

[0129] For example, a surface symbol can be formed by modifying the length or width data of the surface element in the point symbol and extending it in multiple arbitrary directions according to a preset length or width, for example, extending the surface element in at least two non-parallel directions.

[0130] By Figure 4-1 The point symbol data cluster is decomposed to obtain the category and size information of the bridge pier, such as length, width, radius, proportion, etc. After processing, the point primitives of the pier under the bridge are converted into surface primitives.

[0131] Figure 5 This is a flow chart of the third geographic information data element conversion method of the embodiment of the present application, which specifically includes steps: 110~130, 510~520.

[0132] In one embodiment, the trigger of the symbol data processing is a display control type change, and further comprises the steps of:

[0133] Step 510, a step of converting a line symbol into a point symbol, selecting a point primitive from the decomposed line symbol, converting the length direction of the line symbol into an angle and assigning it to the point primitive;

[0134] In response to obtaining the first indication information, the line symbol is converted into a point symbol, and the line symbol is decomposed into a plurality of groups of graphic elements;

[0135] The data of the line symbol includes the category, coordinates of each node of the line, length, width, and azimuth attributes.

[0136] For example, Figure 3-2 The surface symbol river flow arrow is converted to Figure 3-1 The point symbol river flow arrow.

[0137] Line-to-point conversion can be understood as a reverse method of point-to-line conversion, but it is more widely used. When converting large-scale topographic map data to small-scale topographic maps, line-to-point conversion is often involved, such as archway-to-point conversion and culvert line-to-culvert point conversion.

[0138] For example, when the scale of the map where the symbol is located is reduced or expanded so that the symbol or a graphic element in the symbol that changes according to the scale is smaller or larger than a set threshold, the first indication information is generated in response to the GUI.

[0139] A group of point primitives is selected from a number of groups of primitives, and primitive attributes of the point primitives are processed.

[0140] For example, change the display properties of the point primitive to Display.

[0141] Step 520: Use the selected point primitive as a coordinate point and determine the primitive description code of the data cluster of the new symbol according to the primitive attributes of other processed primitives.

[0142] Convert the length direction of the line symbol into an angle and assign it to the point symbol, hiding the line symbol. Make sure the original line symbol is no longer displayed.

[0143] By converting the length direction of the line symbol into an angle attribute and assigning it to the point element, it is convenient to select the direction of the line symbol when converting the point symbol into a line symbol later.

[0144] The display control code is driven by the graphic element description code of the data cluster of the new symbol to display the new symbol, that is, the new point symbol.

[0145] Furthermore, other land feature elements connecting the end points of the line-type land feature elements are connected to the point-type land feature elements.

[0146] Figure 6 This is a flow chart of the fourth geographic information data element conversion method of the embodiment of the present application, which specifically includes steps: 110~130, 610~620.

[0147] In one embodiment, the trigger of the symbol data processing is a display control type change, and further comprises the steps of:

[0148] Step 610, a step of converting a surface symbol into a point symbol, selecting a point primitive from the decomposed surface symbol, converting the direction of the point in the surface symbol or a custom direction into an angle and assigning it to the point primitive;

[0149] The step of converting the surface symbol into a point symbol is to decompose the surface symbol into several graphic elements;

[0150] In response to the first indication information, the surface symbol is converted into a point symbol, and the surface symbol is decomposed into a number of graphic elements;

[0151] The face symbol data includes the category, the length and width of the face, the middle position of each edge, the center position of the face, and the azimuth of each edge.

[0152] For example, Figure 4-2 The surface symbol bridge pier column is converted to Figure 4-1 Point symbol for bridge piers.

[0153] Surface to point conversion can be understood as a reverse method of point to surface conversion.

[0154] Step 620: Use the selected point primitive as a coordinate point and determine the primitive description code of the data cluster of the new symbol according to the primitive attributes of other processed primitives.

[0155] Convert the direction of the face symbol or the custom direction into an angle and assign it to the point element, hiding the face symbol. Make sure the original face symbol is no longer displayed.

[0156] By converting the direction of a polygon symbol or a custom direction into an angle attribute and assigning it to a point primitive, it is convenient to select the direction of the polygon symbol when converting the point symbol to a polygon symbol later.

[0157] The display control code is driven by the graphic element description code of the data cluster of the new symbol to display the new symbol, that is, the new point symbol.

[0158] Figure 7 This is a flow chart of the fifth geographic information data element conversion method according to an embodiment of the present application, which specifically includes steps: 110~130, 710.

[0159] In one embodiment, the trigger of the symbol data processing is a display control type change, and further comprises the steps of:

[0160] Step 710, a step of converting a line symbol into a surface symbol, decomposing the line symbol to obtain multiple groups of graphic elements, selecting a group of surface graphic elements, and modifying the width attribute of the surface graphic elements;

[0161] The steps of converting a line symbol into a surface symbol are: decomposing the line symbol to obtain multiple groups of primitives, selecting a group of surface primitives, and modifying and increasing the width attribute of the surface primitives;

[0162] For example, in response to the first indication information, the line symbol is converted into a surface symbol, the line symbol is decomposed into multiple groups of graphic elements, a group of surface graphic elements is selected, and the surface graphic elements are extended in a direction perpendicular to the length of the line symbol.

[0163] Convert lines to surfaces. For example, a road line has the real road width attribute. Although it is stored as a line, it can be directly converted into a road surface stored as a surface.

[0164] In one embodiment, the steps include:

[0165] Decomposing the online symbol data cluster into a plurality of graphic elements, and determining a point graphic element 81 among the plurality of graphic elements;

[0166] For example, Figure 11-1 As shown in the figure, the skeleton line shows the process after the widening line (left) transforms into the wide surface (right). Figure 11-1 It can be seen that the variable width line that stores the metadata in line symbols is converted into a variable width surface that stores the data in surface symbols.

[0167] Decompose the line symbol of the variable width line into several point entities, and display the control surface entity according to the attributes of the points.

[0168] Specifically, a width attribute is added to each point primitive to form a line primitive 82 (shown as a white line in the figure for clarity);

[0169] A surface can be determined by adding width attributes to two point primitives.

[0170] Connect the ends of the line elements on the same side in sequence to form a surface symbol.

[0171] from Figure 8-1 The skeleton line can more intuitively display the graphic description code of the feature element. The line symbol is converted into a surface symbol. The skeleton line of the feature element before the conversion is different from the skeleton line after the conversion. It can be seen from the figure that the original feature is a line symbol, and the converted one is a surface symbol.

[0172] like Figure 8-2 The figure shows the process of converting a widening line (left) into a widening surface (right). The widening line and the widening surface are the same in appearance.

[0173] contrast Figure 8-1 and 8-2 It can be seen that the change of width line to width surface is the change of graphic element description code and display control code, while the change of display control cannot be seen from the display graphics.

[0174] For example, Figure 9-1 As shown in the figure, the display effects of road lines (above) and road surfaces (below) are the same, but the road lines have line symbols, while the road surfaces have surface symbols. The graphic descriptions and dynamic displays of the two are different.

[0175] like Figure 9-2 As shown in the figure, the selected road line (above) and road surface (below) under the skeleton line display effect. From the skeleton line display, it can be seen that the road line and road surface are different in display graphics. The road line is a line symbol, and the road surface is a surface symbol. The storage data of the road line also contains other surface primitives.

[0176] The conversion of a line symbol or a road line into a surface symbol or a road line includes the following steps:

[0177] Obtain a symbol data cluster of a line symbol gradual width line or a road line, and decompose the data cluster into multiple groups of graphic element data;

[0178] Determine the attribute data of the surface primitives contained in the multiple groups of primitive data; modify the attribute data of the surface primitives to make them displayed, hide the original line primitives, and form the primitive description code of the new symbol data cluster.

[0179] Fig.10 This is a flow chart of the fifth geographic information data element conversion method of the embodiment of the present application, which specifically includes steps: 110~130, 1010~1020.

[0180] In one embodiment, the trigger of the symbol data processing is a display control type change, and further comprises the steps of:

[0181] Step 1010, the step of converting a surface symbol into a line symbol, selects a length direction, and selects a line element from the decomposed surface symbol.

[0182] The step of converting the surface symbol into the line symbol, for example, in response to the first indication information, the surface symbol is converted into the line symbol, using any of the following methods:

[0183] The conversion of surface to line can be understood as a reverse method of line to surface conversion. It not only plays the role of geometric type transformation, such as converting house surface to linear house, pedestrian bridge surface to pedestrian bridge line, slope surface to slope line, etc., that is, the elements that cannot be expressed according to the scale are replaced by semi-scale elements, which can be the center line or the edge line.

[0184] In one embodiment, the steps include:

[0185] Get the line metadata of a certain edge or center line in the polygon symbol;

[0186] Step 1020, select a length direction and decompose the surface symbol into several graphic elements; select line graphic elements parallel to the length direction from several graphic elements.

[0187] For example, the position of the selected line element is centered in the middle of the surface symbol;

[0188] For another example, the position of the selected line element is located on the outline of the surface symbol.

[0189] In one embodiment, the bridge of the surface symbol is converted into the bridge of the line symbol, specifically comprising the steps of:

[0190] Obtain the symbol data cluster of the bridge of the surface symbol, and decompose the data cluster into multiple groups of graphic element data;

[0191] Determine the attribute data of the line graphics element contained in the multiple groups of graphics element data; modify the attribute data of the line graphics element to make it displayed, hide the original surface graphics element, and form the graphics element description code of the new symbol data cluster.

[0192] For example, Figure 11-1 As shown, under the symbolic display effect, the pedestrian bridge deck 111 and the pedestrian bridge line 112 at a scale of 1:10000 are displayed simultaneously. According to the corresponding scale expression requirements, when the width dimension is less than or equal to the half-scale dimension, it is represented by the half-scale dimension. Therefore, the surface symbol is identified as the line symbol, which involves the conversion of geometric forms.

[0193] It should be noted that Figure 11-1The middle is the intermediate state 113 of the pedestrian bridge deck being converted to a pedestrian bridge line. A display image of a double-arrow graphic element 114 of a pedestrian bridge line is added to the display control of the pedestrian bridge deck. Then, the pedestrian bridge deck is decomposed into graphic elements, other graphic elements are eliminated, and only the double-arrow graphic element is retained, so that the pedestrian bridge deck can be converted to a pedestrian bridge line. From the perspective of graphic element description, the pedestrian bridge deck is converted from a surface feature element to a line feature element. From the perspective of display control, the original bridge deck is displayed as a bridge line with a double-arrow.

[0194] like Figure 11-2 As shown in the figure, Figure 11-1 correspond, Figure 11-2 for Figure 11-1 From the skeleton line display effect, it can be seen that after being selected, the pedestrian bridge deck 115 and the pedestrian bridge line with double arrows at a scale of 1:10000 are displayed. From the perspective of element description, their data both contain surface elements. When the pedestrian bridge deck is transformed into the intermediate state of the pedestrian bridge 117, and the display image of the double arrow element of the pedestrian bridge line is drawn, the symbol is still a surface symbol. From the perspective of element description, the pedestrian bridge line 116 contains line elements and is displayed as a line symbol.

[0195] The bridge line in the figure is converted from the center line of the bridge deck.

[0196] Fig.12 A geographic information data element conversion device according to an embodiment of the present application is used to implement the geographic information data element conversion method according to any one of the embodiments of the first aspect, comprising:

[0197] The geographic information database / achievement map database 124 is used to store the symbol data clusters of the target objects and the processed new symbol data clusters.

[0198] The acquisition module 121 is used to acquire the symbol data cluster of the target object and decompose the data cluster into multiple groups of image metadata.

[0199] The determination module 122 is used to process at least one set of metadata among the multiple sets of metadata to form new metadata.

[0200] The synthesis module 123 updates at least a part of the plurality of groups of graphic element data to form a new symbol data cluster of the target feature.

[0201] In one of the embodiments, the determination module includes a first trigger unit for triggering processing of multiple groups of symbol data according to type changes.

[0202] The first trigger unit includes a first subunit, which is used to convert a point symbol into a line symbol or a surface symbol.

[0203] The first trigger unit includes a second subunit, which is used for converting line symbols into point symbols or surface symbols.

[0204] The first trigger unit includes a third subunit, which is used for converting a surface symbol into a point symbol or a line symbol.

[0205] In one of the embodiments, the determination module includes a second trigger unit, which is used to trigger the processing of multiple groups of symbol data according to the scale change.

[0206] In one of the embodiments, the determination module includes a third trigger unit, which is used to trigger the processing of multiple groups of symbol data according to the change of the position combination relationship.

[0207] In one of the embodiments, the determination module further includes a parameter change unit, which is used to automatically change the parameters of the decomposed new symbol, including code, layer and color.

[0208] Fig.13 Schematic diagram of the commercial server system for the application scenario of this application.

[0209] An embodiment of the present application also proposes a geographic information data processing system for implementing the method described in any embodiment of the present application, including: an original geographic information database 131, a data processor 132, a GUI operation interface 133, an application terminal 134, and at least one result map data set 135.

[0210] The original geographic information database is used to store geographic information entity data.

[0211] The GUI operation interface and / or application terminal is used to input setting conditions. Trigger the acquisition module, determination module, synthesis module or display module. It is also used to access the result data set according to the set application scope (spatial scope and attribute scope) to obtain data. The data processor responds to the instructions of the GUI, obtains the symbol data cluster of the target object, decomposes the data cluster into multiple groups of image data; processes at least one group of image data in the multiple groups of image data to form new image data; updates at least a part of the multiple groups of image data to form a new symbol data cluster of the target object. The result map data set is used to store geographic information related data.

[0212] It should be understood that the above-mentioned specific related contents are only used for illustrative purposes and should not impose any limitation on the present application.

[0213] The specific method for implementing the functions of the above-mentioned modules is as described in the various method embodiments of the first aspect of the present application, and will not be repeated here.

[0214] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0215] Therefore, the present application also proposes a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method described in any embodiment of the present application is implemented.

[0216] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0217] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0218] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0219] Furthermore, the present application also proposes an electronic device (or computing device), comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any embodiment of the present application when executing the computer program.

[0220] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium. Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. According to the definition in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0221] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0222] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for converting geographic information data elements, characterized in that: include: Acquire a symbol data cluster of a target object, wherein the symbol data cluster includes a display control code and a graphic element description code; The graphic element description code includes the attribute data of the graphic element; the display control code is driven by the graphic element description code to display the graphics of the symbol data cluster; In the symbol data cluster, a symbol description table is set, which includes a graphic element group identifier, and one graphic element group identifier corresponds to: one or more basic graphic element codes, and / or one or more sub-graphic element group identifiers; Decomposing the data cluster into multiple groups of graphic element data, wherein basic graphic elements are grouped to form a symbol description table, and the data cluster is decomposed according to the graphic element group identifier of the symbol description table; Processing at least one set of the plurality of sets of the graphic element data includes: determining a graphic element to be modified, modifying a graphic element description code corresponding to the graphic element, and forming new graphic element data; At least a portion of the multiple groups of graphic element data is updated to form a new symbol data cluster of the target feature.

2. The method for converting geographic information data elements according to claim 1, characterized in that: The process further comprises at least one of the following steps: The step of converting a point symbol into a line symbol or a surface symbol is to select a line element from the decomposed point symbol data and extend the length attribute of the line element in one direction or two opposite directions; or to select a surface element in the point symbol data and extend the surface element in multiple directions; The step of converting a line symbol into a point symbol is to select a point element from the decomposed line symbol and convert the length direction of the line symbol into an angle attribute; The steps of converting a face symbol into a point symbol are: selecting a point primitive from the decomposed face symbol, and converting the direction of the point in the face symbol or the custom direction into an angle attribute; The step of converting a line symbol into a surface symbol is to select a surface element from the decomposed line symbol and increase the width attribute of the surface element; To convert a surface symbol into a line symbol, select a length direction and select a line entity from the decomposed surface symbol.

3. The method for converting geographic information data elements according to claim 1, characterized in that: Set the display properties of the basic graphics to achieve the hiding of the graphics in the symbol, or display the graphics specified in the symbol description table.

4. The method for converting geographic information data elements according to claim 1, characterized in that: The processing includes modifying at least one attribute parameter of position, scale, color, scale, display or hiding.

5. The method for converting geographic information data elements according to claim 1, characterized in that: The new symbol data cluster of the target object also includes the following steps: The new symbol is displayed by driving the display control code through the graphic element description code of the new symbol data cluster.

6. The method for converting geographic information data elements according to claim 1, characterized in that: The conversion of a point symbol river flow arrow to a line symbol river flow arrow includes the following steps: Obtain the symbol data cluster of the point symbol river flow direction arrow, and decompose the data cluster into multiple groups of graphic element data; Determine the attribute data of the straight line primitives contained in the multiple groups of primitive data; modify the attribute data of the straight line primitives to make them displayed, hide the original point primitives, and form the primitive description code of the new symbol data cluster.

7. The method for converting geographic information data elements according to claim 1, characterized in that: The conversion of point symbol bridge piers to surface symbol bridge piers includes the following steps: Obtain the symbol data cluster of the point symbol bridge pier column, and decompose the data cluster into multiple groups of graphic element data; Determine the attribute data of the surface primitives contained in the multiple groups of primitive data; modify the attribute data of the surface primitives to make them displayed, hide the original point primitives, and form the primitive description code of the new symbol data cluster.

8. The method for converting geographic information data elements according to claim 1, characterized in that: The conversion of a line symbol or a road line into a surface symbol or a road line includes the following steps: Obtain a symbol data cluster of a line symbol gradual width line or a road line, and decompose the data cluster into multiple groups of graphic element data; Determine the attribute data of the surface primitives contained in the multiple groups of primitive data; modify the attribute data of the surface primitives to make them displayed, hide the original line primitives, and form the primitive description code of the new symbol data cluster.

9. The method for converting geographic information data elements according to claim 1, characterized in that: The conversion of a polygon symbol bridge to a line symbol bridge includes the following steps: Obtain the symbol data cluster of the bridge of the surface symbol, and decompose the data cluster into multiple groups of graphic element data; Determine the attribute data of the line graphics element contained in the multiple groups of graphics element data; modify the attribute data of the line graphics element to make it displayed, hide the original surface graphics element, and form the graphics element description code of the new symbol data cluster.

10. A geographic information data element conversion device, characterized in that: The method for implementing the geographic information data element conversion method according to any one of claims 1 to 9 comprises: An acquisition module, used for acquiring a symbol data cluster of a target object and decomposing the data cluster into multiple groups of image data; A determination module, used for processing at least one set of image data among the multiple sets of image data to form new image data; The synthesis module updates at least a portion of the plurality of groups of graphic element data to form a new symbol data cluster of the target object.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.

12. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Ontology-based map symbol expression method and system

    CN107885863A

  • Petroleum geology and geophysical graphic symbol compilation and sharing method

    CN112417189A

  • Bridge type geographic information data processing method and device

    CN118012967A

  • Power transmission line type geographic information data processing method and device

    CN118012968A

  • Geographical information providing system and geographical information description method

    JP1998312452A