以建筑平面图为数据源,提出了一种自动生成室内地图空间数据的方法。首先,结合室内地图空间数据的需求分析了建筑平面图的基本特征,提出了墙段、邻接节点和相邻墙段的概念,并在此基础上建立了自动生成室内地图空间数据的基本流程。然后,根据与柱子相交墙线的相邻关系,建立了与柱子关联墙体连通性的恢复方法;结合渐进扩张与图形推理判断门窗两侧墙体符号局部特征的类型,通过修正门窗外接矩形,建立了与门窗关联墙体连通性的恢复方法和将门窗转换为室内地图点状要素的方法。最后,基于相邻墙段中心线的几何关系,建立了墙体中线的提取算法。以某展览馆的建筑平面图为例进行试验,结果表明本文的方法针对多种复杂情况均有较好的适用性,有效实现了室内地图空间数据的自动生成。
Taking architectural plans as data source, we proposed a method which can automatically generate indoor map spatial data. Firstly, referring to the spatial data demands of indoor map, we analyzed the basic characteristics of architectural plans, and introduced concepts of wall segment, adjoining node and adjoining wall segment, based on which basic flow of indoor map spatial data automatic generation was further established. Then, according to the adjoining relation between wall lines at the intersection with column, we constructed a repair method for wall connectivity in relation to the column. Utilizing the method of gradual expansibility and graphic reasoning to judge wall symbol local feature type at both sides of door or window, through update the enclosing rectangle of door or window, we developed a repair method for wall connectivity in relation to the door or window and a method for transform door or window into indoor map point feature. Finally, on the basis of geometric relation between adjoining wall segment median lines, a wall center-line extraction algorithm was presented. Taking one exhibition hall's architectural plan as example, we performed experiment and results show that the proposed methods have preferable applicability to deal with various complex situations, and realized indoor map spatial data automatic extraction effectively.