1. A method comprising: receiving map data and a selected linear element indication, wherein the map data comprises a list of map elements; extracting map elements within a bounding box; indexing the extracted map elements, wherein the indexing comprises spatial indexing; correlating, using a processor, the indexed map elements with a plurality of sub segments of the linear element; and generating a composite indexable linear data structure based on the correlation of map elements with the plurality of sub-segments of the linear element.