主权项 |
1. A method comprising:
receiving map data and a selected linear element indication, wherein the map data comprises a list of map elements; extracting, by a processor, map elements within a bounding box; indexing, by the processor, the extracted map elements, wherein the indexing comprises spatial indexing; correlating, using the processor, the indexed map elements with a plurality of sub segments of the linear element by segmenting the linear element into the plurality of sub-segments, and searching the spatial index for map elements within a predetermined distance from each sub-segment, wherein segmenting the linear element into the plurality of sub-segments comprises segmenting the linear element into sub-segments of a predetermined length, wherein the predetermined length is established based on a density of the map elements within the bounding box; generating a composite indexable linear data structure based on the correlation of map elements with the plurality of sub-segments of the linear element; and using the composite indexable linear data structure, providing for presentation of a map rendering, wherein the map elements corresponding to the composite indexable linear data structure are visually distinguished and enhanced with one or more of building footprint data or three-dimensional building mesh data. |