Method and device for combining line element in electronic map
An electronic map and line element technology, which is applied in the fields of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of insufficient combination of line elements, waste of storage resources, etc., so as to improve efficiency, save storage resources, and reduce strips. effect of numbers
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Such as figure 1 Shown is an exemplary flowchart of a method for merging line features in an electronic map in an embodiment of the present invention, and the method includes the following steps:
[0037] Step 101: From the queue of line elements to be merged, select a line element as a reference line element.
[0038] Step 102: Perform a merging operation on the reference line elements. The merging operation specifically includes: traversing the line elements in the queue of line elements to be merged except for the reference line elements, and judging whether the currently traversed line elements are Can be merged with the reference line element; if so, merge the currently traversed line element into the reference line element to generate a new reference line element, and use the new reference line element to traverse the next line element, and, from the line element to be merged Delete the currently traversed line features from the queue; if all the line features ex...
Embodiment 2
[0073] Assuming that the tile H includes 5 line elements, which are respectively recorded as 1, 2, 3, 4, and 5, the positional relationship of these 5 line elements is as follows: figure 2 shown. Here, taking the merging of the line elements of tile H as an example, the method for merging line elements in the electronic map provided by the embodiment of the present invention is described in detail, as follows image 3 As shown, the method includes the following steps:
[0074] Step 301: Obtain at least two line elements in the tile H that are generated by segmentally collecting the same road, and add them to the queue of line elements to be merged.
[0075] At this point, it is assumed that the arrangement order of the line elements in the line element queue to be merged is 1, 2, 3, 4, 5.
[0076] Step 302: Record the number of line elements in the queue of line elements to be merged, and select a line element from the queue of line elements to be merged as a reference line...
Embodiment 3
[0087] Based on the same inventive concept, the embodiment of the present invention also provides a device for merging line elements in an electronic map, such as Image 6 Described, is the schematic diagram of this device, and this device comprises:
[0088] A selection module 601, configured to select a line element as a reference line element from the queue of line elements to be merged;
[0089] The merging module 602 is configured to perform step B: perform a merging operation on reference line elements, and the merging operation specifically includes:
[0090] Traverse the line elements in the line element queue to be merged except for the reference line element, and judge whether the currently traversed line element can be merged with the reference line element for the currently traversed line element; if so, merge the currently traversed line element The element is merged into the reference line element to generate a new reference line element, and the new reference l...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com