OpenStreetMap (OSM) road networks provide public digital maps underlying many spatial applications such as routing engines and navigation services. However, turning relationships and time restrictions at OSM intersections are lacking in these maps, posing a threat to the accuracy and reliability of the services. In this paper, a new turn information detection method for OSM intersections using the dynamic connection information from crowdsourced trajectory data is proposed to address this problem. In this solution, the OSM intersection structure is extracted and simplified and crowdsourced trajectories are projected onto OSM road segments using an improved Hidden Markov Model (HMM) map matching method that explicitly traces the turning connections in road networks. Optimal path analysis increases the turning support related to short road segments. On this basis, this study transforms complex turning identification scenarios into the simple analyses of traffic connectivity. Furthermore, a voting strategy is used to identify and calculate turning time restrictions. The experimental results, using trajectory data from three cities in China, show that the turning relationships can be detected at a precision of 90.71% with a recall of 96.55% and an F1-value of 93.54% in Shanghai. For Wuhan, the precision is 95.33% and the recall is 95.00%, with an F1-value of 95.16%. The precision and recall when identifying turning time restrictions both reach 90% in Xiamen. These results demonstrate the effectiveness of the proposed turning detection method.
Accurate side road detection is essential for traffic management, urban planning, and vehicle navigation. However, existing research mainly focuses on road network construction, lane extraction, and intersection identification, while fine-grained side road detection remains underexplored. Therefore, this study proposes a road segment-level side road detection method based on crowdsourced trajectory data: First, considering the geometric and dynamic characteristics of trajectories, SRDet introduces a trajectory lane-change pattern recognition method based on mutation intervals to distinguish the heterogeneity of lane-change behaviors between main and side roads. Secondly, combining geometric features with spatial statistical theory, SRDet constructs multimodal features for trajectories and road segments, and proposes a potential side road segment classification model based on random forests to achieve precise detection of side road segments. Finally, based on mutation intervals and potential side road segments, SRDet utilizes density peak clustering to identify main and side road access points, completing the fitting of side roads. Experiments were conducted using 2021 Beijing trajectory data. The results show that SRDet achieves precision and recall rates of 84.6% and 86.8%, respectively. This demonstrates the superior performance of SRDet in side road detection across different areas, providing support for the precise updating of urban road navigation information.