The invention discloses a method for calculating the boundary of route protection zone, which is used to calculate the coordinate point set of the boundary line of route protection zone through the preset protection distance. The route is connected by the starting point L1, the turning point L2 Ln 1 and the ending point Ln located on the route. The method includes the following steps: The set of coordinate points of the boundary line of the semi-circle protective zone of starting point L1; the set of coordinate points of the boundary line of the protective zone of calculating the turning point L2 Ln 1 of each route; the set of coordinate points of the boundary line of the semi-circle protective zone of calculating the end point Ln of the route; the set of starting points L1, the turning point L2 Ln 1 and the end of the merging route The coordinate points of the boundary line of the protective zone of point Ln form the boundary line of the protective zone of the said route; calculate the intersection points of the boundary line of the protective zone of the route; filter the invalid points in the boundary line of the protective zone of the said route; and obtain the final boundary line of the protective zone of the said route.
【技术实现步骤摘要】
路线防护区边界的计算方法
本专利技术属于路线防护区
,具体涉及一种路线防护区边界的计算方法。
技术介绍
目前基于GPS路线的缓冲区计算方法基本都是采用ArcGIS软件提供的相应缓冲区计算方法,但由于ArcGIS软件未提供动态路线的缓冲区获取接口,很大程度上限制其应用场景。人行进路线需在不同的距离范围设置安全防护及警力部署,同时还需对路线一定距离范围内的要素进行关联分析比对,计算危险指数及防护等级,这就需要有一种算法能够根据客户设置的路线及防护距离计算出缓冲区边界点集合的方法。几何角度上看,所有的路线都可以简化成若干条线段的集合,根据数据几何原理,基本上可以满足简单的线性路线进行防护区域的边界点的计算,但对于复杂的弯曲的路线,采用以上的方法无法满足需求。由此可见,专利技术一种可实现任何路线计算的路线防护区边界的计算方法是亟待解决的生产问题。
技术实现思路
有鉴于此,本专利技术的目的在于提供一种路线防护区边界的计算方法,主要根据路线的GPS点集合和防护距离计算出防护区域的边界点集合。为实现上述目的,本专利技术提供一种路线防护区边界的计算方法,所述方法用于通过预设的防护距离计算出路线的防护区边界线的坐标点集合,所述路线由位于路线上的起点L1、转折点L2-Ln-1和终点Ln连接而成,具体包括以下步骤:S1:计算所述路线的所述起点L1的半圆防护区边界线的坐标点集合;S2:计算所述路线的各个所述转折点L2-Ln-1的防护区边界线的坐标点集合;S3:计算所述路线的所述终点Ln的半圆防护区边界线的坐标点集合;S4:合并所述路线的所述起点L1、所述转折点L2-Ln-1和所 ...
【技术保护点】
1.一种路线防护区边界的计算方法,其特征在于,所述方法用于通过预设的防护距离计算出路线的防护区边界线的坐标点集合,所述路线由位于路线上的起点L1、转折点L2‑Ln‑1和终点Ln连接而成,具体包括以下步骤:S1:计算所述路线的所述起点L1的半圆防护区边界线的坐标点集合;S2:计算所述路线的各个所述转折点L2‑Ln‑1的防护区边界线的坐标点集合;S3:计算所述路线的所述终点Ln的半圆防护区边界线的坐标点集合;S4:合并所述路线的所述起点L1、所述转折点L2‑Ln‑1和所述终点Ln的防护区边界线的坐标点集合,形成所述路线的防护区边界线;S5:计算所述路线的防护区边界线的交叉点;S6:过滤所述路线的防护区边界线内的无效点;以及S7:得出所述路线的最终的防护区边界线。
【技术特征摘要】
1.一种路线防护区边界的计算方法,其特征在于,所述方法用于通过预设的防护距离计算出路线的防护区边界线的坐标点集合,所述路线由位于路线上的起点L1、转折点L2-Ln-1和终点Ln连接而成,具体包括以下步骤:S1:计算所述路线的所述起点L1的半圆防护区边界线的坐标点集合;S2:计算所述路线的各个所述转折点L2-Ln-1的防护区边界线的坐标点集合;S3:计算所述路线的所述终点Ln的半圆防护区边界线的坐标点集合;S4:合并所述路线的所述起点L1、所述转折点L2-Ln-1和所述终点Ln的防护区边界线的坐标点集合,形成所述路线的防护区边界线;S5:计算所述路线的防护区边界线的交叉点;S6:过滤所述路线的防护区边界线内的无效点;以及S7:得出所述路线的最终的防护区边界线。2.根据权利要求1所述的方法,其特征在于,所述S1的步骤具体包括:S11:根据点L1、L2的坐标,计算线L1L2的方位角A1;S12:根据线L1L2的所述方位角A1,计算垂直于线L1L2的方位角B1;S13:根据所述方位角B1及所述防护距离,每隔一定角度建立一个坐标点,计算出所述起点L1的半圆防护区边界线的坐标点集合。3.根据权利要求2所述的方法,其特征在于,所述S2的步骤具体包括:S21:根据形成所述转折点L2-Ln-1的其中一个转折点的两个路段的方位角,计算出垂直于所述两个路段的四个方位角;S22:根据所述四个方位角、所述其中一个转折点的坐标及防护距离,计算出所述两个路段的防护区边界线的坐标点集合;S23:计算出所述两个路段的方位角差值;S24:根据所述方位角差值及防护距离,计算出所述其中一个转折点的扇形防护区边界线的坐标点集合;S25:针对所...
【专利技术属性】
技术研发人员:陈志飞,沈昌祥,吴鸿伟,鄢小征,魏超,
申请(专利权)人:厦门市美亚柏科信息股份有限公司,
类型:发明
国别省市:福建,35
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。