A Method, System, Electronic Device and Storage Medium for Integrating GIS Data Information into a BIM Design Platform

By creating component classes and layer component classes in the BIM design platform, and calling interface methods to realize the loading and operation of GIS data, it solves the problem that GIS data cannot be captured, placed and edited in the BIM design platform, and realizes the natural integration and efficient operation of GIS data in the BIM platform.

CN120012199BActive Publication Date: 2025-07-25STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510502698.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-22
Publication Date
2025-07-25
Estimated Expiration
2045-04-22

AI Technical Summary

Technical Problem

When the existing BIM design platform loads GIS data information, GIS data can only be used as a base map display, and cannot have the ability to capture, place and edit like other components in the BIM design platform.

Method used

Create component classes and layer component classes in the BIM design platform, and call interface methods through the object of the layer component class to realize the loading and operation of GIS data, including visual display, capture, placement and editing.

Benefits of technology

Without destroying the BIM design platform architecture, GIS data is naturally integrated into the BIM design platform, realizing the visual display, capture, placement and editing capabilities of GIS data, improving work efficiency and enhancing the scalability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120012199B_ABST
    Figure CN120012199B_ABST
Patent Text Reader

Abstract

The present invention relates to a method, system, electronic device and storage medium for integrating GIS data information into a BIM design platform, belonging to the field of BIM software design. It includes: creating a component class and component subclasses including a first component for managing the geometric information and attribute information of component objects and implementing operations on component objects; creating a layer class and layer subclasses for managing the geospatial data of layer objects; creating a layer component class inheriting from the component class, creating an object of the layer class or layer subclasses through the layer component class, and calling the corresponding interface method to implement the loading of GIS data; and operating on the loaded GIS data by calling the interface method of the first component through the object of the layer component class. This method realizes the operation on the loaded GIS data by calling the interface method of the first component through the object of the layer component class, and solves the problem that the GIS data loaded by the BIM design platform does not have the capabilities of capturing, placing, editing, etc.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of BIM software design, and particularly to a method, a system, an electronic device and a storage medium for integrating GIS data information into a BIM design platform. Background Art

[0002] BIM (Building Information Modeling) is a data tool applied to engineering design, construction and management. It can integrate various relevant information data of an engineering project into a model and can be directly interpreted by a computer application program. The core of BIM technology lies in the construction of a three-dimensional model and the huge and detailed database generated therefrom, which not only contains the basic information of components, but also can track the information of components throughout their life cycles. By building a BIM digital design platform, not only the accuracy and integrity of attributes such as the geometric shape, spatial relationship and geographical information of components are ensured to achieve accurate modeling, but also the model can be viewed, shared, extracted and analyzed in multiple dimensions, and the progress data, electrical equipment data and construction information data of the engineering project are integrated together to accurately and intuitively reflect information such as the project progress, engineering quantity and cost data.

[0003] In recent years, with the rapid development of technologies such as big data and cloud computing, BIM technology, as a core technology of "new infrastructure", especially the digital transformation of the power grid, has entered a new stage of rapid development, which is crucial for improving the intelligent levels of engineering design, construction and application in fields such as architecture, machinery and the power grid.

[0004] GIS (Geographic Information System) is a system used for collecting, storing, managing, analyzing and displaying geospatial data. By combining geospatial data with attribute data, it provides powerful spatial analysis and visualization functions and is widely applied in fields such as urban planning and management, environmental protection, and public safety. The core of GIS technology lies in effectively managing geospatial data, including vector data (such as points, lines, surfaces, etc.) and raster data (such as images, terrain, etc.), providing rich spatial analysis tools to solve complex geographical problems, and intuitively displaying geographical information in the form of maps, charts, etc. By building a GIS digital platform, not only the scattered geospatial data are centrally stored and managed to ensure the consistency and integrity of the data, but also the geographical information is shared in real time through real-time data collection and analysis.

[0005] It can be seen that BIM technology and GIS technology are usually applied to different fields, and both have played great value in their respective fields. Recently, with the development of the "Internet +" technology, the integration of BIM technology and GIS technology has become a research hotspot. BIM technology can provide complete engineering data consistent with the actual situation for engineering projects, while GIS technology can provide macroscopic geospatial information, including spatial information such as the geographical location information of the project, the surrounding environment information, and the above-ground and underground pipeline systems. Therefore, integrating BIM technology and GIS technology can give full play to the advantages of both.

[0006] Currently, the existing methods for integrating BIM technology and GIS technology usually represent the BIM model in the GIS platform or integrate the GIS map data in the BIM platform to achieve the 3D visualization of the GIS map data. However, the existing methods for integrating GIS data information with the BIM design platform only load the GIS data information in the BIM design platform. Therefore, the GIS data information can only be used as a base map for display and does not have the capabilities of capturing, placing, editing, etc. like other components in the BIM design platform.

[0007] It can be seen that providing a method for integrating GIS data information into the BIM design platform so that the integrated GIS data has the same capabilities as other components in the BIM design platform is an urgent problem to be solved. Summary of the Invention

[0008] In view of the above analysis, the present invention aims to provide a method, a system, an electronic device, and a storage medium for integrating GIS data information into a BIM design platform to solve the problem that the GIS data loaded in the current BIM design platform does not have the capabilities of capturing, placing, editing, etc.

[0009] The present invention provides a method for integrating GIS data information into a BIM design platform, and the method includes the following steps:

[0010] Create a component class and several component subclasses that inherit from the component class in the BIM design platform. The component class and each component subclass include several first components, and the first components are used to manage the geometric information and attribute information of the component object and implement operations on the component object;

[0011] Create a layer class and several layer subclasses that inherit from the layer class in the GIS platform. The layer class and each layer subclass include several second components, which are used to manage the geospatial data of the layer object;

[0012] Create a layer component class in the BIM design platform, and the layer component class inherits the component class; create an object of the layer class or layer subclass through the layer component class, obtain the interface method information of the second component corresponding to the object of the layer class or layer subclass through the object of the layer class or layer subclass, and call the corresponding interface method according to the interface method information to implement the loading of GIS data;

[0013] Call the interface method of the first component through the object of the layer component class to operate on the loaded GIS data.

[0014] Further, the layer component class includes a layer object creation interface and a method call interface;

[0015] The layer object creation interface is used to create an object of the layer class or layer subclass according to the identifier of the input layer class or layer subclass;

[0016] The method call interface is used to call the corresponding interface method according to the ID corresponding to the input interface method or the name and address corresponding to the interface method.

[0017] Further, the creating an object of the layer class or layer subclass through the layer component class includes:

[0018] Store the mapping relationship between the identifier of the layer class or layer subclass and the corresponding layer class or layer subclass through a hash table or key-value pair; input the identifier of the layer class or layer subclass into the layer object creation method through the layer object creation interface, and create an object of the corresponding layer class or layer subclass according to the input identifier of the layer class or layer subclass and the corresponding layer class or layer subclass through the layer object creation method.

[0019] Further, the calling the corresponding interface method according to the interface method information includes:

[0020] Obtain the attribute information of the interface through the interface description file of the second component of the layer class or layer subclass, obtain the ID corresponding to the interface method or the name and address corresponding to the interface method according to the attribute information of the interface, input the ID corresponding to the interface method or the name and address corresponding to the interface method into the interface call method through the method call interface, and call the interface method of the second component of the corresponding layer class or layer subclass according to the ID corresponding to the input interface method or the name and address corresponding to the interface method through the interface call method.

[0021] Further, the method of inputting the identifier of a layer class or a layer subclass into the layer object creation method through the layer object creation interface includes: sending a layer object creation request to the layer component class through the BIM design platform, where the layer object creation request includes the identifier of the layer class or the layer subclass; calling the layer object creation interface of the layer component class, and inputting the identifier of the layer class or the layer subclass into the layer object creation method of the layer object creation interface through the layer object creation interface.

[0022] Further, the loading of GIS data is implemented through the following steps: sending a layer method call request to the object of the layer component class through the BIM design platform, where the layer method call request includes the file format of the GIS data; according to the layer method call request, the layer component class obtains the interface description file of the second component with the same GIS data file format through the object of the layer class or the layer subclass, obtains the identifier of its interface and the ID corresponding to the interface method or the name and address corresponding to the interface method through the interface description file; calling the method call interface, inputting the ID corresponding to the interface method or the name and address corresponding to the interface method into the interface call method of the method call interface through the method call interface, and calling the interface method of the second component of the corresponding layer class or layer subclass according to the ID corresponding to the interface method or the name and address corresponding to the interface method input, so as to implement the loading of GIS data with the same file format.

[0023] Further, the method of calling the interface method of the first component through the object of the layer component class includes:

[0024] Obtaining the attribute information of the interface through the interface description file of the first component of the component class, obtaining the ID corresponding to the interface method or the name and address corresponding to the interface method according to the attribute information of the interface, inputting the ID corresponding to the interface method or the name and address corresponding to the interface method into the interface call method through the method call interface, and calling the interface method of the first component of the corresponding component class according to the ID corresponding to the interface method or the name and address corresponding to the interface method input through the interface call method.

[0025] Further, the operations on the loaded GIS data are implemented through the following steps: sending a component method call request to the object of the layer component class through the BIM design platform, where the component method call request includes the operation information on the loaded GIS data; according to the component method call request, the layer component class obtains the interface description file of the first component that implements the same operation through the object of the component class or component subclass, and obtains the identifier of its interface and the ID corresponding to the interface method or the name and address corresponding to the interface method through the interface description file; calling the method call interface, inputting the ID corresponding to the interface method or the name and address corresponding to the interface method into the interface call method of the method call interface through the method call interface, and calling the interface method of the first component of the corresponding component class or component subclass according to the input ID corresponding to the interface method or the name and address corresponding to the interface method through the interface call method to implement the corresponding operations on the loaded GIS data, where the operations include visual display, capture, placement, and editing.

[0026] Further, the first component includes a basic information component, a geometric information component, an attribute information component, a view expression component, a coordinate transformation component, an association update component, an editing component, and an interaction component.

[0027] Further, the visual display of the loaded GIS data is performed through the following steps:

[0028] Obtaining the attribute information of the interface through the interface description file of the view expression component of the layer component class, obtaining the ID corresponding to the data conversion interface method according to the attribute information of the interface, calling the data conversion interface method, and converting the loaded GIS data into the picture data of the BIM design platform; obtaining the ID corresponding to the rendering interface method according to the attribute information of the interface, calling the rendering interface method, rendering the picture data of the BIM design platform into a display node, and displaying it on the current form.

[0029] Further, the coordinate transformation of the loaded GIS data is performed through the following steps:

[0030] Obtaining the attribute information of the interface through the interface description file of the coordinate transformation component of the layer component class, obtaining the ID corresponding to the coordinate transformation interface method according to the attribute information of the interface, and calling the coordinate transformation interface method to convert the coordinate of the loaded GIS data into the coordinate under the BIM design platform.

[0031] Further, the capture / placement of the loaded GIS data is performed through the following steps:

[0032] Obtain the attribute information of the interface through the interface description file of the interactive component of the layer component class, obtain the ID corresponding to the capture / placement interface method according to the attribute information of its interface, and call the capture / placement interface method to perform capture / placement on the loaded GIS data.

[0033] Furthermore, the loaded GIS data is edited through the following steps:

[0034] Obtain the attribute information of the interface through the interface description file of the editing component of the layer component class, obtain the ID corresponding to the interface method of the specific editing operation according to the attribute information of its interface, and call the interface method to edit the loaded GIS data.

[0035] Furthermore, the system includes:

[0036] A component class management module, which is used to create and manage component classes and several component subclasses that inherit the component class, and send the information of the component class and component subclasses to the GIS data information fusion module; the information of the component class and component subclasses includes the component class, component subclasses, and the first components corresponding to the component class and component subclasses.

[0037] A layer class management module, which is used to create and manage layer classes and several layer subclasses that inherit the layer class, and send the information of the layer class and layer subclasses to the GIS data information fusion module; the information of the layer class and layer subclasses includes the layer class, layer subclasses, and the second components corresponding to the layer class and layer subclasses.

[0038] A GIS data information fusion module, which is used to create a layer component class, create an object of the layer class or layer subclass through the layer component class, obtain the interface method information of the second component corresponding to the object of the layer class or layer subclass through the object of the layer class or layer subclass, call the corresponding interface method according to the interface method information to implement the loading of GIS data; and call the interface method of the first component through the object of the layer component class to implement operations on the loaded GIS data.

[0039] Furthermore, the component class management module includes a component class creation module, a first component creation module, and a component information management module. The component class creation module is used to create component classes and component subclasses; the first component creation module is used to create the first components of the component classes and component subclasses; the component information management module is used to send the information of the component classes and component subclasses to the GIS data information fusion module.

[0040] Further, the layer class management module includes a layer class creation module, a second component creation module, and a layer information management module. The layer class creation module is used to create layer classes and layer subclasses; the second component creation module is used to create second components for the layer classes and layer subclasses; the layer information management module is used to send the information of the layer classes and layer subclasses to the GIS data information fusion module.

[0041] Further, the GIS data information fusion module includes a layer component class creation module, a layer class object creation module, and an interface method call module. The layer component class creation module is used to create layer component classes; the layer class object creation module is used to create objects of the layer classes or layer subclasses through the layer component classes; the interface method call module is used to call the interface methods of the second components through the objects of the layer classes to implement the loading of GIS data, and to call the interface methods of the first components through the objects of the layer component classes to operate on the loaded GIS data, and the operations include visual display, capture, placement, and editing.

[0042] Further, the layer subclasses include vector layer classes and raster layer classes. The vector layer classes are used to represent and manage vector data, and the raster layer classes are used to represent and manage raster data;

[0043] The second components of the vector layer classes include Shp format vector layer components, GeoJson format vector layer components, and Mif format vector layer components; the second components of the raster layer classes include Tif format raster layer components, Osgb format raster layer components, and 3DTiles format raster layer components.

[0044] Further, the electronic device includes:

[0045] A memory for storing a computer program;

[0046] A processor for executing the computer program to implement the method for the BIM design platform to fuse GIS data information.

[0047] Further, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps of the method for the BIM design platform to fuse GIS data information are implemented.

[0048] Compared with the prior art, the present invention can at least achieve one of the following beneficial effects:

[0049] 1. The present invention creates a layer component class that inherits from the component class, creates an object of the layer class through this layer component class, and realizes the loading of GIS data by calling the interface method of the corresponding second component based on the object of the layer class. The design is more reasonable, and the GIS data can be naturally integrated into the BIM design platform without damaging the architecture of the BIM design platform.

[0050] 2. The present invention calls the interface method of the first component through the object of the layer component class to realize the visualization display, capture, placement, and editing of the loaded GIS data, and solves the problem that the GIS data loaded by the BIM design platform does not have the capabilities of capture, placement, editing, etc.

[0051] 3. The method for realizing the loading of GIS data in the present invention does not require manual standardization processing and information extraction of GIS data, thus improving work efficiency.

[0052] 4. The present invention can quickly realize the loading of GIS data in other file formats by extending the layer class, and can also quickly realize other operations on the loaded GIS data by extending the first component of the layer component class, with high efficiency and strong scalability.

[0053] In the present invention, the above technical solutions can also be combined with each other to achieve more preferred combination schemes. Other features and advantages of the present invention will be described in the subsequent specification, and some advantages can be made obvious from the specification, or understood by implementing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the content specifically pointed out in the specification and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings. The drawings are only used for the purpose of showing specific embodiments and are not considered as limitations of the present invention. Throughout the drawings, the same reference signs represent the same components;

[0055] Figure 1 is a flowchart of the method for integrating GIS data information in the BIM design platform according to the embodiment of the present invention;

[0056] Figure 2 is an effect diagram of visualizing the GIS map in the raster data format loaded according to the embodiment of the present invention;

[0057] Figure 3It is a block diagram of a system for integrating GIS data information in the BIM design platform according to an embodiment of the present invention. Detailed implementation manners

[0058] The following will specifically describe the preferred embodiments of the present invention in conjunction with the accompanying drawings. The accompanying drawings form a part of this application and are used together with the embodiments of the present invention to explain the principles of the present invention, rather than to limit the scope of the present invention. It should be clear that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative work fall within the scope of protection of the present invention.

[0059] Those skilled in the art should know that the following specific embodiments or specific implementation manners are a series of optimized setting methods listed by the present invention to further explain the specific content of the invention, and these setting methods can be combined with each other or used in association with each other, unless the present invention clearly states that some or a specific embodiment or implementation manner cannot be associated or used together with other embodiments or implementation manners. At the same time, the following specific embodiments or implementation manners are only used as the most optimized setting methods and are not used to understand the scope of protection of the present invention.

[0060] Embodiment 1:

[0061] A specific embodiment of the present invention discloses a method for integrating GIS data information in a BIM design platform. As Figure 1 shown, the method includes the following steps:

[0062] Step S1: Create a component class and several component subclasses that inherit the component class in the BIM design platform. The component class and each component subclass include several first components, and the first components are used to manage the geometric information and attribute information of the component object and implement operations on the component object;

[0063] Create a layer class and several layer subclasses that inherit the layer class in the GIS platform. The layer class and each layer subclass include several second components for managing the geospatial data of the layer object;

[0064] Step S2: Create a layer component class in the BIM design platform, and the layer component class inherits the component class; create an object of the layer class or layer subclass through the layer component class, obtain the interface method information of the second component corresponding to the object of the layer class or layer subclass through the object of the layer class or layer subclass, and call the corresponding interface method according to the interface method information to implement the loading of GIS data;

[0065] The interface method of the first component is called through an object of the layer component class to operate on the loaded GIS data.

[0066] Specifically, in step S1, according to the actual needs of the engineering project, a component subclass that inherits the component class is created, and each component subclass represents an actual entity in the engineering project.

[0067] Exemplarily, for a power grid transmission and transformation engineering project, the created component subclasses include a transformer component class, a circuit breaker component class, a disconnector component class, a capacitor component class, a reactor component class, a power tower component class, a utility pole component class, a cable bridge structure component class, a relay component class, a lightning arrester component class, a grounding device component class, a meter component class, a wireless communication device component class, a cooling device component class, a heating device component class, a ventilation device component class.

[0068] It should be noted that a component refers to an independent unit or component with specific functions and attributes in the model after modeling through the BIM design platform. Components are the smallest units in the BIM model, and they form a complete BIM model through mutual connection and combination. By instantiating the component subclass, an object of the component subclass is obtained, and operating on the object of the component subclass during the BIM modeling process means operating on the specific component.

[0069] It can be understood that the BIM design platform in this application is not limited to traditional BIM professional software, and any system with BIM modeling functions belongs to the BIM design platform.

[0070] Furthermore, the first component includes a basic information component, a geometric information component, an attribute information component, a view expression component, a coordinate transformation component, an association update component, an editing component, and an interaction component.

[0071] Specifically, the basic information component includes the name and type of the corresponding component class or component subclass.

[0072] Exemplarily, the basic information component of the transformer element class includes its name "TransformerElement" and type "Power transmission equipment", the basic information component of the circuit breaker element class includes its name "CircuitBreakerElement" and type "Power transmission equipment", the basic information component of the isolator element class includes its name "IsolatorElement" and type "Power transmission equipment", the basic information component of the capacitor element class includes its name "CapacitorElement" and type "Power transmission equipment", the basic information component of the reactor element class includes its name "ReactorElement" and type "Power transmission equipment", the basic information component of the power tower element class includes its name "PowerTowerElement" and type "Power support structure", the basic information component of the utility pole element class includes its name "UtilityPoleElement" and type "Power support structure", the basic information component of the cable bridge element class includes its name "CableBridgeElement" and type "Power support structure", the basic information component of the relay element class includes its name "RelayElement" and type "Power protection equipment", the basic information component of the surge arrester element class includes its name "SurgeArresterElement" and type "Power protection equipment", the basic information component of the grounding device element class includes its name "GroundingDeviceElement" and type "Power protection equipment", the basic information component of the electric meter element class includes its name "ElectricMeterElement" and type "Power protection equipment", the basic information component of the wireless communication equipment element class includes its name "WLSEquipmentElement" and type "Power communication equipment", the basic information component of the cooling equipment element class includes its name "CoolingEquipmentElement" and type "Power auxiliary equipment", the basic information component of the heating equipment element class includes its name "HeatingEquipmentElement" and type "Power auxiliary equipment", and the basic information component of the ventilation equipment element class includes its name "VentilationEquipmentElement" and type "Power auxiliary equipment".

[0073] Specifically, the geometric information component includes the geometry, dimensions, position, and orientation of the corresponding element class or element subclass.

[0074] Specifically, the geometric shape represents the three-dimensional representation of the corresponding component object, including points, lines, surfaces, solids, etc. The dimensions represent the geometric dimensions of the corresponding component object, including length, width, height, etc. The position represents the spatial position of the corresponding component object in the BIM model, including the X-axis coordinate, Y-axis coordinate, and Z-axis coordinate. The orientation represents the orientation of the corresponding component object in the BIM model, including the rotation angle relative to a reference direction (such as the X-axis).

[0075] Specifically, the attribute information component includes the material, function, cost, installation date, etc. of the corresponding component class or component subclass.

[0076] Further, the view expression component includes the three-dimensional view component and the rendering component of the corresponding component class or component subclass.

[0077] Specifically, the three-dimensional view component displays the corresponding component object through an orthographic view (such as a front view, side view, top view) or a perspective view. The rendering component includes a real-time rendering engine component, a material management component, a lighting and shadow management component, and a rendering settings component, which are used to provide a high-quality visual display effect.

[0078] Specifically, the real-time rendering engine component is used to display the rendering effect of the corresponding component object in real time during the user's operation, such as previewing the effects of different materials, lighting, and shadows, providing a more realistic visual experience. The material management component is used to set the material and texture attributes for the corresponding component object to enhance the realism of the component object; the material attributes include the color, reflectivity, transparency, etc. of the corresponding component object, and the texture attributes include the texture map and texture mapping of the corresponding component object. The lighting and shadow management component is used to set the lighting and shadow effects for the corresponding component object to improve the realism of the lighting; setting the lighting effect includes adding and adjusting light sources (such as adjusting the type, intensity, color, etc. of the light source), simulating different lighting conditions, and setting the shadow effect includes adjusting the intensity and blur of the shadow and performing real-time shadow calculations to make the shadow more natural. The rendering settings component is used to set the rendering parameters, such as the resolution size, whether to perform anti-aliasing processing, etc.

[0079] Further, the coordinate transformation component includes a coordinate system definition component and a coordinate transformation operation component of the corresponding component class or component subclass.

[0080] Specifically, the coordinate system definition component of the component class is used to define the global coordinate system of the BIM model, and the coordinate system definition component of the component subclass is used to define the local coordinate system of the corresponding component object.

[0081] It should be noted that the global coordinate system of the BIM model is unique and will not change with the changes of components in the BIM model or operations on the components, that is, the direction and origin position of its global coordinate system remain unchanged. Therefore, the global coordinate system of the BIM model provides a fixed reference benchmark for all components therein to determine the absolute position of each component in the BIM model in the said global coordinate system. The local coordinate system is the reference coordinate system of the component object, with independent direction and origin position, enabling users to operate more flexibly when dealing with complex BIM models.

[0082] Specifically, the coordinate transformation operation component is used to calculate the coordinate transformation matrix corresponding to the local coordinate system of the corresponding component object.

[0083] It should be noted that through the coordinate transformation matrix corresponding to the local coordinate system, the three-dimensional coordinates in the local coordinate system can be mapped to the three-dimensional coordinates in the global coordinate system; through the inverse matrix of the coordinate transformation matrix corresponding to the local coordinate system, the three-dimensional coordinates in the global coordinate system can be mapped to the three-dimensional coordinates in the user coordinate system. Therefore, by establishing the conversion relationship between each local coordinate system and the said global coordinate system, the components in the local coordinate system can be converted to the global coordinate system for representation and calculation, or the components in the global coordinate system can be converted to the local coordinate system for representation and calculation.

[0084] Furthermore, the association update component includes the association relationship management component, parametric update component, and event-driven update component corresponding to the component class or component subclass.

[0085] Specifically, the association relationship management component is used to manage the dependency relationships between components in the BIM model, so as to identify other components associated with a certain component after modification and provide a basis for corresponding updates to other components associated with it. The parametric update component is used to automatically update the geometry and attributes of the modified component and other components associated with it according to the modified component parameters. The event-driven update component is used to automatically trigger the update of the geometry and attributes of the component and other components associated with it according to specific events (such as user operations, data import).

[0086] Exemplarily, in the process of BIM modeling for power grid transmission and transformation engineering projects, the association relationship management component manages the dependency relationship between power towers and transmission lines; when the user modifies the height of a power tower, the parametric update component automatically updates the height of the power tower and the length of the transmission line connected to the power tower; when the user modifies the position of a power tower by mouse, the event-driven update component automatically triggers the update of the position of the power tower and the path of the transmission line connected to the power tower.

[0087] It should be noted that by using the associated update component, when a user modifies a certain component of the BIM model, other components associated with it are automatically updated to ensure the consistency and integrity among the components in the BIM model, thereby reducing errors in the BIM modeling process.

[0088] Furthermore, the editing component includes modification components, copy and paste components, translation components, rotation components, scaling components, and deletion components corresponding to component classes or subclasses.

[0089] Specifically, the modification component is used to modify the geometric shape (such as length, width, height, etc.) and attributes (such as material, cost, etc.) of the corresponding construction object. The copy and paste component is used to copy and paste the corresponding construction object, thereby quickly creating multiple identical components. The translation component is used to move the corresponding component object in the selected direction. The rotation component is used to rotate the corresponding component object along the selected axis. The scaling component is used to enlarge or reduce the corresponding component object according to a set ratio. The deletion component is used to delete the corresponding component object.

[0090] Furthermore, the interaction component is used to receive user input (such as mouse operations, keyboard inputs, etc.) through input devices (such as mice, keyboards, etc.), execute corresponding operations, and feedback the results of the operations to the user, such as performing operations such as capturing, picking up, and placing components through the mouse.

[0091] Furthermore, the layer subclasses include vector layer classes and raster layer classes. The vector layer class is used to represent and manage vector data, and the raster layer class is used to represent and manage raster data.

[0092] Specifically, vector data represents geospatial data in geometric shapes such as points, lines, and polygons. Each geometric shape has corresponding coordinate positions and is commonly used in fields such as urban planning, land management, and utility management. Vector data can not only accurately represent geometric shapes with clear boundaries in the geospatial space but also represent topological relationships between geometric shapes, such as adjacency, containment, and intersection. Vector data can be stored in different file formats, and the main file formats of vector data include Shp, GeoJson, Mif, etc.

[0093] Specifically, raster data represents geospatial data in regular grids and is commonly used in fields such as satellite images and digital elevation models. Raster data can represent continuous geographical phenomena and is suitable for large-scale and small-scale data. The main file formats of raster data include Tif, Osgb, 3DTiles, etc.

[0094] It should be noted that a layer represents a collection of geospatial data. Each layer contains a set of data with the same geometric type or theme. Different layers can be displayed on the map individually or together with other layers.

[0095] Furthermore, the second component of the vector layer class includes a Shp - format vector layer component, a GeoJson - format vector layer component, and a Mif - format vector layer component; the second component of the raster layer class includes a Tif - format raster layer component, an Osgb - format raster layer component, and a 3DTiles - format raster layer component.

[0096] Specifically, the above - mentioned second component is used to manage the geospatial data of the layer objects in the corresponding format. For example, the Shp - format vector layer component is used to manage the geospatial data of the Shp - format layer objects.

[0097] It should be noted that according to actual needs, the second component is extended to support vector data and raster data in various different file formats.

[0098] Specifically, in step S2, a layer component (LayerElemnt) class is created in the BIM design platform. The layer component class is a subclass of the component class. The layer component class includes a layer object creation interface and a method call interface.

[0099] Specifically, the layer object creation interface is used to create an object of the layer class or layer subclass according to the identifier of the input layer class or layer subclass.

[0100] Specifically, creating an object of the layer class or layer subclass through the layer component class includes:

[0101] Storing the mapping relationship between the identifier (i.e., GUID) of the layer class or layer subclass and the corresponding layer class or layer subclass through a hash table or key - value pair; inputting the identifier of the layer class or layer subclass into the layer object creation method through the layer object creation interface, and creating an object of the corresponding layer class or layer subclass according to the input identifier of the layer class or layer subclass and the corresponding layer class or layer subclass.

[0102] Specifically, the method call interface is used to call the corresponding interface method according to the ID corresponding to the input interface method or the name and address corresponding to the interface method.

[0103] Specifically, calling the corresponding interface method according to the interface method information includes:

[0104] Obtain the attribute information of the interface of the second component of the layer class or layer subclass through the interface description file, obtain the ID corresponding to the interface method or the name and address corresponding to the interface method according to the attribute information of the interface, input the ID corresponding to the interface method or the name and address corresponding to the interface method into the interface call method through method call interface, and call the interface method of the corresponding second component of the layer class or layer subclass according to the input ID corresponding to the interface method or the name and address corresponding to the interface method through the interface call method.

[0105] Specifically, the attribute information includes the identifier of the interface and the attribute information of the interface method, and the attribute information of the interface method includes the ID, name, offset address, parameter list, return value, etc. of the interface method.

[0106] It should be noted that the interface of the second component of the layer class is defined in the BIM design platform. The interface of the second component of the layer class includes the attribute information of the interface and the interface method. Among them, the interface method corresponds to the method of the second component of the layer class in the GIS platform, and the attribute information of the interface method corresponds to the attribute information of the method of the second component of the layer class in the GIS platform. Similarly, the interface of the second component of the layer subclass is defined in the BIM design platform, and the interface of the second component of the layer subclass inherits the interface of the second component of the layer class.

[0107] Furthermore, the inputting the identifier of the layer class or layer subclass into the layer object creation method through the layer object creation interface includes: sending a layer object creation request to the layer component class through the BIM design platform, where the layer object creation request includes the identifier of the layer class or layer subclass; calling the layer object creation interface of the layer component class, and inputting the identifier of the layer class or layer subclass into the layer object creation method of the layer object creation interface through the layer object creation interface.

[0108] It should be noted that during the BIM modeling process, the BIM design platform determines the layer class or layer subclass in the GIS platform that needs to be called according to actual needs, obtains the identifier corresponding to the layer class or layer subclass through a hash table or key-value pair according to the layer class or layer subclass, and creates a layer object creation request according to the corresponding identifier and sends it to the layer component class.

[0109] Further, the loading of GIS data is achieved through the following steps: sending a layer method call request to the object of the layer component class through the BIM design platform, where the layer method call request includes the file format of the GIS data; according to the layer method call request, the layer component class obtains the interface description file of the second component with the same GIS data file format through the object of the layer class or layer subclass, and obtains the identifier of its interface and the ID corresponding to the interface method or the name and address corresponding to the interface method through the interface description file; calling the method call interface, inputting the ID corresponding to the interface method or the name and address corresponding to the interface method into the interface call method of the method call interface through the method call interface, and calling the interface method of the second component of the corresponding layer class or layer subclass according to the input ID corresponding to the interface method or the name and address corresponding to the interface method through the interface call method, so as to achieve the loading of GIS data with the same file format.

[0110] It should be noted that the interfaces of the second components of the layer class and the layer subclass both have corresponding interface description files, and the interface description files store the attribute information of the interfaces of the second components of the layer class or layer subclass. When calling the interface method, it is also necessary to input the parameter list into the interface call method of the method call interface.

[0111] Exemplarily, for the GIS raster data in Tif file format, an object of the raster layer class is created through the layer component class, the interface description file of the Tif format raster layer component is obtained through the object of the raster layer class, the ID corresponding to the read data interface method is obtained through this interface description file, and the read data interface method is called to achieve the loading of the GIS raster data in Tif file format.

[0112] It can be understood that due to the differences in data standards, formats, and temporal information between BIM data and GIS data, it is usually necessary to manually perform standardization processing and information extraction on GIS data. However, the method for loading GIS data in the present invention does not require manual standardization processing and information extraction of GIS data, thus improving work efficiency. The present invention creates a layer component class that inherits from the component class, creates an object of the layer class through this layer component class, and realizes the loading of GIS data by calling the interface method of the corresponding second component based on the object of the layer class. The design is more reasonable, and the GIS data is naturally integrated into the BIM design platform without damaging the architecture of the BIM design platform.

[0113] Further, the calling of the interface method of the first component by the object of the layer component class includes:

[0114] Obtain the attribute information of the interface of the first component of the component class through the interface description file of the first component of the component class. Obtain the ID corresponding to the interface method or the name and address corresponding to the interface method according to the attribute information of the interface. Input the ID corresponding to the interface method or the name and address corresponding to the interface method into the interface call method through the method call interface. Call the interface method of the first component of the corresponding component class according to the ID corresponding to the input interface method or the name and address corresponding to the interface method through the interface call method.

[0115] It should be noted that the interface of the first component of the component class is defined in the BIM design platform. The interface of the first component of the component class includes the attribute information of the interface and the interface method. Among them, the interface method corresponds to the method of the first component, and the attribute information of the interface method corresponds to the attribute information of the method of the first component of the component class. Similarly, the interface of the first component of the component subclass is defined in the BIM design platform, and the interface of the first component of the component subclass inherits the interface of the first component of the component class.

[0116] Furthermore, the operation on the loaded GIS data is realized through the following steps: Send a component method call request to the object of the layer component class through the BIM design platform. The component method call request includes the operation information on the loaded GIS data (including visual display, capture, placement, editing); The layer component class obtains the interface description file of the first component that implements the same operation through the object of the component class or the component subclass according to the component method call request, and obtains the identifier of its interface and the ID corresponding to the interface method or the name and address corresponding to the interface method through the interface description file; Call the method call interface, input the ID corresponding to the interface method or the name and address corresponding to the interface method into the interface call method of the method call interface through the method call interface, and call the interface method of the first component of the corresponding component class or the component subclass according to the ID corresponding to the input interface method or the name and address corresponding to the interface method, so as to realize the corresponding operation on the loaded GIS data, and the operation includes visual display, capture, placement, editing.

[0117] It should be noted that the interfaces of the first components of the component class and the component subclass both have corresponding interface description files, and the attribute information of the interfaces of the first components of the component class or the component subclass is stored in the interface description files.

[0118] Furthermore, the visual display of the loaded GIS data is carried out through the following steps:

[0119] Obtain the attribute information of the interface of the component through the interface description file of the view expression component of the layer component class, obtain the ID corresponding to the data conversion interface method according to the attribute information of its interface, call this data conversion interface method, and convert the loaded GIS data into the picture data of the BIM design platform; obtain the ID corresponding to the rendering interface method according to the attribute information of its interface, call this rendering interface method, render the picture data of the BIM design platform into a display node (for example, render it into triangular patch data), and display it on the current form.

[0120] Exemplarily, as Figure 2 shown, load a GIS map in raster data format and perform visual display on the loaded GIS map.

[0121] Furthermore, perform coordinate transformation on the loaded GIS data through the following steps:

[0122] Obtain the attribute information of the interface of the coordinate transformation component of the layer component class through the interface description file, obtain the ID corresponding to the coordinate transformation interface method according to the attribute information of its interface, call this coordinate transformation interface method, and convert the coordinates of the loaded GIS data into the coordinates under the BIM design platform.

[0123] Furthermore, perform snapping / placing on the loaded GIS data through the following steps:

[0124] Obtain the attribute information of the interface of the interaction component of the layer component class through the interface description file, obtain the ID corresponding to the snapping / placing interface method according to the attribute information of its interface, call this snapping / placing interface method, and perform snapping / placing on the loaded GIS data.

[0125] Furthermore, perform editing on the loaded GIS data through the following steps:

[0126] Obtain the attribute information of the interface of the editing component of the layer component class through the interface description file, obtain the ID corresponding to the interface method of the specific editing operation according to the attribute information of its interface, call this interface method, and perform editing on the loaded GIS data, where the editing includes translating, rotating, and scaling the loaded GIS data.

[0127] It can be understood that the present invention calls the interface method of the first component through the object of the layer component class to realize visual display, snapping, placing, and editing of the loaded GIS data, and solves the problem that the GIS data loaded by the BIM design platform does not have the capabilities of snapping, placing, and editing. The present invention can quickly load GIS data in other file formats by extending the layer class, and can also quickly perform other operations on the loaded GIS data by extending the first component of the layer component class, with high efficiency and strong scalability.

[0128] Example 2:

[0129] Another specific embodiment of the present invention discloses a system for integrating GIS data information into a BIM design platform. As Figure 3 shown, the system includes:

[0130] A component class management module for creating and managing component classes and several component subclasses that inherit the component classes, and sending the information of the component classes and component subclasses to the GIS data information integration module; the information of the component classes and component subclasses includes component classes, component subclasses, and the first components corresponding to the component classes and component subclasses;

[0131] A layer class management module for creating and managing layer classes and several layer subclasses that inherit the layer classes, and sending the information of the layer classes and layer subclasses to the GIS data information integration module; the information of the layer classes and layer subclasses includes layer classes, layer subclasses, and the second components corresponding to the layer classes and layer subclasses;

[0132] A GIS data information integration module for creating a layer component class, creating an object of the layer class or layer subclass through the layer component class, obtaining the interface method information of the second component corresponding to the object of the layer class or layer subclass through the object of the layer class or layer subclass, calling the corresponding interface method according to the interface method information to implement the loading of GIS data; and calling the interface method of the first component through the object of the layer component class to implement the operation on the loaded GIS data.

[0133] Further, the component class management module includes a component class creation module, a first component creation module, and a component information management module. The component class creation module is used to create component classes and component subclasses; the first component creation module is used to create the first components of the component classes and component subclasses; the component information management module is used to send the information of the component classes and component subclasses to the GIS data information integration module.

[0134] Specifically, according to the actual needs of the engineering project, component subclasses that inherit the component classes are created, and each component subclass represents an actual entity in the engineering project.

[0135] It should be noted that a component refers to an independent unit or component with specific functions and attributes in the model after modeling by the BIM design platform. Components are the smallest units in the BIM model, and they form a complete BIM model through mutual connection and combination. By instantiating the component subclass, an object of the component subclass is obtained, and operating on the object of the component subclass during the BIM modeling process means operating on the specific component.

[0136] Furthermore, the first component includes a basic information component, a geometric information component, an attribute information component, a view expression component, a coordinate transformation component, an association update component, an editing component, and an interaction component.

[0137] Specifically, the basic information component includes the name and type of the corresponding component class or component subclass. The geometric information component includes the geometric shape, size, position, and orientation of the corresponding component class or component subclass. The attribute information component includes the material, function, cost, installation date, etc. of the corresponding component class or component subclass. The view expression component includes a 3D view component and a rendering component for the corresponding component class or component subclass. The coordinate transformation component includes a coordinate system definition component and a coordinate transformation operation component for the corresponding component class or component subclass. The coordinate transformation operation component is used to calculate the coordinate transformation matrix corresponding to the local coordinate system of the corresponding component object. The association update component includes an association relationship management component, a parametric update component, and an event-driven update component for the corresponding component class or component subclass. The editing component includes a modification component, a copy and paste component, a translation component, a rotation component, a scaling component, and a deletion component for the corresponding component class or component subclass. The interaction component is used to receive user input (such as mouse operations, keyboard inputs, etc.) through an input device (such as a mouse, keyboard, etc.), execute corresponding operations, and feedback the results of the operations to the user, such as performing operations such as capturing, picking up, and placing components through the mouse.

[0138] Specifically, the geometric shape represents the 3D representation of the corresponding component object, including points, lines, surfaces, solids, etc. The size represents the geometric size of the corresponding component object, including length, width, height, etc. The position represents the spatial position of the corresponding component object in the BIM model, including the X-axis coordinate, Y-axis coordinate, and Z-axis coordinate. The orientation represents the orientation of the corresponding component object in the BIM model, including the rotation angle relative to a reference direction (such as the X-axis).

[0139] Specifically, the 3D view component displays the corresponding component object through an orthographic view (such as a front view, side view, top view) or a perspective view. The rendering component includes a real-time rendering engine component, a material management component, a lighting and shading management component, and a rendering settings component, and is used to provide a high-quality visual display effect.

[0140] Specifically, the real-time rendering engine component is used to display the rendering effect of the corresponding component object in real time during user operations, such as previewing the effects of different materials, lighting, and shadows, providing a more realistic visual experience. The material management component is used to set material and texture attributes for the corresponding component object to enhance the realism of the component object; the material attributes include the color, reflectivity, transparency, etc. of the corresponding component object, and the texture attributes include texture mapping, texture mapping, etc. of the corresponding component object. The lighting and shadow management component is used to set lighting and shadow effects for the corresponding component object to improve the realism of lighting; the setting of lighting effects includes adding and adjusting light sources (such as adjusting the type, intensity, color, etc. of the light source), simulating different lighting conditions, and the setting of shadow effects includes adjusting the intensity and blur of the shadow and performing real-time shadow calculations to make the shadow more natural. The rendering settings component is used to set rendering parameters, such as resolution size, whether to perform anti-aliasing processing, etc.

[0141] Specifically, the coordinate system definition component of the component class is used to define the global coordinate system of the BIM model, and the coordinate system definition component of the component subclass is used to define the local coordinate system of the corresponding component object.

[0142] Specifically, the association relationship management component is used to manage the dependency relationships between various components in the BIM model, so as to identify other components associated with a certain component after modification and provide a basis for corresponding updates to other components associated with it. The parametric update component is used to automatically update the geometry and attributes of the modified component and other components associated with it according to the modified component parameters. The event-driven update component is used to automatically trigger the update of the geometry and attributes of the modified component and other components associated with it according to specific events (such as user operations, data import).

[0143] Specifically, the modification component is used to modify the geometry (such as length, width, height, etc.) and attributes (such as material, cost, etc.) of the corresponding construction object. The copy and paste component is used to copy and paste the corresponding construction object, so as to quickly create multiple identical components. The translation component is used to move the corresponding component object along the selected direction. The rotation component is used to rotate the corresponding component object along the selected axis. The scaling component is used to enlarge or reduce the corresponding component object according to the set ratio. The deletion component is used to delete the corresponding component object.

[0144] Furthermore, the layer class management module includes a layer class creation module, a second component creation module, and a layer information management module. The layer class creation module is used to create layer classes and layer subclasses; the second component creation module is used to create second components of the layer classes and layer subclasses; the layer information management module is used to send the information of the layer classes and layer subclasses to the GIS data information fusion module.

[0145] Specifically, the layer subclasses include vector layer classes and raster layer classes. The vector layer classes are used to represent and manage vector data, and the raster layer classes are used to represent and manage raster data.

[0146] Specifically, vector data represents geospatial data in geometric shapes such as points, lines, and polygons. Each geometric shape has a corresponding coordinate position and is commonly used in fields such as urban planning, land management, and utility management. Vector data can not only accurately represent geometric shapes with clear boundaries in the geospatial space but also represent the topological relationships between geometric shapes, such as adjacency, containment, and intersection. Vector data can be stored in different file formats, and the main file formats of vector data are Shp, GeoJson, Mif, etc.

[0147] Specifically, raster data represents geospatial data in regular grids and is commonly used in fields such as satellite images and digital elevation models. Raster data can represent continuous geographical phenomena and is suitable for large-scale and small-scale data. The main file formats of raster data are Tif, Osgb, 3DTiles, etc.

[0148] Furthermore, the second components of the vector layer classes include Shp format vector layer components, GeoJson format vector layer components, and Mif format vector layer components; the second components of the raster layer classes include Tif format raster layer components, Osgb format raster layer components, and 3DTiles format raster layer components.

[0149] Specifically, the above-mentioned second components are used to manage the geospatial data of layer objects in the corresponding formats. For example, the Shp format vector layer component is used to manage the geospatial data of Shp format layer objects.

[0150] Furthermore, the GIS data information fusion module includes a layer component class creation module, a layer class object creation module, and an interface method call module. The layer component class creation module is used to create layer component classes; the layer class object creation module is used to create objects of the layer classes or layer subclasses through the layer component classes; the interface method call module is used to call the interface methods of the second components through the objects of the layer classes to implement the loading of GIS data, and call the interface methods of the first components through the objects of the layer component classes to perform operations on the loaded GIS data. The operations include visual display, capture, placement, and editing.

[0151] Specifically, the layer component class is a subclass of the component class. The layer component class includes a layer object creation interface and a method call interface.

[0152] Specifically, the layer object creation interface is used to create an object of a layer class according to the identifier of an input layer class or layer subclass.

[0153] Specifically, creating an object of the layer class or layer subclass through the layer component class includes:

[0154] Storing the mapping relationship between the identifier (i.e., GUID) of the layer class and the corresponding layer class or layer subclass through a hash table or key-value pair; inputting the identifier of the layer class or layer subclass into the layer object creation method through the layer object creation interface, and creating an object of the corresponding layer class or layer subclass according to the input identifier of the layer class or layer subclass through the layer object creation method.

[0155] Specifically, the method call interface is used to call the corresponding interface method according to the ID corresponding to the input interface method or the name and address corresponding to the interface method.

[0156] Exemplarily, for GIS raster data in Tif file format, an object of the raster layer class is created through the layer component class, an interface description file of its Tif format raster layer component is obtained through the object of the raster layer class, the ID corresponding to its data reading interface method is obtained through this interface description file, and this data reading interface method is called to implement the loading of GIS raster data in Tif file format.

[0157] Further, the loaded GIS data is visually displayed through the following steps:

[0158] The attribute information of its interface is obtained through the interface description file of the view expression component of the layer component class, the ID corresponding to the data conversion interface method is obtained according to the attribute information of its interface, and this data conversion interface method is called to convert the loaded GIS data into picture data of the BIM design platform; the ID corresponding to the rendering interface method is obtained according to the attribute information of its interface, and this rendering interface method is called to render the picture data of the BIM design platform into display nodes (for example, rendered into triangular patch data) and display it on the current form.

[0159] Further, the loaded GIS data is coordinate-transformed through the following steps:

[0160] The attribute information of its interface is obtained through the interface description file of the coordinate transformation component of the layer component class, the ID corresponding to the coordinate transformation interface method is obtained according to the attribute information of its interface, and this coordinate transformation interface method is called to convert the coordinates of the loaded GIS data into coordinates under the BIM design platform.

[0161] Further, the loaded GIS data is captured / placed through the following steps:

[0162] Obtain the attribute information of the interface through the interface description file of the interaction component of the layer component class, obtain the ID corresponding to the capture / placement interface method according to the attribute information of its interface, and call the capture / placement interface method to perform capture / placement on the loaded GIS data.

[0163] Furthermore, the loaded GIS data is edited through the following steps:

[0164] Obtain the attribute information of the interface through the interface description file of the editing component of the layer component class, obtain the ID corresponding to the interface method of the specific editing operation according to the attribute information of its interface, and call the interface method to edit the loaded GIS data, where the editing includes translating, rotating, and scaling the loaded GIS data.

[0165] Embodiment 3:

[0166] Another specific embodiment of the present invention discloses an electronic device for integrating GIS data information into a BIM design platform, and the electronic device includes:

[0167] A memory for storing a computer program;

[0168] A processor for executing the computer program to implement the method for integrating GIS data information into a BIM design platform as described above.

[0169] Embodiment 4:

[0170] Another specific embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for integrating GIS data information into a BIM design platform as described above are implemented.

[0171] Compared with the prior art, the beneficial effects of the method, system, electronic device, and storage medium for integrating GIS data information into a BIM design platform provided by the present invention are as follows:

[0172] 1. The present invention creates a layer component class that inherits from the component class, creates an object of the layer class through the layer component class, and calls the interface method of the corresponding second component based on the object of the layer class to implement the loading of GIS data. The design is more reasonable, and the GIS data is naturally integrated into the BIM design platform without destroying the architecture of the BIM design platform.

[0173] 2. The present invention calls the interface method of the first component through the object of the layer component class to implement visual display, capture, placement, and editing of the loaded GIS data, solving the problem that the GIS data loaded by the BIM design platform does not have the capabilities of capture, placement, and editing.

[0174] 3. The method for the present invention to implement GIS data loading does not require manual standardization processing and information extraction of GIS data, improving work efficiency.

[0175] 4. The present invention can quickly implement the loading of GIS data in other file formats by extending the layer class, and can also quickly implement other operations on the loaded GIS data through the first component of the extended layer component class, with high efficiency and strong scalability.

[0176] It should be noted that any process or method description shown in the flowchart or described in other ways herein can be understood as representing a module, segment, or part of code including one or more executable instructions for implementing a specific logical function or process. And the scope of the preferred implementation of this solution includes additional implementations, where the functions can be executed in a manner other than shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved, which should be understood by those skilled in the technical field to which the implementation of this solution belongs. The processor executes the various methods and processes described above. For example, the method implementation in this solution can be implemented as a software program, which is tangibly contained in a machine-readable medium, such as a memory. In some implementations, part or all of the software program can be loaded and / or installed via the memory and / or communication interface. When the software program is loaded into the memory and executed by the processor, one or more steps of the methods described above can be executed. Alternatively, in other implementations, the processor can be configured to execute one of the above methods by any other appropriate means (such as by means of firmware).

[0177] It also should be noted that in this application, relative terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the said element.

[0178] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0179] Furthermore, those skilled in the art can understand that all or part of the processes for implementing the methods of the above embodiments can be completed by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. Among them, the computer-readable storage medium is a disk, an optical disc, a read-only memory, or a random access memory, etc.

[0180] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present invention should be covered by the protection scope of the present invention.

Claims

1. A method for integrating GIS data information into a BIM design platform, characterized in that, The method includes the following steps: Create a component class and several component subclasses inheriting from the component class in the BIM design platform. The component class and each component subclass include several first components, which are used to manage the geometric information and attribute information of component objects and implement operations on component objects; Create a layer class and several layer subclasses inheriting from the layer class in the GIS platform. The layer class and each layer subclass include several second components, which are used to manage the geospatial data of layer objects; Create a layer component class in the BIM design platform. The layer component class inherits from the component class; create an object of the layer class or layer subclass through the layer component class, obtain the interface method information of the second component corresponding to the object of the layer class or layer subclass through the object of the layer class or layer subclass, and call the corresponding interface method according to the interface method information to implement the loading of GIS data; Call the interface method of the first component through the object of the layer component class to implement operations on the loaded GIS data; the operations include visual display, capture, placement, and editing; the editing includes translating, rotating, and scaling the loaded GIS data.

2. The method for integrating GIS data information into the BIM design platform according to claim 1, wherein The layer component class includes a layer object creation interface and a method call interface; The layer object creation interface is used to create an object of the layer class or layer subclass according to the identifier of the input layer class or layer subclass; The method call interface is used to call the corresponding interface method according to the ID corresponding to the input interface method or the name and address corresponding to the interface method.

3. The method for integrating GIS data information into the BIM design platform according to claim 2, characterized in that, The creating of the object of the layer class or layer subclass through the layer component class includes: Store the mapping relationship between the identifier of the layer class or layer subclass and the corresponding layer class or layer subclass through a hash table or key-value pair; input the identifier of the layer class or layer subclass into the layer object creation method through the layer object creation interface, and create an object of the corresponding layer class or layer subclass according to the input identifier of the layer class or layer subclass and the corresponding layer class or layer subclass through the layer object creation method.

4. The method for integrating GIS data information into the BIM design platform according to claim 2, characterized in that, The calling of the corresponding interface method according to the interface method information includes: Obtain the attribute information of the interface through the interface description file of the second component of the layer class or layer subclass, obtain the ID corresponding to the interface method or the name and address corresponding to the interface method according to the attribute information of the interface, input the ID corresponding to the interface method or the name and address corresponding to the interface method into the interface call method through the method call interface, and call the interface method of the second component of the corresponding layer class or layer subclass according to the ID corresponding to the input interface method or the name and address corresponding to the interface method through the interface call method.

5. The method for integrating GIS data information into the BIM design platform according to claim 3, characterized in that, The method of inputting the identifier of a layer class or layer subclass into a layer object through the layer object creation interface includes: sending a layer object creation request to the layer component class through the BIM design platform, where the layer object creation request includes the identifier of the layer class or layer subclass; calling the layer object creation interface of the layer component class, and inputting the identifier of the layer class or layer subclass into the layer object creation method of the layer object creation interface through the layer object creation interface.

6. The method for integrating GIS data information into the BIM design platform according to claim 4, characterized in that, The loading of GIS data is achieved through the following steps: sending a layer method call request to the object of the layer component class through the BIM design platform, where the layer method call request includes the file format of the GIS data; according to the layer method call request, the layer component class obtains the interface description file of the second component with the same GIS data file format through the object of the layer class or layer subclass, obtains the identifier of its interface and the ID corresponding to the interface method or the name and address corresponding to the interface method through the interface description file; calling the method call interface, inputting the ID corresponding to the interface method or the name and address corresponding to the interface method into the interface call method of the method call interface through the method call interface, and calling the interface method of the second component of the corresponding layer class or layer subclass according to the ID corresponding to the interface method or the name and address corresponding to the interface method input, to achieve the loading of GIS data with the same file format.

7. The method for integrating GIS data information into the BIM design platform according to claim 1, wherein, The method of calling the interface method of the first component through the object of the layer component class includes: Obtaining the attribute information of the interface through the interface description file of the first component of the component class, obtaining the ID corresponding to the interface method or the name and address corresponding to the interface method according to the attribute information of the interface, inputting the ID corresponding to the interface method or the name and address corresponding to the interface method into the interface call method through the method call interface, and calling the interface method of the first component of the corresponding component class according to the ID corresponding to the interface method or the name and address corresponding to the interface method input through the interface call method.

8. The method for integrating GIS data information into the BIM design platform according to claim 7, characterized in that, The operation on the loaded GIS data is achieved through the following steps: sending a component method call request to the object of the layer component class through the BIM design platform, where the component method call request includes the operation information on the loaded GIS data; according to the component method call request, the layer component class obtains the interface description file of the first component that implements the same operation through the object of the component class or component subclass, obtains the identifier of its interface and the ID corresponding to the interface method or the name and address corresponding to the interface method through the interface description file; calling the method call interface, inputting the ID corresponding to the interface method or the name and address corresponding to the interface method into the interface call method of the method call interface through the method call interface, and calling the interface method of the first component of the corresponding component class or component subclass according to the ID corresponding to the interface method or the name and address corresponding to the interface method input, to achieve the corresponding operation on the loaded GIS data.

9. The method for integrating GIS data information into the BIM design platform according to claim 1, wherein The first component includes a basic information component, a geometric information component, an attribute information component, a view expression component, a coordinate transformation component, an associated update component, an editing component, and an interaction component.

10. The method for integrating GIS data information into the BIM design platform according to claim 9, characterized in that, The loaded GIS data is visually displayed through the following steps: Obtain the attribute information of the interface through the interface description file of the view expression component of the layer component class, obtain the ID corresponding to the data conversion interface method according to the attribute information of the interface, call the data conversion interface method, and convert the loaded GIS data into image data of the BIM design platform; Obtain the ID corresponding to the rendering interface method according to the attribute information of the interface, call the rendering interface method, render the image data of the BIM design platform into a display node, and display it on the current form.

11. The method for integrating GIS data information into the BIM design platform according to claim 9, characterized in that, The coordinate transformation of the loaded GIS data is performed through the following steps: Obtain the attribute information of the interface through the interface description file of the coordinate transformation component of the layer component class, obtain the ID corresponding to the coordinate transformation interface method according to the attribute information of the interface, call the coordinate transformation interface method, and convert the coordinate of the loaded GIS data into the coordinate under the BIM design platform.

12. The method for integrating GIS data information into the BIM design platform according to claim 9, wherein, The snapping / placing of the loaded GIS data is performed through the following steps: Obtain the attribute information of the interface through the interface description file of the interaction component of the layer component class, obtain the ID corresponding to the snapping / placing interface method according to the attribute information of the interface, call the snapping / placing interface method, and perform snapping / placing on the loaded GIS data.

13. The method for integrating GIS data information into the BIM design platform according to claim 9, characterized in that, The loaded GIS data is edited through the following steps: Obtain the attribute information of the interface through the interface description file of the editing component of the layer component class, obtain the ID corresponding to the interface method of the specific editing operation according to the attribute information of the interface, call the interface method, and edit the loaded GIS data.

14. A system for integrating GIS data information into a BIM design platform, characterized in that, The system includes: A component class management module for creating and managing component classes and several component subclasses that inherit the component class, and sending the information of the component class and the component subclasses to the GIS data information fusion module; the information of the component class and the component subclasses includes the component class, the component subclasses, and the first component corresponding to the component class and the component subclasses; A layer class management module for creating and managing layer classes and several layer subclasses that inherit the layer class, and sending the information of the layer class and the layer subclasses to the GIS data information fusion module; the information of the layer class and the layer subclasses includes the layer class, the layer subclasses, and the second component corresponding to the layer class and the layer subclasses; A GIS data information fusion module for creating a layer component class, creating an object of the layer class or the layer subclass through the layer component class, obtaining the interface method information of the second component corresponding to the object of the layer class or the layer subclass through the object of the layer class or the layer subclass, calling the corresponding interface method according to the interface method information to implement the loading of GIS data; and calling the interface method of the first component through the object of the layer component class to implement the operation on the loaded GIS data; The operations include visual display, capture, placement, and editing; the editing includes translating, rotating, and scaling the loaded GIS data.

15. The system for integrating GIS data information into the BIM design platform according to claim 14, wherein, The component class management module includes a component class creation module, a first component creation module, and a component information management module. The component class creation module is used to create component classes and component subclasses; the first component creation module is used to create the first components of the component classes and component subclasses. The component information management module is used to send the information of the component classes and component subclasses to the GIS data information fusion module.

16. The system for integrating GIS data information into the BIM design platform according to claim 14, characterized in that, The layer class management module includes a layer class creation module, a second component creation module, and a layer information management module. The layer class creation module is used to create layer classes and layer subclasses. The second component creation module is used to create the second components of the layer classes and layer subclasses. The layer information management module is used to send the information of the layer classes and layer subclasses to the GIS data information fusion module.

17. The system for integrating GIS data information into the BIM design platform according to claim 14, wherein, The GIS data information fusion module includes a layer component class creation module, a layer class object creation module, and an interface method call module. The layer component class creation module is used to create layer component classes; the layer class object creation module is used to create objects of the layer classes or layer subclasses through the layer component classes; the interface method call module is used to call the interface methods of the second components through the objects of the layer classes to implement the loading of GIS data, and call the interface methods of the first components through the objects of the layer component classes to operate on the loaded GIS data.

18. The system for integrating GIS data information into the BIM design platform according to claim 14, characterized in that, The layer subclasses include vector layer classes and raster layer classes. The vector layer classes are used to represent and manage vector data, and the raster layer classes are used to represent and manage raster data. The second components of the vector layer classes include Shp format vector layer components, GeoJson format vector layer components, and Mif format vector layer components; the second components of the raster layer classes include Tif format raster layer components, Osgb format raster layer components, and 3DTiles format raster layer components.

19. An electronic device that integrates GIS data information into a BIM design platform, characterized in that, The electronic device includes: A memory for storing a computer program. A processor for executing the computer program to implement the method for fusing GIS data information in the BIM design platform according to any one of claims 1 to 13.

20. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps of the method for fusing GIS data information in the BIM design platform according to any one of claims 1 to 13 are implemented.

Citation Information

Patent Citations

  • Underground comprehensive pipe gallery information management method based on BIM and GIS technologies

    CN106960410A

  • Component object creating and interface method calling method, terminal and storage device

    CN113568603A

  • Image implementation control method and system based on BIM and GIS engine fusion

    CN118037948A