High-speed railway infrastructure BIM-GIS virtual-real mapping method and system based on multi-level semantic constraint
Through the multi-level semantic constraint method, the accuracy and information integrity of BIM-GIS integration are achieved, and the problems of semantic information loss and terrain mismatch during BIM-GIS integration are solved, and the operation and maintenance efficiency of high-speed railway infrastructure is improved.
Patent Information
- Application Number
- CN202411180711.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-08-27
AI Technical Summary
During BIM-GIS integration, there is loss or redundancy of semantic information, resulting in low mapping accuracy and incomplete information, increasing mapping complexity. In addition, when BIM model imports GIS scenarios, terrain mismatch and large model data volume lead to slow speed and low efficiency. .
Using a multi-level semantic constraint method, the BIM model is stored through a tree structure, digital-to-analog separation between the component library and the information library, the mapping relationship is established, the components are filtered and updated, and the components are converted into OBJ format, the circuit skeleton and basic structure skeleton models are extracted, and the circuit skeleton models are constructed. Multi-level semantic constraint rules to realize accurate mapping and real-time updates between BIM models and GIS scenarios.
Improve the accuracy and information integrity of BIM-GIS integration, reduce mapping complexity, achieve the correct fit between the BIM model and the GIS terrain, avoid the problems of visual deviation and low efficiency, and ensure the correct topological relationship of the BIM model. Accurate connection with components.
Smart Images

Figure CN119046262A_ABST
Abstract
Description
Technical Field
[0001] A multi-level semantically constrained high-speed railway infrastructure BIM-GIS virtual-reality mapping method and system are used for high-speed railway infrastructure BIM-GIS virtual-reality mapping, belonging to the field of railway intelligent technology. Background Art
[0002] Railway scientific and technological innovation is an important part of the national scientific and technological innovation system and the first driving force for railway development. The "14th Five-Year Plan for Railway Scientific and Technological Innovation" and related documents emphasize the importance of intelligent operation and maintenance of high-speed railway infrastructure. Against the important background of the informatization strategy, these documents point out the necessity of organically combining modern information technology with high-speed railway operation and maintenance, aiming to build a more intelligent high-speed railway infrastructure operation and maintenance system. Deeply integrating modern information technology, such as artificial intelligence, big data analysis, and the Internet of Things, into the practice of high-speed railway operation and maintenance will provide new ideas and tools for high-speed railway operation and maintenance, so as to more effectively manage, monitor and maintain railway infrastructure.
[0003] The combination of BIM and GIS technology has outstanding advantages and complementary relationships in the operation and maintenance of high-speed railway infrastructure, and essentially builds an integrated system of macro and micro data. With its powerful spatial analysis and query capabilities, GIS technology fills the gap of BIM in the macro environment around the facility, provides comprehensive macro decision-making support for BIM management, and promotes the gradual upgrade of BIM application from single model design to multi-dimensional spatial data level. The application of GIS technology enables the accurate positioning of high-speed railway infrastructure in a large area and displays the surrounding natural and geological environment. At the same time, high-precision BIM models become the key micro data source of GIS. By locating the exact location of high-speed railway infrastructure, the high-precision three-dimensional model of BIM can be used to comprehensively manage, store, display and analyze the data collected by sensors. This integration can provide real-time and detailed information for the operation and maintenance of infrastructure, thereby effectively responding to various challenges. Therefore, studying the virtual-real mapping method of high-speed railway infrastructure of BIM and GIS can improve the efficiency of high-speed railway infrastructure management. High-speed railway managers can grasp the overall status and local details of the system at the same time. At the same time, the real-time update of the model can greatly improve the operation and maintenance efficiency and realize real-time and comprehensive perception of the operation status of the infrastructure.
[0004] However, the prior art has the following technical problems:
[0005] 1. There is loss or redundancy of semantic information during BIM-GIS integration, which results in low accuracy, incomplete information, and increased complexity during mapping.
[0006] 2. The terrain does not match when the BIM model is imported into the GIS scene. The model and the terrain cannot fit correctly, which causes visual deviation and affects the acquisition of spatial information;
[0007] 3. BIM model data is large in volume, and directly importing it into the GIS scene will result in problems such as slow speed, low efficiency, and screen freezes. Summary of the invention
[0008] The purpose of the present invention is to provide a BIM-GIS virtual-reality mapping method and system for high-speed railway infrastructure with multi-level semantic constraints, so as to solve the problems of semantic information loss or redundancy in BIM-GIS integration in the prior art, resulting in low accuracy and incomplete information after mapping, as well as increased complexity after mapping.
[0009] In order to achieve the above object, the technical solution adopted by the present invention is:
[0010] A multi-level semantically constrained BIM-GIS virtual-real mapping method for high-speed railway infrastructure includes the following steps:
[0011] Step 1: Based on the acquired BIM model of the high-speed railway infrastructure, an IFC component library and an information library stored in a tree structure are established, and a mapping relationship between the IFC component library and the information library is established;
[0012] Step 2: Screen, remove and update the IFC component library based on the screening rules to obtain a modified IFC component library;
[0013] Step 3, traverse the tree structure of the modified IFC component library, convert each node component into OBJ format to form an OBJ component library, store it in the tree structure of the modified IFC component library, and establish node mapping between the OBJ component library and the modified IFC component library and information library;
[0014] Step 4: extract the line skeleton based on the BIM model of the known high-speed railway infrastructure, and extract the skeleton model of the basic structure of the high-speed railway infrastructure based on the line skeleton, perform global and local fusion, and obtain a global-local combined skeleton model;
[0015] Step 5: Construct multi-level semantic constraint rules based on the global-local combined skeleton model;
[0016] Step 6: Based on the modified IFC component library, OBJ component library, information library, node mapping between the OBJ component library and the modified IFC component library and information library, the global-local combined skeleton model, and multi-level semantic constraint rules, the BIM model is mapped to the GIS scene, and the GIS scene is finally obtained and updated in real time.
[0017] Further, the specific steps of step 1 are:
[0018] Step 1.1: Convert the acquired BIM model of the high-speed railway infrastructure into an IFC file to achieve a unified BIM model format;
[0019] Step 1.2: Based on the component splitting rule, the retrieval package in the BIMServer API is called to split the BIM model converted into the IFC file into components. After the splitting, multi-level components are obtained, and the components are stored according to the component splitting rule to obtain the IFC component library. The component splitting rule refers to splitting the components in the IFC file into different professions, and splitting the tree structure for each profession. The profession includes roadbed, bridge, tunnel and track. The tree structure includes the project as the first-level root node and the roadbed, bridge, tunnel and track as the second-level child nodes.
[0020] Step 1.3: Based on the IFC component library, perform digital-analog separation to build an information library, and establish a mapping relationship between the IFC component library and the information library. The specific steps are as follows:
[0021] Step 1.31, use the depth-first algorithm to traverse the IFC component library, and then use the IFCOpenShell open source library to parse the traversed IFC file, extract the global ID, geometric information and non-geometric information of the BIM model component, and save the geometric information of the component in a CSV file and the non-geometric information of the component in a JSON file. The global ID of the component needs to be stored in the CSV file and the JSON file respectively. The geometric information includes geometric modeling information and coordinate transformation information, and the non-geometric information includes semantic information and attribute information.
[0022] Step 1.32, based on the tree structure of the IFC component library, a tree storage structure is established in which the geometric information and the non-geometric information correspond to the tree structure of the IFC component library one by one, that is, the CSV file storing the geometric information and the JSON file storing the non-geometric information are respectively organized into a tree storage structure corresponding to the tree structure of the IFC component library one by one, so as to obtain a plurality of information libraries including the tree structure, wherein the plurality of information libraries include the geometric information library and the non-geometric information library, and the global IDs of the components in the geometric information library and the non-geometric information library are used as node identifiers of the tree structure;
[0023] Step 1.33, based on the set mapping constraint rules, that is, constructing the mapping relationship rules between the IFC component library and each information library, wherein the mapping constraint rules mean that the mapping between the IFC component library and the corresponding information library is single injection and the tree structure is maintained, that is, each element in the tree structure of the IFC component library can only be mapped to a unique element in the tree structure of the corresponding information library and the tree structure must be maintained, and maintaining the tree structure means that if two nodes are in a parent-child relationship in the tree structure of the IFC component library, the mapping in the tree structure of the information library should also maintain the parent-child relationship;
[0024] Step 1.34: Use the mapping constraint rule as the mapping constraint and the global ID as the keyword to establish a one-to-one mapping relationship between the IFC component library and each information library, that is, establish a one-to-one mapping relationship between the IFC component library, the geometric information library, and the non-geometric information library.
[0025] Further, the specific steps of step 2 are:
[0026] Step 2.1, given the screening rule, the components in the IFC component library are screened by profession and node. The professional screening refers to the second-level nodes in the IFC component library dividing the high-speed railway infrastructure into different professional fields. The second-level nodes in the IFC component library are selected one by one as the root nodes to start the professional screening. On the basis of the professional screening, the nodes with no functional difference but only geometric size difference are screened, that is, the leaf nodes under the roadbed, bridge, tunnel, and track professions are screened. For the roadbed, all the leaf nodes contained in the fourth-level node are screened, and for the bridge, tunnel, and track, all the leaf nodes contained in the fifth-level node are screened;
[0027] Step 2.2, modify the IFC component library based on the geometric information library and screening rules, that is, perform professional and node screening and comparison on the CSV files in the geometric information library: take the second-level nodes of the geometric information library as the root node and traverse them one by one by profession, use the depth-first algorithm to traverse all the leaf nodes under each second-level node, and compare the geometric information of each leaf node with the remaining leaf nodes one by one. If there is a difference, retain the data of the leaf node in the remaining leaf nodes; if the same, use the mapping relationship between the geometric information library and the IFC component library to retrieve the leaf node in the IFC component library with the same geometric information as the corresponding leaf node in the geometric information library, and replace the leaf node data with the path information corresponding to the leaf node in the IFC component library. At the same time, the replaced leaf node no longer participates in the subsequent comparison, and finally obtains the modified IFC component library.
[0028] Further, the specific steps of step 3 are:
[0029] Step 3.1, traverse the modified IFC component library in sequence, and use the ifcConvert tool in the IfcOpenShell open source library to convert the IFC file into an OBJ format file for the leaf nodes that have not been replaced. For the replaced leaf nodes in the modified component library, only the path information is available, and the corresponding leaf nodes only need to retain their path information; at the same time, the global ID of the component lost during the conversion process is stored in the OBJ file;
[0030] Step 3.2, organize the obtained OBJ format files and leaf nodes with only path information in the same tree structure as the modified IFC component library to form a one-to-one corresponding OBJ component library and store it in the database, and use the global ID of the component in the OBJ component library as the node identifier of the tree structure;
[0031] Step 3.3: Based on the mapping constraint rules and the global ID, a one-to-one mapping relationship is established between the OBJ component library and the modified IFC component library, the geometric information library, and the non-geometric information library.
[0032] Further, the specific steps of step 4 are:
[0033] Step 4.1, using BIM software to manually or automatically extract the line centerline and various parameters of the horizontal and vertical sections of the BIM model of the known high-speed railway infrastructure, wherein the line centerline is the overall skeleton model or line skeleton, which is an actual line with a geometric shape, and the various parameters of the horizontal and vertical sections are the attribute information of the line centerline, including the starting slope information, elevation information and the location of the structure;
[0034] Step 4.2: Extract the skeleton models of four types of basic structures based on the BIM model of the known high-speed railway infrastructure, where the four types of basic structures are roadbed, bridge, tunnel and track; the specific steps are:
[0035] Step 4.21, artificially analyzing the core features of four types of infrastructure, namely, roadbed, bridge, tunnel and track, and constructing abstract expression rules for the connection relationship between the components of the four types of infrastructure, wherein the abstract expression forms of the abstract expression rules include points, lines, surfaces, bodies and parameters;
[0036] Step 4.22, based on the core features of the four types of basic structures, the components of the four types of basic structures on the line centerline are abstractly expressed according to the abstract expression rules to obtain the skeleton models of the four types of basic structures, that is, the skeleton models of the basic structures of the high-speed railway infrastructure are obtained, and at the same time, the components in the skeleton model are assigned global IDs;
[0037] Step 4.3: With the line centerline as the core, the skeleton models of the roadbed, bridge, tunnel and track are integrated with the line centerline according to the location information to form a global-local skeleton model.
[0038] Further, the specific steps of step 5 are:
[0039] Step 5.1, constructing the spatial layout semantic constraint rules, that is, first defining the spatial layout constraint rules that constrain the horizontal layout of the BIM model of the component along the center line of the line, and then using the XML Schema standard language to standardize the spatial layout constraint rules to form spatial layout semantic constraint rules, and finally using the spatial layout semantic constraint rules to constrain the horizontal layout of the BIM model of the component;
[0040] Step 5.2, construct spatial topological semantic constraint rules, that is, first define the spatial topological constraint rules that constrain the combination relationship, connection relationship and vertical distribution relationship of the components in the BIM model of the component, then use the XMLSchema standard language to standardize the spatial topological constraint rules to form spatial topological semantic constraint rules, and finally use the spatial topological semantic constraint rules to constrain the combination relationship, connection relationship and vertical distribution relationship of the BIM model of the component, so that when the BIM model of each component is mapped, the internal BIM model of each component conforms to the correct topological relationship and achieves continuity in the vertical direction;
[0041] Step 5.3, construct spatial posture semantic constraint rules, that is, first define the spatial posture constraint rules for constraining the posture of the BIM model of the component itself, then use XML Schema to standardize the spatial posture constraint rules to form spatial posture semantic constraint rules, and finally use the spatial posture semantic constraint rules to constrain the position and posture of the component model itself, so that when the BIM models of each component are mapped, the posture of the BIM model of each component itself is correct, achieving accurate mapping.
[0042] Further, the specific steps of step 6 are:
[0043] Step 6.1, construct preliminary terrain, that is, load the acquired DEM data into the GIS platform, use the GIS platform to convert the DEM data into contour lines, and then convert the contour lines into TIN models, and use the obtained TIN model as the basic terrain model;
[0044] Step 6.2, BIM model mapping, that is, first put the global-local combined skeleton model into the basic terrain model, then instantiate it based on the global-local combined skeleton model and the global ID of the component, locate the corresponding component in the OBJ component library and the information library according to the global ID of the component of the global-local combined skeleton model, and call the component corresponding to the global ID for instantiation, finally use the spatial layout semantic constraint rules, spatial topology semantic constraint rules and spatial posture semantic constraint rules to check and fine-tune the instantiated model to obtain the BIM model mapped to the GIS scene;
[0045] Step 6.3: Terrain Adaptation
[0046] In the tunnel section, the BIM model mapped to the GIS scene is subjected to Boolean difference operation with the basic terrain model, the basic terrain model of the tunnel section is removed, and an adaptive terrain model of the tunnel section is generated;
[0047] In the roadbed or bridge section, there is a floating situation between the BIM model mapped to the GIS scene and the basic terrain model. The basic terrain model is locally stretched according to the elevation of the roadbed or the bottom of the pier or abutment to generate an adaptive terrain model of the roadbed or bridge section in the floating situation. Then, the BIM model mapped to the GIS scene is inlaid with the adaptive terrain model, that is, the boundary of the BIM model mapped to the GIS scene is used to achieve the fit with the adaptive terrain model, and the final adaptive terrain model of the roadbed or bridge section in the floating situation is generated;
[0048] In the case of roadbed or bridge section, if the basic terrain model blocks the BIM model mapped to the GIS scene, a Boolean difference operation is performed between the BIM model mapped to the GIS scene and the basic terrain model, and the part of the basic terrain model that blocks the BIM model mapped to the GIS scene is removed to generate an adaptive terrain model in the case of roadbed / bridge section blocking;
[0049] Through the above steps, the basic terrain model is aligned with the BIM model mapped to the GIS scene;
[0050] Step 6.4, terrain texture assignment, that is, the digital orthophoto is used as a terrain realistic texture and superimposed on the final adaptive terrain model obtained in step 6.3 by mapping method to obtain a realistic BIM+GIS scene;
[0051] Step 6.5, real-time update, that is, when the updated component is obtained, index, locate and update it in the modified IFC component library, information library and OBJ component library according to the global ID of the component, and then locally update the skeleton model according to the global ID of the component, that is, execute step 6.2 again for the part that needs to be modified in the global-local skeleton model to realize the update of the GIS scene.
[0052] A multi-level semantically constrained BIM-GIS virtual-reality mapping system for high-speed railway infrastructure, including:
[0053] Mapping module: Based on the acquired BIM model of high-speed railway infrastructure, an IFC component library and information library stored in a tree structure are established, and a mapping relationship between the IFC component library and the information library is established;
[0054] Component modification module: based on the screening rules, the IFC component library is screened, eliminated and updated to obtain the modified IFC component library;
[0055] Node mapping module: traverses the tree structure of the modified IFC component library, converts each node component into OBJ format to form an OBJ component library, stores it in the tree structure of the modified IFC component library, and establishes node mapping between the OBJ component library and the modified IFC component library and information library;
[0056] Skeleton model extraction module: extracts the line skeleton based on the BIM model of the known high-speed railway infrastructure, and extracts the skeleton model of the basic structure of the high-speed railway infrastructure based on the line skeleton, performs global and local fusion, and obtains a global-local combined skeleton model;
[0057] Multi-level semantic constraint rule construction module: Construct multi-level semantic constraint rules based on the global-local combined skeleton model;
[0058] GIS scene mapping and update module: Based on the modified IFC component library, OBJ component library, information library, node mapping between the OBJ component library and the modified IFC component library and information library, the global-local combined skeleton model, and multi-level semantic constraint rules, the BIM model is mapped to the GIS scene, and finally the GIS scene is obtained and updated in real time.
[0059] Compared with the prior art, the advantages of the present invention are:
[0060] 1. The present invention separates digital and analog data, constructs a component library, a geometric information library, and a non-geometric information library, and establishes a mapping relationship, thereby solving the problem of semantic information loss or redundancy in the prior art during BIM-GIS integration, thereby improving the accuracy after mapping, ensuring the integrity of information, and reducing the complexity of mapping. At the same time, it avoids the large volume of BIM model data, and the subsequent direct import into the GIS scene will lead to slow speed, low efficiency, screen freezes and other problems;
[0061] Second, the present invention reconstructs the GIS terrain and adopts methods such as Boolean operation, stretching, and mosaicking to solve the problem of mismatch between the BIM model and the GIS terrain in the prior art, achieves the correct fit between the BIM model and the GIS terrain, and avoids visual deviation;
[0062] 3. The present invention uses the overall skeleton model for positioning, the basic structure skeleton model as the BIM component mapping framework, and the multi-level semantic constraint rules as mapping conditions, to achieve accurate BIM-GIS mapping, ensure the correct topological relationship of the BIM model, accurate component connection, and at the same time, the model can be updated in real time based on the global ID of the component; in addition, using the simplified and filtered OBJ component library as the model basis, the component reuse of the BIM model can be realized, saving storage resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0064] Figure 1 It is the overall technical roadmap of the present invention;
[0065] Figure 2 It is a schematic diagram of the component splitting structure and tree-like organizational structure in the present invention;
[0066] Figure 3 It is a schematic diagram of the roadbed skeleton in the present invention;
[0067] Figure 4 It is a schematic diagram of the bridge skeleton in the present invention;
[0068] Figure 5 It is a schematic diagram of the tunnel skeleton in the present invention;
[0069] Figure 6 It is a schematic diagram of the track skeleton in the present invention. DETAILED DESCRIPTION
[0070] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0071] A multi-level semantically constrained BIM-GIS virtual-real mapping method for high-speed railway infrastructure includes the following steps:
[0072] Based on the acquired BIM model of high-speed railway infrastructure, an IFC component library and information library stored in a tree structure are established, and a mapping relationship between the IFC component library and the information library is established; the specific steps are as follows:
[0073] (1) Digital-Analog Separation
[0074] One of the core features of BIM models is geometric and non-geometric information. Therefore, managing the geometric and non-geometric information of BIM models plays an important role in the subsequent application of BIM models.
[0075] The geometric information and non-geometric information of the components are associated and separated to form a unified component library as the basis for subsequent component and attribute information updates; at the same time, the separation of digital and analog is conducive to the reuse of components.
[0076] ①I FC file export
[0077] Since the BIM model formats of different platforms are not unified, the BIM models of different platforms can be exported as IFC files according to the IFC standard to achieve the unification of the BIM model format. The BIM model of the acquired high-speed railway infrastructure is converted into an IFC file to achieve the unification of the BIM model format; the BIM model of the acquired high-speed railway infrastructure is converted into an IFC file to achieve the unification of the BIM model format.
[0078] ②Component splitting
[0079] a) Set component splitting rules
[0080] The component splitting rule refers to splitting the components in the IFC file into different professions and splitting them into tree structures for each profession. The professions include roadbed, bridge, tunnel and track. Figure 2 As shown, the tree structure includes the project as the first-level root node, and the roadbed, bridge, tunnel and track as the second-level child nodes.
[0081] b) Component splitting
[0082] The retrieval package in the BIMServer API is called to retrieve the entire BIM model, all objects in the IFC file obtained in step ① are traversed, and the objects are split according to the model splitting rules set in the component splitting rules, and split into single smaller IFC files for export. That is, based on the component splitting rules, the retrieval package in the BIMServer API is called to split the BIM model converted into an IFC file into components, and multi-level components are obtained after the splitting, that is, multiple single smaller IFC files are obtained.
[0083] c) Establish IFC component library
[0084] The obtained IFC files are organized and stored in a tree structure according to the storage rules described in the component splitting rules, forming an IFC component library with orderly organization and clear structure, such as Figure 1 As shown, the multi-level components obtained after splitting are stored according to the component splitting rules to obtain the IFC component library.
[0085] For the roadbed, the third-level nodes are classified according to the component types, and different types of components such as the subgrade surface layer and subgrade bottom layer are split; at the fourth-level nodes, the model components are split in sequence according to the component types of the third-level nodes and in mileage order.
[0086] For bridges, at the third-level node, each bridge is split from the starting point to the end point according to the line mileage; at the fourth-level node, each bridge is split into superstructure, substructure, support, and auxiliary structure according to structural characteristics; at the fifth-level node, the model components are split in sequence from the starting point to the end point according to the structural classification of the fourth-level node.
[0087] For tunnels, at the third-level node, each tunnel is split from the starting point to the end point according to the line mileage; at the fourth-level node, each tunnel is split into portal structure, tunnel body structure, auxiliary structure, and drainage system according to structural characteristics; at the fifth-level node, the model components are split in sequence from the starting point to the end point according to the structural classification of the fourth-level node.
[0088] For tracks, at the third-level node, they are classified into bridge sections, roadbed sections, and tunnel sections according to the types of structures under the track laying, and each section is split in sequence from the starting point to the end point according to the line mileage; at the fourth-level node, each section is split into rails, rail joints, fasteners, sleepers, switches, rail expansion adjusters, ballast beds, reinforcement equipment, and ancillary equipment; at the fifth-level node, the components are split in sequence from the starting point to the end point.
[0089] ③Digital and analog separation
[0090] The information management method based on the digital-analog separation of components in the BIM model realizes the unified management of components. Its core idea is to associate and separate each component in the building model with its related information to form a unified component library. Through the digital-analog separation management of components, the refined management of components can be achieved, ensuring the consistency and accuracy of information, thereby improving the efficiency and quality of construction projects.
[0091] In addition, since non-geometric information will be lost after the I FC format is converted to the OBJ format, it is very necessary to separate the digital and model and retain the non-geometric and semantic information of the BIM model.
[0092] Based on the IFC component library, digital-analog separation is performed to build an information library, and a mapping relationship between the IFC component library and the information library is established. The specific steps are as follows:
[0093] a) Parse IFC files and extract geometric and non-geometric information
[0094] The geometric and non-geometric information of the BIM model itself is of great significance for coordinate transformation, visual analysis, deformation analysis, etc. The depth-first algorithm is used to traverse the IFC component library, and then the IFC file is parsed using the IfcOpenShell open source library to extract the global ID, geometric information and non-geometric information of the BIM model. At the same time, the object geometric information is retained in a CSV file, including geometric modeling information and coordinate transformation information; the non-geometric information of the object is retained in a JSON file, including semantic and attribute information. Among them, the global ID of the component needs to be stored in the CSV file and the JSON file respectively.
[0095] b) Establish the storage structure of information files to form an information database
[0096] According to the tree storage structure of the IFC component library, the obtained geometric information and non-geometric information are used to establish a tree storage structure that corresponds to the IFC component library one by one. Figure 2 The tree structure of the IFC component library shown corresponds one to one with the geometric information library and the non-geometric information library, so that the geometric information and the non-geometric information are stored in the database, and multiple information libraries are obtained, including the geometric information library and the non-geometric information library in the tree structure. At the same time, the global ID of the component in the geometric information library and the non-geometric information library is used as the node identifier of the tree structure.
[0097] c) Establish the mapping relationship between IFC component library and information library
[0098] After the IFC file format is converted to the OBJ file, the component ID information may be lost, resulting in the problem that the component cannot be associated with the information. Therefore, a mapping relationship is constructed to achieve the association between the model and the information. The specific steps are as follows:
[0099] First, mapping constraint rules are set to achieve that the mapping between the IFC component library and each information library is single-shot and the structure is maintained, that is, each element in the first tree can only be mapped to a unique element in the second tree and the tree structure must be maintained (that is, if two nodes are in a parent-child relationship in the first tree, then their mapping in the second tree should also maintain this parent-child relationship). That is, the mapping constraint rule specifically means that the mapping between the IFC component library and the corresponding information library is single-shot and the tree structure is maintained, that is, each element in the tree structure in the IFC component library can only be mapped to a unique element in the tree structure of the corresponding information library and the tree structure must be maintained. Maintaining the tree structure means that if two nodes are in a parent-child relationship in the tree structure in the IFC component library, the mapping in the tree structure in the information library should also maintain the parent-child relationship.
[0100] Secondly, the depth-first algorithm is used to traverse the tree-structured IFC component library, the tree-structured geometric information library, and the tree-structured non-geometric information library to obtain their nodes.
[0101] Finally, using the mapping constraint rules as mapping constraints and the global ID as the keyword, a one-to-one mapping relationship is established between the IFC component library and each information library, that is, a one-to-one mapping relationship is established between the IFC component library, the geometric information library and the non-geometric information library.
[0102] (2) Implementation of component reuse
[0103] BIM component reuse problem. There are many standardized components in the railway BIM model, so there are a large number of identical geometric components in the IFC component library, which occupies a large amount of storage space. Therefore, it is necessary to screen the components, delete the duplicate components in the IFC component library, and realize component reuse. That is, based on the screening rules, the IFC component library is screened, eliminated and updated to obtain the modified IFC component library. The specific steps are:
[0104] ①Set filtering rules
[0105] a) First, we will screen by major. Figure 2 It can be seen that the second-level nodes in the IFC component library divide the high-speed railway infrastructure into different professional fields. Therefore, when screening components, we strictly distinguish components in different professional fields and select the second-level nodes in the IFC component library as root nodes one by one to start professional screening.
[0106] b) Next, perform node screening. On the basis of professional screening, screen nodes that have no functional differences but only geometric size differences. For example, all leaf nodes below the rail node are rail components used in railway projects. There are only geometric size differences between components, but no functional differences. Figure 2In the IFC component library shown, the leaf nodes (i.e., the terminal nodes in the tree structure, which are nodes without child nodes) are screened at the first level. For the roadbed, all leaf nodes in the fourth level nodes are screened, and for the bridges, tunnels, and tracks, all leaf nodes in the fifth level nodes are screened.
[0107] ② After component screening, elimination and updating, the modified IFC component library is obtained
[0108] The geometry information library is selected as the basis for component screening or comparison, and screening is performed according to the screening rules, that is, the CSV files in the geometry information library are screened and compared by profession and node. That is, the CSV files in the geometry information library are screened and compared by profession and node: the second-level nodes of the geometry information library are used as the root nodes to traverse one by one by profession, and the depth-first algorithm is used to traverse all leaf nodes under each second-level node, and the geometry information of each leaf node is compared with the remaining leaf nodes one by one. If there is a difference, the data in the compared leaf node is retained; if the same, the mapping relationship between the geometry information library and the IFC component library is used to retrieve the leaf node corresponding to the geometry information library in the IFC component library, and the corresponding leaf node data in the IFC component library is replaced with the path information corresponding to the leaf node compared with it in the IFC component library. At the same time, the replaced leaf node no longer participates in the subsequent comparison, and finally the modified IFC component library is obtained.
[0109] The core of this step is to use the geometric information in the geometric information library for comparison. For leaf nodes with the same geometric information, the mapping relationship is used to find the corresponding leaf nodes in the IFC component library, and the leaf node data is modified to the path information of the node used as a reference for comparison in the IFC component library. At the same time, the modified leaf nodes do not participate in subsequent comparisons.
[0110] The above traversal method is used to modify the IFC component library, and the IFC component library is updated to obtain a modified IFC component library. This step realizes the reuse of components and builds a standardized and lightweight component library.
[0111] (3) Data format conversion I FC-OBJ
[0112] BIM-GIS virtual-real mapping requires the unification of BIM and GIS data into a platform where the two types of data can be displayed compatibly, which involves the format conversion of BIM data. The BIM entity model needs to be converted into a GIS surface model to achieve seamless integration of the BIM model and the 3D GIS scene. At the same time, in a virtual geographic environment, the entire operation and maintenance process is simulated to achieve unified integrated management of railway engineering information. The main process is to convert BIM models of different formats into IFC files first, and then convert files in IFC format into OBJ files. The conversion of BIM models of different formats into IFC files has been implemented before, so the following steps are to solve the problem of converting IFC files to OBJ files.
[0113] Based on the previous steps, the components for BIM model format conversion in this step are the components in the modified IFC component library. If there are errors / mistakes in the data after data format conversion, the components can be modified in a targeted manner to improve accuracy. In addition, based on the standard and lightweight IFC component library, the amount of data for format conversion in this step is greatly reduced.
[0114] The model format conversion in this step adopts the method in IfcOpenShell to perform format conversion. The key is to traverse the modified tree-structured IFC component library to form an OBJ component library with the same one-to-one tree structure, and use the component global ID to achieve one-to-one mapping between the OBJ component library and the modified IFC component library, geometric information library, and non-geometric information library. At the same time, the non-geometric information such as attributes and semantics that are lost after the component format is converted to OBJ component can also be achieved through the established mapping relationship. One-to-one correspondence and association.
[0115] ① Compared with the prior art, this step can not only achieve one-to-one mapping with the modified IFC component library by establishing a tree-structured OBJ component library, but also associate the OBJ component library with each information library to achieve the association between OBJ format components and attributes and semantic information. IFC-OBJ traverses the modified IFC component library in sequence, and converts the unreplaced leaf nodes into OBJ format files using the ifcConvert tool in the IfcOpenShell open source library. For the replaced leaf nodes in the modified component library, there is only path information, and the corresponding leaf nodes need to retain their path information. The global ID of the component as the keyword connecting the component library and the information library also needs to be stored in the OBJ file (that is, the global ID of the component lost during the conversion process is stored in the OBJ file)
[0116] ② Establish OBJ component library
[0117] The obtained OBJ format files and leaf nodes with only path information are organized in the same tree structure as the IFC component library and stored in the database to form an OBJ component library with a one-to-one corresponding tree structure; in addition, the global ID of the component is used as a tree structure to store the node identifier in the OBJ component library.
[0118] ③ Establish the mapping relationship between OBJ component library and each information library
[0119] Since non-geometric information is lost after I FC is converted to OBJ, it is necessary to establish a mapping association between the OBJ component library and the information library. Using the component global ID as the keyword, the mapping relationship between the OBJ component library and the modified I FC component library, geometric information library, and non-geometric information library is established in the same way as the mapping relationship between the I FC component library and the information library, so as to realize the association between the components in the OBJ component library and the components in the modified I FC component library, as well as the component geometric information and non-geometric information.
[0120] (4) Skeleton model extraction
[0121] Based on the BIM model of the existing high-speed railway infrastructure, the overall skeleton of the line is extracted, that is, the center line of the line or the overall skeleton model or the line skeleton is extracted. The core idea is to use a series of points, lines, surfaces, bodies and parameters to describe the BIM model and outline the key features of the high-speed railway project. The core of this step is to use the skeleton model to locate the line and components, and to instantiate the component model in the GIS scene based on the positioning information. In addition to using skeleton elements as input for modeling and positioning, the component model can maintain constraint relationships based on the skeleton model structure, and the modification of the skeleton will drive the automatic update of the model geometry and position.
[0122] ① Extraction of overall skeleton model, i.e. extraction of line centerline
[0123] The overall skeleton model is composed of the center lines of each line. Extracting the overall skeleton model here means extracting the line center line. Use the functions provided by the BIM software to manually / automatically extract the line center line and various parameters of the horizontal and vertical sections, including the starting slope information, elevation information, and the location of the structure.
[0124] This step ultimately results in the centerline skeleton and key parameter information of the high-speed railway infrastructure. This overall skeleton can be used as a reference system for positioning the components of the high-speed railway infrastructure project, namely, the positioning of the subsequent four line foundation structures: high-speed railway subgrade, bridges, tunnels, and tracks.
[0125] ②Extraction of skeleton model of high-speed railway infrastructure and basic structures
[0126] Taking roadbed, bridge, tunnel and track as examples, the skeleton models of these four types of basic structures are extracted respectively.
[0127] a) Artificially analyze the core characteristics of four types of infrastructure: roadbed, bridge, tunnel and track, and construct abstract expression rules for the connection relationship between the components of the four types of infrastructure. The abstract expression forms include point, line, surface, body and parameter.
[0128] like Figure 3 As shown in the figure, the roadbed includes three core components: the surface layer of the subgrade, the bottom layer of the subgrade, and the embankment below the subgrade. The core features of these components are that they are continuous in the horizontal direction and have height in the vertical direction. Therefore, the components that are continuous in the horizontal direction and have height in the vertical direction are expressed as lines, the horizontal connection relationship between similar components is expressed as points, and the thickness in the vertical direction is expressed as a dotted line. Specifically, taking the surface layer of the subgrade as an example, the starting point and the end point of the top of the subgrade surface layer are extracted along the route direction, where the starting point and the end point are the midpoint of the component section and the coordinate information is recorded; the same is true for the bottom layer of the subgrade and the embankment below the subgrade.
[0129] like Figure 4 As shown in the figure, the bridge includes core components such as beams, bearings, cushion stones, piers / abutments, caps, pile foundations, etc., among which the beams and abutment decks have similar characteristics to the roadbed, and their components are abstracted as having endpoints, starting points, and end lines; the cone slope, bearings, and cushion stones are extracted and abstracted as points, and the connection relationship between the cone slope and the abutment, and between the bearing and the cushion stone is expressed by dotted lines; the pier cap, pier or abutment, cap, and pile foundation are continuous in the longitudinal direction, and are abstracted as lines with length (consistent with the entity length), the connection relationship in the middle is expressed by points, and the connection relationship between the pile foundation and the cap is expressed by dotted lines.
[0130] like Figure 5 As shown in the figure, the core structure of the tunnel is the tunnel body, which includes components such as primary support, anchor rods, steel frames, secondary lining, primary support invert, secondary lining invert, invert filling, etc., in addition to auxiliary facilities such as cable trenches and central drainage ditches. Primary support, primary support invert, secondary lining, secondary lining invert, invert filling have width along the line direction, and the starting section of the component is extracted to express such components; the steel frame extracts the section and the top midpoint for expression; for slender cylindrical components such as anchor rods, the top and bottom center of the circle are extracted as endpoints, and the connecting endpoints are abstracted as line entities. In complex tunnels, the number of anchor rods is huge, so the endpoints at the junction with the tunnel body are extracted for expression and their posture parameters are recorded for subsequent mapping.
[0131] like Figure 6As shown in the figure, the track is mainly composed of core components such as ballastless track bed, rails, sleepers and fasteners. The track bed, rails and roadbed are similar in that they are continuous in the horizontal direction and have thickness in the vertical direction. Therefore, this type of track component is expressed as a line, the horizontal connection relationship between similar components is expressed as a point, and the height in the vertical direction is expressed as a dotted line. The track bed components and roadbed components are expressed in the same way; for the rail components, the starting point and end point of the part where the bottom is connected to the track plate are extracted along the line direction, where the starting point and end point are the midpoint of the rail section and the positioning information is recorded; the sleepers are discontinuous in the horizontal direction but are regularly distributed, and their end points are extracted and connected as line entities for abstract expression; the connecting fasteners between the sleepers and rails and the joints between the rails are extracted as point entities for expression.
[0132] b) Extraction of skeleton models of four types of foundation structures
[0133] Based on the core features of the four types of basic structures, the components of the four types of basic structures on the center line of the line are abstractly expressed according to the abstract expression rules to obtain the skeleton models of the four types of basic structures, that is, the skeleton models of the basic structures of the high-speed railway infrastructure are obtained, and at the same time, the components in the skeleton model are given a global ID. Through this step, the skeleton models of the roadbed, bridges, tunnels, and tracks are extracted, that is, the simplest points, lines, surfaces, bodies, and parameters are used to express the road, bridge, tunnel, and track as a skeleton structure with simple form, fine coordinates, and clear topology.
[0134] ③ "Global-local" combined skeleton model, that is, skeleton fusion
[0135] The overall skeleton model is used as the basis to constrain the layout of the four core elements on the overall skeleton model. With the line centerline as the core, the skeleton models of the roadbed, bridge, tunnel and track are integrated with the line centerline according to the location information to form a global-local combined skeleton model.
[0136] (5) Construct multi-level semantic constraint rules for subsequent accurate mapping (processing of spatial relationships, determination of mapping rules)
[0137] During model mapping, the position, combination relationship, connection relationship, etc. of the components need to be precisely controlled to achieve accurate mapping of the model. Therefore, relevant constraints are established for model checking and correction during subsequent instantiation mapping based on the global-local skeleton model. The overall skeleton model and the local skeletons of roads, bridges, tunnels, and rails are obtained. The corresponding components are matched with the abstract expression objects of the skeleton according to the global-local skeleton model, and then the instantiation process of the component model replacing the skeleton model is completed based on the component global ID. However, when mapping the component model, there may be some incorrect mappings, such as topological dislocation, when mapping the component model based only on the skeleton information. Therefore, a multi-level semantic constraint library is constructed to constrain the mapping of the component model, which not only ensures that the component model is instantiated and mapped according to the correct mapping rules, but also the semantic constraint library can check the model after the mapping is completed. In addition, when the component model is updated, the overall skeleton model is updated first, and then the component model is replaced. At this time, semantic constraint rules are also needed to constrain and check it to achieve efficient and accurate model update.
[0138] ①Constructing semantic constraint rules for spatial layout
[0139] Spatial layout is controlled by the global layout rules, including that the track, roadbed, bridge, and tunnel are closely connected and connected in space; the roadbed is continuous in the non-bridge and tunnel section; the track is continuous in space and no interruption is allowed. In addition, the spatial layout of the component units of various entities is also closely connected, so the spatial layout constraints are used to regulate the overall layout of the BIM model mapping of the high-speed railway infrastructure.
[0140] a) Define spatial layout constraints
[0141] Define spatial layout constraint rules for constraining the horizontal layout of the BIM model of components along the center line of the line, including that the track, roadbed, bridge, and tunnel are closely connected and connected in space; the roadbed is continuous in non-bridge and tunnel sections; the track is continuous in space and no interruption is allowed; there are road-bridge transition sections and road-tunnel transition sections in the line roadbed, and accurate connection and transition are required at both ends of the line bridge and tunnel; except for the bridge substructure and bearings, adjacent components distributed horizontally are not allowed to overlap or be separated;
[0142] b) Standard expression of semantic constraints
[0143] The XML Schema standard language is used to standardize the spatial layout constraint rules to form the spatial layout semantic constraint rules.
[0144] c) Using spatial layout semantic constraint rules to constrain the horizontal layout of the BIM model of components is a macro-mapping constraint.
[0145] ②Construct spatial topological semantic constraint rules
[0146] There are different topological relationships among the component units of different structures such as tracks, roadbeds, bridges and tunnels. The combination of components can form different assemblies. The topological structure between components should be clarified, and spatial topological constraints should be used to standardize the connection and combination relationship of components when mapping the BIM model of high-speed railway infrastructure.
[0147] a) Define spatial topological constraint rules
[0148] First, define the spatial topological constraint rules for the combination relationship, connection relationship and longitudinal distribution relationship of the internal components of the BIM model of the component, including the combination relationship of the internal components of the roadbed, bridge, tunnel, and track must comply with the structural rules of the structure. For example, the roadbed is composed of the surface layer of the subgrade, the bottom layer of the subgrade, and the embankment below the subgrade from top to bottom. The bridge piers are composed of pile foundations, caps, piers / abutments, supports, cushion stones, and bridge decks from bottom to top. The track fasteners are the components that fix the rails to the sleepers. Therefore, in the vertical direction, the rails are at the top, and the fasteners fix the rails to the sleepers by clamping the bottom of the rails, and the sleepers are directly under the fasteners.
[0149] b) Standard expression of semantic constraints
[0150] The XML Schema standard language is used to standardize the spatial topology constraint rules to form spatial topology semantic constraint rules.
[0151] c) Use spatial topological semantic constraint rules to constrain the internal combination relationship, connection relationship and vertical distribution relationship of the component model, so that when the component model is mapped, the internal model of the component conforms to the correct topological relationship and achieves continuity in the vertical direction. This is a meso-level mapping constraint.
[0152] ③Constructing spatial posture semantic constraint rules
[0153] For the task of BIM model mapping of high-speed railway infrastructure, mapping the component model to the GIS scene needs to consider the adaptation of spatial coordinates and angles. Therefore, spatial posture constraints are used to constrain the accuracy of the position of the BIM model mapping of the high-speed railway infrastructure.
[0154] a) Define spatial posture semantic rules
[0155] In step (1), we extracted the geometric information of the component, which includes the posture information of the component, and used this information as the posture constraint during mapping, that is, we first defined the spatial posture constraint rules for constraining the posture of the BIM model of the component itself.
[0156] b) Standard expression of semantic constraints
[0157] The XML Schema standard language is used to standardize the spatial posture semantic rules and form spatial posture semantic constraint rules.
[0158] c) Use the spatial posture semantics rules to constrain the position and posture of the component model itself, so that when the model of each component is mapped, the posture of the model of each component itself is correct, and accurate mapping is achieved. This belongs to the microscopic mapping constraint.
[0159] (6) Mapping BIM models to GIS scenarios
[0160] ①Construct preliminary terrain
[0161] Load DEM data on the HyperMap / ArcGIS platform, use the platform's DEM to convert contour lines, then convert the contour lines to a TIN model, and use the resulting TIN model as the basic terrain model. This step of converting DEM to contour lines and then to a TIN model will capture the details and features of the terrain more accurately than directly converting DEM to a TIN model, especially in areas with complex terrain.
[0162] ②BIM model mapping
[0163] First, the global-local combined skeleton model is placed in the basic terrain model for instantiation. According to the global ID of the skeleton model component, it is located in the OBJ component library and called. At the same time, the spatial layout semantic constraint rules, spatial topology semantic constraint rules and spatial posture semantic constraint rules are used as input constraint component placement combinations to obtain the BIM model mapped to the GIS scene, thus achieving precise instantiation.
[0164] Then, according to the mapping relationship between the OBJ component library and each information library, the corresponding component information library is located, and the component information is associated with the component model to ensure the integrity of the component geometry and attribute information.
[0165] ③ Terrain reconstruction
[0166] In the tunnel section, the BIM model mapped to the GIS scene is subjected to Boolean difference operation with the basic terrain model, the basic terrain model of the tunnel section is removed, and an adaptive terrain model of the tunnel section is generated;
[0167] In the roadbed or bridge section, there is a floating situation between the BIM model mapped to the GIS scene and the basic terrain model. The basic terrain model is locally stretched according to the elevation of the roadbed or the bottom of the pier or abutment to generate an adaptive terrain model of the roadbed or bridge section in the floating situation. Then, the BIM model mapped to the GIS scene is inlaid with the adaptive terrain model, that is, the boundary of the BIM model mapped to the GIS scene is used to achieve the fit with the adaptive terrain model, and the final adaptive terrain model of the roadbed or bridge section in the floating situation is generated;
[0168] In the case of roadbed or bridge section, if the basic terrain model blocks the BIM model mapped to the GIS scene, a Boolean difference operation is performed between the BIM model mapped to the GIS scene and the basic terrain model, and the part of the basic terrain model that blocks the BIM model mapped to the GIS scene is removed to generate an adaptive terrain model in the case of roadbed / bridge section blocking;
[0169] Through the above steps, the basic terrain model achieves a perfect fit with the BIM model mapped into the GIS scene.
[0170] ④ Terrain texture
[0171] The digital orthophoto is used as a realistic texture of the terrain (here the spatial coordinates of the digital orthophoto and the TIN model must be consistent. If they are inconsistent, projection transformation is required on the GIS platform to achieve coordinate consistency) and is superimposed on the reconstructed TIN model by mapping.
[0172] ⑤ Real-time update, that is, when the updated component is obtained, the modified IFC component library, information library, and OBJ component library are updated after indexing and locating according to the global ID of the component; then the skeleton model is partially updated according to the global ID of the component; for the updated part of the global-local combined skeleton model, BIM model mapping, terrain reconstruction, and terrain texturing are performed again to realize the update of the GIS scene. Specifically:
[0173] Generate a copy of the global-local combined skeleton model before updating;
[0174] Modifications are made on the copy of the skeleton model, and the global ID of the component on the copy of the corresponding skeleton model is found according to the component that needs to be updated, and the position that needs to be updated is quickly indexed and located, and the part that needs to be updated is modified on the skeleton model; the skeleton model of the modified part is instantiated and updated, including the replacement of the component model, the addition, deletion, and modification of attribute information; that is, when updating, the updated component enters in a different BIM model format, first it is standardized into an IFC file, and then this component is stored in the corresponding position in the modified IFC component library and the original information is replaced, and then this component format is converted into an OBJ component and stored in the OBJ component library, and the updated component in the OBJ component library is called when the component is updated.
[0175] Multi-source information association: Operation and maintenance information and attribute information are associated with the BIM model through the database, and the update of the database can realize the update of model information. The core of the association of local component information is to associate multi-source information with the global ID of the component corresponding to the road, bridge, tunnel and rail skeleton model, which can realize the supplement and update of component-level information. The core of the association of global / section information is to associate multi-source information with the overall line model, which can realize the supplement and update of section / global information.
Claims
1. A multi-level semantically constrained BIM-GIS virtual-real mapping method for high-speed railway infrastructure, characterized by: The steps include: Step 1: Based on the acquired BIM model of the high-speed railway infrastructure, an IFC component library and an information library stored in a tree structure are established, and a mapping relationship between the IFC component library and the information library is established; Step 2: Screen, remove and update the IFC component library based on the screening rules to obtain a modified IFC component library; Step 3, traverse the tree structure of the modified IFC component library, convert each node component into OBJ format to form an OBJ component library, store it in the tree structure of the modified IFC component library, and establish node mapping between the OBJ component library and the modified IFC component library and information library; Step 4: extract the line skeleton based on the BIM model of the known high-speed railway infrastructure, and extract the skeleton model of the basic structure of the high-speed railway infrastructure based on the line skeleton, perform global and local fusion, and obtain a global-local combined skeleton model; Step 5: Construct multi-level semantic constraint rules based on the global-local combined skeleton model; Step 6: Based on the modified IFC component library, OBJ component library, information library, node mapping between the OBJ component library and the modified IFC component library and information library, the global-local combined skeleton model, and multi-level semantic constraint rules, the BIM model is mapped to the GIS scene, and finally the GIS scene is obtained and updated in real time.
2. According to the multi-level semantically constrained high-speed railway infrastructure BIM-GIS virtual-real mapping method of claim 1, it is characterized by: The specific steps of step 1 are: Step 1.1, convert the acquired BIM model of high-speed railway infrastructure into an IFC file to achieve a unified BIM model format; Step 1.2: Based on the component splitting rule, the retrieval package in the BIMServer API is called to split the BIM model converted into the IFC file into components. After the splitting, multi-level components are obtained, and the components are stored according to the component splitting rule to obtain the IFC component library. The component splitting rule refers to splitting the components in the IFC file by profession, and splitting the tree structure for each profession. The profession includes roadbed, bridge, tunnel and track. The tree structure includes the project as the first-level root node and the roadbed, bridge, tunnel and track as the second-level child nodes. Step 1.3: Based on the IFC component library, perform digital-analog separation to build an information library, and establish a mapping relationship between the IFC component library and the information library. The specific steps are as follows: Step 1.
31. Use the depth-first algorithm to traverse the IFC component library, and then use the IfcOpenShell open source library to parse the traversed IFC file, extract the global ID, geometric information, and non-geometric information of the BIM model component, and save the geometric information of the component in a CSV file and the non-geometric information of the component in a JSON file. The global ID of the component needs to be stored in the CSV file and the JSON file respectively. The geometric information includes geometric modeling information and coordinate transformation information, and the non-geometric information includes semantic information and attribute information. Step 1.32, based on the tree structure of the IFC component library, a tree storage structure is established in which the geometric information and the non-geometric information correspond to the tree structure of the IFC component library one by one, that is, the CSV file storing the geometric information and the JSON file storing the non-geometric information are respectively organized into a tree storage structure corresponding to the tree structure of the IFC component library one by one, so as to obtain a plurality of information libraries including the tree structure, wherein the plurality of information libraries include the geometric information library and the non-geometric information library, and the global ID of the component in the geometric information library and the non-geometric information library is used as a node identifier of the tree structure; Step 1.33, based on the set mapping constraint rules, that is, constructing the mapping relationship rules between the IFC component library and each information library, wherein the mapping constraint rules mean that the mapping between the IFC component library and the corresponding information library is injective and the tree structure is maintained, that is, each element in the tree structure in the IFC component library can only be mapped to a unique element in the tree structure of the corresponding information library and the tree structure must be maintained, and maintaining the tree structure means that if two nodes are in a parent-child relationship in the tree structure in the IFC component library, the mapping in the tree structure in the information library should also maintain the parent-child relationship; Step 1.34, using the mapping constraint rule as the mapping constraint and the global ID as the keyword, establish a one-to-one mapping relationship between the IFC component library and each information library, that is, establish a one-to-one mapping relationship between the IFC component library, the geometric information library and the non-geometric information library.
3. According to claim 2, a multi-level semantically constrained high-speed railway infrastructure BIM-GIS virtual-real mapping method is characterized by: The specific steps of step 2 are: Step 2.1, given a screening rule, the components in the IFC component library are screened by profession and node, wherein the professional screening means that the second-level nodes in the IFC component library divide the high-speed railway infrastructure into different professional fields, and the second-level nodes in the IFC component library are selected one by one as the root nodes to start the professional screening. On the basis of the professional screening, the nodes with no functional difference but only geometric size difference are screened, that is, the leaf nodes under the roadbed, bridge, tunnel, and track professions are screened. For the roadbed, all the leaf nodes contained in the fourth-level node are screened, and for the bridge, tunnel, and track, all the leaf nodes contained in the fifth-level node are screened; Step 2.2, modify the IFC component library based on the geometry information library and the screening rules, that is, screen and compare the CSV files in the geometry information library by profession and node: take the second-level nodes of the geometry information library as the root nodes and traverse them one by one by profession, use the depth-first algorithm to traverse all the leaf nodes under each second-level node, compare the geometry information of each leaf node with the remaining leaf nodes one by one, and if there is a difference, retain the data of the leaf node in the remaining leaf nodes; If they are the same, the mapping relationship between the geometric information library and the IFC component library is used to retrieve the leaf node in the IFC component library with the same geometric information as that in the geometric information library, and replace the leaf node data with the path information corresponding to the leaf node in the IFC component library. At the same time, the replaced leaf node no longer participates in subsequent comparisons, and finally the modified IFC component library is obtained.
4. According to claim 3, a multi-level semantically constrained high-speed railway infrastructure BIM-GIS virtual-real mapping method is characterized by: The specific steps of step 3 are: Step 3.1, traverse the modified IFC component library in sequence, and use the ifcConvert tool in the IfcOpenShell open source library to convert the IFC file into an OBJ format file for the leaf nodes that have not been replaced. For the replaced leaf nodes in the modified component library, only the path information is available, and the corresponding leaf nodes only need to retain their path information; at the same time, the global ID of the component lost during the conversion process is stored in the OBJ file; Step 3.2, the obtained OBJ format files and leaf nodes with only path information are organized in the same tree structure as the modified IFC component library to form a one-to-one corresponding OBJ component library and stored in the database, and the global ID of the component in the OBJ component library is used as a node identifier of the tree structure; Step 3.3: Based on the mapping constraint rules and the global ID, a one-to-one mapping relationship is established between the OBJ component library and the modified IFC component library, the geometric information library, and the non-geometric information library.
5. The method for virtual-real mapping of high-speed railway infrastructure with multi-level semantic constraints in BIM-GIS according to claim 4 is characterized by: The specific steps of step 4 are: Step 4.1, using BIM software to manually or automatically extract the line centerline and various parameters of the horizontal and vertical sections of the BIM model of the known high-speed railway infrastructure, wherein the line centerline is the overall skeleton model or line skeleton, which is an actual line with a geometric shape, and the various parameters of the horizontal and vertical sections are the attribute information of the line centerline, including the starting slope information, elevation information and the location of the structure; Step 4.2: Extract the skeleton models of four types of basic structures based on the BIM model of the known high-speed railway infrastructure, where the four types of basic structures are roadbed, bridge, tunnel and track; the specific steps are: Step 4.21, artificially analyzing the core features of four types of infrastructure, namely, roadbed, bridge, tunnel and track, and constructing abstract expression rules for the connection relationship between the components of the four types of infrastructure, wherein the abstract expression forms of the abstract expression rules include points, lines, surfaces, bodies and parameters; Step 4.22, based on the core features of the four types of basic structures, the components of the four types of basic structures on the line centerline are abstractly expressed according to the abstract expression rules to obtain the skeleton models of the four types of basic structures, that is, the skeleton models of the basic structures of the high-speed railway infrastructure are obtained, and at the same time, the components in the skeleton model are assigned global IDs; Step 4.3: With the line centerline as the core, the skeleton models of the roadbed, bridge, tunnel and track are integrated with the line centerline according to the location information to form a global-local skeleton model.
6. The method for virtual-real mapping of high-speed railway infrastructure with multi-level semantic constraints in BIM-GIS according to claim 5 is characterized by: The specific steps of step 5 are: Step 5.1, constructing the spatial layout semantic constraint rules, that is, first defining the spatial layout constraint rules that constrain the horizontal layout of the BIM model of the component along the center line of the line, and then using the XML Schema standard language to standardize the spatial layout constraint rules to form spatial layout semantic constraint rules, and finally using the spatial layout semantic constraint rules to constrain the horizontal layout of the BIM model of the component; Step 5.2, construct spatial topological semantic constraint rules, that is, first define the spatial topological constraint rules that constrain the combination relationship, connection relationship and vertical distribution relationship of the components in the BIM model of the component, then use the XML Schema standard language to standardize the spatial topological constraint rules to form spatial topological semantic constraint rules, and finally use the spatial topological semantic constraint rules to constrain the combination relationship, connection relationship and vertical distribution relationship of the components in the BIM model, so that when the BIM models of each component are mapped, the internal BIM models of each component conform to the correct topological relationship and achieve continuity in the vertical direction; Step 5.3, construct spatial posture semantic constraint rules, that is, first define the spatial posture constraint rules for constraining the posture of the BIM model of the component itself, then use XML Schema to standardize the spatial posture constraint rules to form spatial posture semantic constraint rules, and finally use the spatial posture semantic constraint rules to constrain the position and posture of the component model itself, so that when the BIM models of each component are mapped, the posture of the BIM model of each component itself is correct, achieving accurate mapping.
7. The method for virtual-real mapping of high-speed railway infrastructure with multi-level semantic constraints in BIM-GIS according to claim 6 is characterized by: The specific steps of step 6 are: Step 6.1, construct preliminary terrain, that is, load the acquired DEM data into the GIS platform, use the GIS platform to convert the DEM data into contour lines, and then convert the contour lines into TIN models, and use the obtained TIN models as the basic terrain model; Step 6.2, BIM model mapping, that is, first put the global-local combined skeleton model into the basic terrain model, then instantiate it based on the global-local combined skeleton model and the global ID of the component, locate the corresponding component in the OBJ component library and the information library according to the global ID of the component of the global-local combined skeleton model, and call the component corresponding to the global ID for instantiation, finally use the spatial layout semantic constraint rules, spatial topology semantic constraint rules and spatial posture semantic constraint rules to check and fine-tune the instantiated model to obtain the BIM model mapped to the GIS scene; Step 6.3: Terrain Adaptation In the tunnel section, the BIM model mapped to the GIS scene is subjected to Boolean difference operation with the basic terrain model, the basic terrain model of the tunnel section is removed, and an adaptive terrain model of the tunnel section is generated; In the roadbed or bridge section, there is a floating situation between the BIM model mapped to the GIS scene and the basic terrain model. The basic terrain model is locally stretched according to the elevation of the roadbed or the bottom of the pier or abutment to generate an adaptive terrain model of the roadbed or bridge section in the floating situation. Then, the BIM model mapped to the GIS scene is inlaid with the adaptive terrain model, that is, the boundary of the BIM model mapped to the GIS scene is used to achieve the fit with the adaptive terrain model, and the final adaptive terrain model of the roadbed or bridge section in the floating situation is generated; In the case of roadbed or bridge section, if the basic terrain model blocks the BIM model mapped to the GIS scene, a Boolean difference operation is performed between the BIM model mapped to the GIS scene and the basic terrain model, and the part of the basic terrain model that blocks the BIM model mapped to the GIS scene is removed to generate an adaptive terrain model in the case of roadbed / bridge section blocking; Through the above steps, the basic terrain model is aligned with the BIM model mapped to the GIS scene; Step 6.4, terrain texture assignment, that is, the digital orthophoto is used as a terrain realistic texture and superimposed on the final adaptive terrain model obtained in step 6.3 by mapping method to obtain a realistic BIM+GIS scene; Step 6.5, real-time update, that is, when the updated component is obtained, index, locate and update it in the modified IFC component library, information library and OBJ component library according to the global ID of the component, and then locally update the skeleton model according to the global ID of the component, that is, execute step 6.2 again for the part that needs to be modified in the global-local skeleton model to realize the update of the GIS scene.
8. A multi-level semantically constrained high-speed railway infrastructure BIM-GIS virtual-reality mapping system, characterized by: include: Mapping module: Based on the acquired BIM model of the high-speed railway infrastructure, an IFC component library and an information library stored in a tree structure are established, and a mapping relationship between the IFC component library and the information library is established; Component modification module: based on the screening rules, the components of the IFC component library are screened, eliminated and updated to obtain the modified IFC component library; Node mapping module: traverses the tree structure of the modified IFC component library, converts each node component into OBJ format to form an OBJ component library, stores it in the tree structure of the modified IFC component library, and establishes node mapping between the OBJ component library and the modified IFC component library and information library; Skeleton model extraction module: extracts the line skeleton based on the BIM model of the known high-speed railway infrastructure, and extracts the skeleton model of the basic structure of the high-speed railway infrastructure based on the line skeleton, performs global and local fusion, and obtains a global-local combined skeleton model; Multi-level semantic constraint rule construction module: Construct multi-level semantic constraint rules based on the global-local combined skeleton model; GIS scene mapping and update module: Based on the modified IFC component library, OBJ component library, information library, node mapping between the OBJ component library and the modified IFC component library and information library, the global-local combined skeleton model, and multi-level semantic constraint rules, the BIM model is mapped to the GIS scene, and the GIS scene is finally obtained and updated in real time.
Citation Information
Patent Citations
RDF-based CityGML and IFC class structure semantic mapping ontology method
CN108133053A
A municipal road BIM design model and GIS data integration method
CN109887089A
Realization of digital twin using XML parsing of building information modeling and energy visualization system using thereof
US20220138363A1
Cited By
Semantically constrained BIM model lightweight method
CN119273872A
BIM and GIS field abstract concept linking method based on neutral semantic concept
CN121168644A
Integrated middle platform construction method for railway infrastructure operation and maintenance
CN122633672A
Cim platform-oriented bim model cross-scale semantic mapping method
CN122885063A
