A map symbol design method and apparatus
By designing map symbol generation rules and extension point drawing algorithms, and combining image illustration symbols and Bézier curve algorithms, the problem of complex map symbol editing was solved, enabling flexible generation and efficient editing of map symbols.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2026-03-24
AI Technical Summary
In existing technologies, the editing of map symbol data is complex, making it difficult to flexibly display the final presentation effect, and the editing process is not simple enough.
By designing map symbol generation rules, including control point and extension point drawing algorithms, and combining image illustration symbols to establish a mapping relationship table, map symbols are generated using the Bézier curve algorithm, and attribute information editing and adjustment are supported.
It enables flexible generation and editing of map symbols, improving the ease and flexibility of editing, and allowing for quick adjustment of symbol shape and color according to business needs.
Smart Images

Figure CN115470425B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of map design technology, and in particular to a map symbol design method and apparatus. Background Technology
[0002] WebGIS (Web Geographic Information System) refers to GIS that operates on the Web. It is an extension and development of traditional GIS on the Internet. It has the characteristics of traditional GIS and can realize the basic functions of GIS such as spatial data retrieval, query, mapping output, and editing. At the same time, it is the foundation for the release, sharing, and collaborative exchange of geographic information on the Internet.
[0003] In related technologies, in geographic information technology application systems, various geographic information data are generally displayed on two-dimensional or three-dimensional maps using different symbols combined with spatial location information. The display of static data is often used, requiring editing of map symbol data, which involves complex logic and limits the flexibility of the final presentation due to the inability to display symbols during the editing and drawing process.
[0004] Therefore, it is necessary to improve one or more of the problems existing in the above-mentioned related technical solutions.
[0005] It should be noted that this section is intended to provide background or context for the embodiments of the invention set forth in the claims. The description herein does not constitute an admission that it is prior art simply because it is included in this section. Summary of the Invention
[0006] The purpose of this invention is to provide a map symbol design method and apparatus, thereby overcoming, at least to some extent, one or more problems caused by the limitations and defects of related technologies.
[0007] According to a first aspect of the present invention, a map symbol design method is provided, comprising:
[0008] The map symbol generation rules are designed based on business needs and industry standards. The generation rules include control points for map symbols and an algorithm for drawing extension points based on the control points. The control points include at least skeleton points.
[0009] Design corresponding image symbols based on the designed map symbols, and establish a mapping table between the image symbols and the corresponding map symbol generation rules;
[0010] The generation rules for corresponding map symbols can be obtained by selecting the symbol shown in the image;
[0011] Based on the generation rules, the skeleton points of the map symbol are determined on the map interface, and the extension points are drawn using the determined skeleton points and the extension point drawing algorithm based on the skeleton points.
[0012] Generate the map symbols.
[0013] In one embodiment of the present invention, before obtaining the generation rules of the corresponding map symbol by selecting the image symbol, the method further includes: editing the attribute information of the corresponding map symbol at the image symbol according to the business attributes, and establishing a mapping relationship table between the attribute information and the color presentation of the map symbol.
[0014] In one embodiment of the present invention, the attribute information of the map symbol can be re-edited by clicking on the image symbol.
[0015] In one embodiment of the present invention, the step of generating map symbols includes:
[0016] Based on the extension points, contour points are added between the extension points according to the Bézier curve algorithm;
[0017] The extension points and contour points are connected to generate map symbols.
[0018] In one embodiment of the present invention, the method further includes: clicking on the generated map symbol, highlighting the control points of the map symbol, and modifying and adjusting the map symbol.
[0019] In one embodiment of the present invention, the method further includes storing the generation rules of the map symbols, the mapping table between the image schematic symbols and the corresponding map symbol generation rules, and the mapping table between the attribute information and the color presentation of the map symbols.
[0020] In one embodiment of the present invention, the control point further includes an auxiliary point, which is used at least to adjust the size, width and orientation of the map symbol.
[0021] In one embodiment of the present invention, the extension point drawing algorithm includes at least an azimuth algorithm and a distance algorithm.
[0022] In one embodiment of the present invention, the dot map symbol includes a skeleton point; the line map symbol and the area map symbol include multiple skeleton points.
[0023] According to a second aspect of the present invention, a map symbol design apparatus is provided, comprising:
[0024] The first design module is used to design map symbol generation rules based on business needs and industry standards. The generation rules include control points for map symbols and an extension point drawing algorithm based on the control points. The control points include at least skeleton points.
[0025] The second design module is used to design corresponding image symbols based on the designed map symbols, and to establish a mapping relationship table between the image symbols and the corresponding map symbol generation rules.
[0026] The selection module is used to obtain the generation rules of corresponding map symbols by selecting the image illustration symbols;
[0027] The drawing module is used to determine the skeleton points of the map symbol on the map interface based on the generation rules, and draw the extension points using the determined skeleton points and the extension point drawing algorithm based on the skeleton points.
[0028] The generation module is used to generate the map symbols.
[0029] The technical solutions provided by the embodiments of the present invention may include the following beneficial effects:
[0030] In the embodiments of the present invention, the map symbol design method and apparatus described above, on the one hand, generate map symbols by using control point and extension point drawing algorithms, so that the shape of the map symbols can be presented during the map symbol generation process; on the other hand, the map symbols can be adjusted by moving the position of the skeleton points during the map symbol generation process, which is highly flexible and the editing method is simple and quick. Attached Figure Description
[0031] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0032] Figure 1 This diagram illustrates the map symbol design process in an exemplary embodiment of the present invention.
[0033] Figure 2 This diagram illustrates the structure of a map symbol design device in an exemplary embodiment of the present invention. Detailed Implementation
[0034] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided so that the invention will be more comprehensive and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0035] Furthermore, the accompanying drawings are merely illustrative diagrams of embodiments of the present invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities.
[0036] This example implementation first provides a method for designing map symbols. (Reference) Figure 1 As shown, the map symbol design method may include:
[0037] Step S101: Design map symbol generation rules based on business needs and industry standards. The generation rules include control points for map symbols and an algorithm for drawing extension points based on the control points. The control points include at least skeleton points.
[0038] Step S102: Design corresponding image symbols based on the designed map symbols, and establish a mapping table between the image symbols and the corresponding map symbol generation rules;
[0039] Step S103: Obtain the generation rules for the corresponding map symbols by selecting the image illustration symbols;
[0040] Step S104: Based on the generation rules, determine the skeleton points of the map symbol on the map interface, and draw the extension points using the determined skeleton points and the extension point drawing algorithm based on the skeleton points.
[0041] Step S105: Generate the map symbols.
[0042] Specifically, in step S101, map symbol generation rules are designed based on the business requirements of the map and industry standards. This means the generation rules are designed according to the desired shape of the map symbol. The generation rules include control points and an algorithm for drawing extension points based on these control points. The skeleton points are equivalent to the basic positioning points of the map symbol. The extension point drawing algorithm calculates the positions of the extension points based on the skeleton points after determining their positions, according to the desired shape of the final map symbol. This algorithm can be a pre-written program by the developers.
[0043] In step S102, in order to make the operation convenient for designers, corresponding image symbols can be designed based on the designed map symbols. The image symbols are simple symbols that represent map symbols. After generating the image symbols, it is also necessary to generate a mapping table between the image symbols and the corresponding map symbol generation rules, so that the corresponding map symbol generation rules can be quickly found through the image symbols.
[0044] In step S103, designers can, for example, quickly select the generation rules for the geographic icons they want to generate by selecting illustrative symbols on the control panel.
[0045] In step S104, the skeleton points of the map symbol can be determined on the map interface by clicking or other operations. After the skeleton points are determined, the extension points can be drawn quickly based on the corresponding extension point drawing algorithm.
[0046] In step S105, after the skeleton points and extension points are determined, the corresponding map symbols can be generated based on the skeleton points and extension points.
[0047] The above-mentioned map symbol design method, on the one hand, generates map symbols by drawing control points and extension points, and the shape of the map symbols can be presented during the map symbol generation process; on the other hand, the map symbols can be adjusted by moving the position of the skeleton points during the map symbol generation process, which is highly flexible and the editing method is simple and quick.
[0048] Below, we will refer to Figure 1 The various parts of the map symbol design method described above in this example embodiment will be explained in more detail.
[0049] In one embodiment, before obtaining the generation rules of the corresponding map symbol by selecting the image symbol, the method may further include: editing the attribute information of the corresponding map symbol at the image symbol according to the business attributes, and establishing a mapping relationship table between the attribute information and the color presentation of the map symbol.
[0050] Specifically, depending on the scope of business being used, the attribute information of the corresponding map symbols can be edited at the image illustration symbols, and the corresponding map symbol display color can be matched according to the attribute information. For example, airport maps and military maps have different business natures, and their attributes can be edited to distinguish them. Based on the attribute information, the same map symbols can be displayed with different colors to distinguish map symbols according to business attributes.
[0051] In one embodiment, the attribute information of the map symbol can be re-edited by clicking on the image symbol.
[0052] Specifically, users can click to edit, modify, and update the attribute information of map symbols.
[0053] In one embodiment, the step of generating map symbols includes:
[0054] Based on the extension points, contour points are added between the extension points according to the Bézier curve algorithm;
[0055] The extension points and contour points are connected to generate map symbols.
[0056] Specifically, after drawing the extension points, in order to make the map symbols more beautiful and complete, contour points can be added between the extension points according to the Bézier curve algorithm to make the contour points denser, the curve transition after connecting the points is smoother, and the generated map symbols are more beautiful.
[0057] In one embodiment, the method further includes: clicking on the generated map symbol, highlighting the control points of the map symbol, and modifying and adjusting the map symbol.
[0058] Specifically, you can adjust the position and shape of a map symbol by clicking on it and moving the skeleton points.
[0059] In one embodiment, the method further includes storing the generation rules of the map symbols, a mapping table between the image schematic symbols and the corresponding map symbol generation rules, and a mapping table between the attribute information and the color presentation of the map symbols.
[0060] Specifically, the generation rules of the map symbols, the mapping table between the image schematic symbols and the corresponding map symbol generation rules, and the mapping table between the attribute information and the color presentation of the map symbols are stored so that they can be called, modified, and other operations in subsequent use.
[0061] In one embodiment, the control point further includes auxiliary points, which are used at least to adjust the size, width, and orientation of the map symbols.
[0062] Specifically, using only skeleton points to adjust the size, width, and orientation of map symbols may easily alter their shape due to inconsistent operation. Therefore, control points can also include auxiliary points. By setting auxiliary points, adjustments to the size, width, and orientation of map symbols can be made quickly, conveniently, and easily.
[0063] In one embodiment, the extension point drawing algorithm includes at least an azimuth algorithm and a distance algorithm.
[0064] Specifically, the extension point drawing algorithm may include azimuth algorithm and distance algorithm, and of course may include other algorithms, which are not specifically limited here.
[0065] In one embodiment, the dot map symbol includes a skeleton point; the line map symbol and the area map symbol include multiple skeleton points.
[0066] This example embodiment also provides a map symbol design device, please refer to... Figure 2,include:
[0067] The first design module is used to design map symbol generation rules based on business needs and industry standards. The generation rules include control points for map symbols and an extension point drawing algorithm based on the control points. The control points include at least skeleton points.
[0068] The second design module is used to design corresponding image symbols based on the designed map symbols, and to establish a mapping relationship table between the image symbols and the corresponding map symbol generation rules.
[0069] The selection module is used to obtain the generation rules of corresponding map symbols by selecting the image illustration symbols;
[0070] The drawing module is used to determine the skeleton points of the map symbol on the map interface based on the generation rules, and draw the extension points using the determined skeleton points and the extension point drawing algorithm based on the skeleton points.
[0071] The generation module is used to generate the map symbols.
[0072] The aforementioned map symbol design device, on the one hand, generates map symbols through a control point and extension point drawing algorithm, and can present the shape of the map symbols during the map symbol generation process; on the other hand, the map symbols can be adjusted by moving the position of the skeleton points during the map symbol generation process, which is highly flexible and the editing method is simple and quick.
[0073] It should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise" in the above description indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing the embodiments of the present invention and simplifying the description, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the embodiments of the present invention.
[0074] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of embodiments of the present invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0075] In the embodiments of this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0076] In embodiments of the present invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature being directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature being directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.
[0077] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. In addition, those skilled in the art can combine and integrate the different embodiments or examples described in this specification.
[0078] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the appended claims.
Claims
1. A method for designing map symbols, characterized in that, include: Based on business needs and industry standards, map symbol generation rules are designed. The generation rules include control points for map symbols and extension point drawing algorithms based on the control points. The control points include at least skeleton points, and the extension point drawing algorithms include at least azimuth algorithms and distance algorithms. Design corresponding image symbols based on the designed map symbols, and establish a mapping table between the image symbols and the corresponding map symbol generation rules; The generation rules for corresponding map symbols can be obtained by selecting the symbol shown in the image; Based on the generation rules, the skeleton points of the map symbol are determined on the map interface, and the extension points are drawn using the determined skeleton points and the extension point drawing algorithm based on the skeleton points. Generating the map symbols includes: Based on the extension points, contour points are added between the extension points according to the Bézier curve algorithm; The extension points and contour points are connected to generate map symbols.
2. The map symbol design method according to claim 1, characterized in that, Before obtaining the generation rules of the corresponding map symbol by selecting the image illustration symbol, the method also includes: editing the attribute information of the corresponding map symbol at the image illustration symbol according to the business attributes, and establishing a mapping relationship table between the attribute information and the color presentation of the map symbol.
3. The map symbol design method according to claim 1, characterized in that, The attribute information of the map symbol can be edited by clicking on the symbol in the image.
4. The map symbol design method according to claim 1, characterized in that, Also includes: Clicking on the generated map symbol highlights its control points, allowing you to modify and adjust the map symbol.
5. The map symbol design method according to claim 2, characterized in that, Also includes: The generation rules for the map symbols, the mapping table between the image schematic symbols and the corresponding map symbol generation rules, and the mapping table between the attribute information and the color presentation of the map symbols are stored.
6. The map symbol design method according to claim 5, characterized in that, The control points also include auxiliary points, which are used at least to adjust the size, width, and orientation of the map symbols.
7. A map symbol design device, characterized in that, include: The first design module is used to design map symbol generation rules based on business needs and industry standards. The generation rules include control points for map symbols and extension point drawing algorithms based on the control points. The control points include at least skeleton points, and the extension point drawing algorithms include at least azimuth algorithms and distance algorithms. The second design module is used to design corresponding image symbols based on the designed map symbols, and to establish a mapping relationship table between the image symbols and the corresponding map symbol generation rules. The selection module is used to obtain the generation rules of corresponding map symbols by selecting the image illustration symbols; The drawing module is used to determine the skeleton points of the map symbol on the map interface based on the generation rules, and draw the extension points using the determined skeleton points and the extension point drawing algorithm based on the skeleton points. The generation module, used to generate the map symbols, includes: Based on the extension points, contour points are added between the extension points according to the Bézier curve algorithm; The extension points and contour points are connected to generate map symbols.
Citation Information
Patent Citations
Ontology-based map symbol expression method and system
CN107885863A
Method for converting punctiform elements in CorelDraw map into SuperMap by using VBA
CN112487124A