CN109859318B - Three-dimensional model making, loading and displaying system and method for safe production - Google Patents

Three-dimensional model making, loading and displaying system and method for safe production Download PDF

Info

Publication number
CN109859318B
CN109859318B CN201910295669.0A CN201910295669A CN109859318B CN 109859318 B CN109859318 B CN 109859318B CN 201910295669 A CN201910295669 A CN 201910295669A CN 109859318 B CN109859318 B CN 109859318B
Authority
CN
China
Prior art keywords
dimensional
data
dimensional model
module
loading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910295669.0A
Other languages
Chinese (zh)
Other versions
CN109859318A (en
Inventor
蔡文杰
李睿智
陈耀涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Baizhuo Network Technology Co ltd
Tongding Interconnection Information Co Ltd
Original Assignee
Suzhou Baizhuo Network Technology Co ltd
Tongding Interconnection Information Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Baizhuo Network Technology Co ltd, Tongding Interconnection Information Co Ltd filed Critical Suzhou Baizhuo Network Technology Co ltd
Publication of CN109859318A publication Critical patent/CN109859318A/en
Application granted granted Critical
Publication of CN109859318B publication Critical patent/CN109859318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention provides a three-dimensional model making, loading and displaying system facing safe production, which comprises a loading and displaying module, an editing module, a service scheduling module, a storage module, a format conversion module and a coordinate conversion module, wherein the loading and displaying module comprises a two-dimensional model loading and displaying module, a three-dimensional model loading and displaying module and a two-dimensional model linkage module, and the two-dimensional model loading and displaying module uses OpenLayers to realize loading and displaying of two-dimensional vector data in a JSON format and an element map service format; the three-dimensional model loading display module uses CesiumJS to realize loading display of three-dimensional model data; and the two-three-dimensional model linkage module realizes linkage display of two three-dimensional models. According to the invention, the three-dimensional attribute is added to make the three-dimensional model on the basis of making the two-dimensional vector data, so that the complexity of making the three-dimensional model is greatly reduced. The consistency of the two-dimensional data is improved through a linkage updating mechanism of the two-dimensional vector data and the three-dimensional model, and the two-dimensional integrated application experience is improved.

Description

Three-dimensional model making, loading and displaying system and method for safe production
Technical Field
The invention belongs to the technical field of geographic information, and particularly relates to a three-dimensional model making, loading and displaying system and method for safety production.
Background
The three-dimensional model is an important data model in the geospatial information, and compared with the two-dimensional geospatial data, the three-dimensional model can bring more three-dimensional and realistic environment perception to people. The safe production three-dimensional model mainly comprises buildings, plants, production equipment, sensors and the like in a production enterprise, wherein the buildings and the plant models are relatively simple, and the general production equipment models can be generally recycled.
In the prior art, for the production of a three-dimensional model, professional modeling software and related data format conversion software are generally used for producing the three-dimensional model, and in the method, the following steps are adopted: 1. converting the existing three-dimensional model data into three-dimensional model data in a required format; 2. modeling by using three-dimensional modeling software to manufacture three-dimensional model data; 3. converting GIS vector data into CAD format data, adding height attribute by CAD software, and further generating a three-dimensional model in modeling software such as 3D Max; 4. the three-dimensional model is stored using a file format.
As can be seen from the above description, the following problems exist in the prior art solutions: 1. when the GIS vector data is used for manufacturing the three-dimensional model, the process is complex, and the specialization is strong; and 2, the GIS vector data and the three-dimensional model file are stored independently, no connection is established, and the maintainability is weak in a two-dimensional and three-dimensional integrated application scene.
Disclosure of Invention
In view of the above, the present invention aims to provide a three-dimensional model making and loading display system for safe production, so as to greatly reduce complexity of three-dimensional model making and realize two-dimensional linkage editing display.
In order to achieve the above purpose, the technical scheme of the invention is realized as follows:
the three-dimensional model making loading display system facing the safe production comprises a loading display module, an editing module, a service scheduling module, a storage module, a format conversion module and a coordinate conversion module,
the loading display module comprises a two-dimensional model loading display module, a three-dimensional model loading display module and a two-dimensional model linkage module, and the two-dimensional model loading display module uses OpenLayers to realize the loading display of two-dimensional vector data in a JSON format and an element map service format; the three-dimensional model loading display module uses CesiumJS to realize loading display of three-dimensional model data; the two-three-dimensional model linkage module realizes linkage display of two three-dimensional models;
the editing module comprises a two-dimensional vector data editing module, a three-dimensional model data editing module and a two-dimensional three-dimensional editing linkage updating module, wherein the two-dimensional vector data editing module uses OpenLayers to realize two-dimensional graphic editing; the three-dimensional model data editing module uses CesiumJS to realize editing of a three-dimensional model; the two-dimensional editing linkage updating module realizes linkage updating of related data of the same entity for editing two-dimensional vector data and three-dimensional model data;
the service scheduling module comprises a two-dimensional vector data storage module, a three-dimensional model data storage module, a three-dimensional tile generation module and a data release module, wherein each module provides a Web service calling interface;
the two-dimensional vector data storage module is used for receiving data in a JSON format of a Web end, calling the storage module to write the data into a storage medium, calling the format conversion module to generate three-dimensional model data from the two-dimensional vector data, and finally calling the storage module to write the data into the storage medium;
the three-dimensional model data storage module is used for receiving the three-dimensional model data file and related parameters transmitted by the Web terminal, calling the format conversion module to convert the three-dimensional model data file and the related parameters into a unified three-dimensional model data format, analyzing the three-dimensional space coordinates of the three-dimensional model, converting the three-dimensional space coordinates into two-dimensional vector coordinates and storing the two-dimensional vector coordinates into a corresponding two-dimensional vector database;
the three-dimensional tile generation module is used for generating a three-dimensional tile data set from batch three-dimensional models or appointed three-dimensional models according to geographic space coordinates and topological relations;
the data release module realizes a Web service calling interface of two-dimensional vector data and three-dimensional model data;
the storage module realizes the reading and writing of various data on a storage medium;
the format conversion module realizes the mutual conversion between the three-dimensional model data with different formats and simultaneously realizes the mutual conversion between the two-dimensional vector data and the three-dimensional model data;
the coordinate conversion module converts different coordinate systems by a four-parameter coordinate conversion method or a seven-parameter coordinate conversion method.
The system according to the invention has the following advantages over the prior art:
(1) Three-dimensional attributes (height and texture) are added on the basis of two-dimensional vector data manufacture to manufacture a three-dimensional model, so that complexity of manufacturing the three-dimensional model is greatly reduced.
(2) The consistency of the two-dimensional data is improved through a linkage updating mechanism of the two-dimensional vector data and the three-dimensional model, and the two-dimensional integrated application experience is improved.
(3) Aiming at the production safety field, the three-dimensional model library of standard equipment is provided, so that the manufacturing flow of the three-dimensional model can be greatly simplified, and the model manufacturing efficiency is improved.
The invention also aims to provide a three-dimensional model manufacturing method for safe production, which comprises the following steps:
a three-dimensional model making method for safe production comprises the following steps:
1) Creating a two-dimensional graph through OpenLayers, or creating a two-dimensional graph through reading two-dimensional vector data (when the coordinates of the read two-dimensional vector data are inconsistent with a system coordinate system, calling a coordinate conversion module to perform coordinate conversion), and adding a height attribute;
2) Calling a background service interface by using ajax, and storing the two-dimensional graph data in the step 1 into a two-dimensional vector database;
3) Reading two-dimensional graphic data stored in the two-dimensional vector database in the step 2 and converting the two-dimensional graphic data into three-dimensional model data;
4) And (3) loading the three-dimensional model data obtained through conversion in the step (3), and loading and displaying the three-dimensional model at a browser end.
Further, the conversion method in the step 3 is as follows: reading a coordinate string and a height attribute of two-dimensional graphic data stored in a two-dimensional vector database, and constructing coordinates of a three-dimensional geometric body; and dividing the constructed three-dimensional geometric body into triangular faces, and finally writing the triangular faces into an obj file according to the requirement of the obj format for storage.
Further, the method also comprises the step of linkage updating the two-dimensional vector data after the three-dimensional model data is edited, and the updating method comprises the following steps:
11 Loading three-dimensional model data through CesiumJS and displaying the three-dimensional model;
12 Adjusting the angle and the scaling of the three-dimensional model in the step 11, and saving the adjusted parameters into a database through an ajax calling background service interface;
13 Reading the parameters in the step 12, and calculating projection graph data of the three-dimensional model on a plane;
14 Updating the projection graph data calculated in the step 13 into a two-dimensional vector database;
15 Reading the two-dimensional vector data stored in the step 14, converting the two-dimensional vector data into a JSON format, returning the two-dimensional vector data through WebService, and displaying the two-dimensional model;
16 Analyzing the two-dimensional vector data in the JSON format returned in the step 15, and drawing and displaying to replace the original two-dimensional vector graph.
The advantages of the method over the prior art are the same as those of the system described above and are not described in detail here.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention. In the drawings:
FIG. 1 is a schematic diagram of a two-dimensional editing linkage update according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the coordinates of a three-dimensional geometry constructed from a coordinate string and height attributes of two-dimensional vector data according to an embodiment of the present invention;
FIG. 3 is a schematic view of a three-dimensional geometry of an embodiment of the present invention divided into triangular faces;
fig. 4 is a schematic diagram of an obj format file stored in an embodiment of the present invention.
Detailed Description
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
The invention will be described in detail below with reference to the drawings in connection with embodiments.
The three-dimensional model making loading display system facing the safe production comprises a loading display module, an editing module, a service scheduling module, a storage module, a format conversion module and a coordinate conversion module,
the loading display module comprises a two-dimensional model loading display module, a three-dimensional model loading display module and a two-dimensional model linkage module, and the two-dimensional model loading display module uses OpenLayers to realize the loading display of two-dimensional vector data in a JSON format and an element map service format; the three-dimensional model loading display module uses CesiumJS to realize loading display of three-dimensional model data with various sources and various data formats (such as three-dimensional tiles) and realize importing and previewing of three-dimensional model data files; and the two-three-dimensional model linkage module realizes linkage of two three-dimensional models.
Specifically, the method for converting two-dimensional graphic data into three-dimensional model data by the two-dimensional model linkage module comprises the following steps:
step 31) as shown in fig. 2, reading a coordinate string (x 1y1x2y2 … …) and a height attribute (h) of two-dimensional graphic data stored in a two-dimensional vector database, and constructing coordinates of a three-dimensional geometrical body;
step 32) as shown in fig. 3, the constructed three-dimensional geometric body is divided into triangular faces, and finally the triangular faces are written into an obj file according to the requirement of the obj format, and the obj file is stored as shown in fig. 4 and can be converted into three-dimensional model data in other formats as an intermediate format file.
The editing module comprises a two-dimensional vector data editing module, a three-dimensional model data editing module and a two-dimensional three-dimensional editing linkage updating module,
the two-dimensional vector data editing module uses a mouse interaction component such as Draw, select, modify in OpenLayers to realize two-dimensional graph editing, and converts space coordinates and attributes of a two-dimensional graph into JSON data through ajax calling WebService service, and stores the JSON data into a two-dimensional vector database, so that drawing, modification, deletion and attribute setting (three-dimensional attributes such as reference, height and the like are required to be set) of points, lines and surfaces of the two-dimensional graph can be realized;
the three-dimensional model data editing module clicks a selected three-dimensional model by using a mouse in CesiumJS, enables the three-dimensional coordinate axes to be displayed after editing, realizes model operations such as position movement, triaxial rotation, scaling and deletion of the three-dimensional model by setting parameters such as three-dimensional coordinate translation amount, rotation angle and scaling, and selects a single model to perform operations such as adding, replacing and deleting textures (wherein a referencing path of textures is set by using interfaces such as image material property of CesiumJS so as to achieve the aim of texture modification); and after editing is completed, a background interface is called to update a database (or a reference path of related textures in the original three-dimensional model file).
The two-dimensional editing linkage updating module realizes communication of two-dimensional vector data editing and three-dimensional model data editing and linkage updating of related data of the same entity, as shown in fig. 1;
specifically, the method for editing and updating the three-dimensional model data according to the two-dimensional vector data comprises the following steps:
step 1) creating a two-dimensional graph through the two-dimensional vector data editing module, namely creating the two-dimensional graph through OpenLayers, and adding a height attribute;
step 2) calling a background service interface by using ajax, namely storing the two-dimensional graphic data in the step 1 into a two-dimensional vector database through a service scheduling module;
step 3) calling the format conversion module to read the two-dimensional graphic data stored in the two-dimensional vector database in the step 2 and convert the two-dimensional graphic data into three-dimensional model data (such as file format. Obj);
and 4) calling a background service interface through the three-dimensional model loading display module, loading the three-dimensional model data obtained through conversion in the step 3, and loading and displaying the three-dimensional model at a browser end to replace the original three-dimensional model.
Specifically, the method for editing and updating the two-dimensional vector data according to the three-dimensional model data comprises the following steps:
step 11), loading three-dimensional model data through a three-dimensional model loading display module, namely loading the three-dimensional model data through CesiumJS and displaying the three-dimensional model;
step 12) adjusting the angle and the scaling of the three-dimensional model in the step 11 through a three-dimensional model data editing module, and calling a background service interface through ajax to the adjusted parameters, namely saving the parameters into a database through a service scheduling module;
step 13) reading the parameters in the step 12, and calculating projection graph data of the three-dimensional model on a plane;
step 14) updating the projection graph data calculated in the step 13 into a two-dimensional vector database;
step 15), the two-dimensional vector data stored in the step 14 are read and converted into a JSON format, and returned to the two-dimensional model loading display module through WebService;
and 16) analyzing the two-dimensional vector data in the JSON format returned in the step 15 through the two-dimensional model loading display module, and drawing and displaying the two-dimensional vector data to replace the original two-dimensional vector graph.
The service scheduling module comprises a two-dimensional vector data storage module, a three-dimensional model data storage module, a three-dimensional tile generation module and a data release module, wherein each module provides a Web service calling interface;
the two-dimensional vector data storage module is used for receiving data in a Web terminal JSON format (including a GeoJSON format) and executing operations such as creation, update, deletion and the like according to the transferred parameters; the method comprises the steps of calling a storage module to write in a storage medium, specifically, writing two-dimensional vector data into a relational database to perform formatting storage, maintaining space metadata and space indexes of related layers, calling a format conversion module to generate three-dimensional model data from the two-dimensional vector data, and finally calling the storage module to write in the storage medium;
the three-dimensional model data storage module is used for receiving a three-dimensional model data file (comprising geometric coordinates, texture resources and the like) and related parameters transmitted by the Web end, calling the format conversion module to convert the three-dimensional model data file into a unified three-dimensional model data format, analyzing the three-dimensional space coordinates of the three-dimensional model, converting the three-dimensional space coordinates into two-dimensional vector coordinates and storing the two-dimensional vector coordinates into a corresponding two-dimensional vector database;
the three-dimensional tile generation module is used for generating a three-dimensional tile data set from a batch of three-dimensional models or a designated three-dimensional model according to geographic space coordinates and topological relations, wherein the three-dimensional tile data set contains node information of a tree structure, the tree structure uses a quadtree and a corresponding variety tree structure for traversing search (aiming at the safety production application field, the concept of enterprise factory graph is introduced on the basis of conventional quadtree segmentation, the outsourcing cube of the three-dimensional model of a single enterprise is used as one node of the quadtree, the two-dimensional vector data is used for calculating and judging when judging the containing relation of the three-dimensional model for improving efficiency, the rest segmentation search process is kept unchanged, the tree node distribution is calculated by utilizing the two-dimensional vector data, the space metadata and other information, the space topological relation (such as containing and being contained) of three-dimensional model entities is further used for updating and maintaining the LOD (Levels of Detail) information of the tree node, LOD information of the tree node is further updated and maintained according to the related attribute added by an indoor model, and a tile batch generation and local update interface is provided, and tile update period comprises three modes of real time, regular and manual;
the data publishing module is used for realizing a Web service calling interface of the two-dimensional vector data and the three-dimensional model data, returning the two-dimensional vector data and the three-dimensional tile data according to request parameters, returning the two-dimensional vector data to a JSON format, and returning the three-dimensional tile to the JSON format (comprising the URL address of the model file).
The storage module realizes the reading and writing of various data on a storage medium, the storage medium comprises Hadoop, oracle, mySQL, SQLServer, postgresql, 3D CityDB and the like according to the storage strategy, description information of a model file is generally stored in a relational database, and geometric data, textures and the like of the model are stored in an HDFS mode.
The format conversion module realizes the mutual conversion between three-dimensional model data with different formats, such as the formats of CityGML, 3D handle, glTF, OBJ, collada and the like, and simultaneously realizes the mutual conversion between three-dimensional model data with two-dimensional vector data (shapefile, geoJSON and the like) and glTF.
The coordinate conversion module is used for realizing conversion among different coordinate systems, and the module is directly called when the coordinate conversion is needed, for example, when the coordinate of the read two-dimensional vector data is inconsistent with the coordinate system of the system, the coordinate conversion module is called for carrying out the coordinate conversion; different coordinate systems such as a local coordinate system, a CGS2000 coordinate system and the like are mutually converted, a background interface and a Web service call interface for batch coordinate conversion and single coordinate conversion are provided, and meanwhile, the calculation of a coordinate conversion matrix specified in a three-dimensional tile format is realized; specifically, the coordinate transformation uses four-parameter coordinate transformation or seven-parameter coordinate transformation for resolving, and the transformation parameters of a specific local coordinate system and a CGS2000 coordinate system need to be collected, and seven-parameter application is explained as follows:
seven-parameter coordinate transformation (including boolean sa model, one-step method model, halman et al) is a relatively rigorous and versatile method 1 to solve this problem. The seven parameters involved are: x translation, Y translation, Z translation, X rotation, Y rotation, Z rotation, and dimensional change m. The seven parameters can be obtained by selecting more than 3 conversion control point pairs in the region needing conversion.
If the area is not large, the distance between the furthest points is not greater than 30Km, three parameters (Mo Luodeng s-based model), X-translation, Y-translation, Z-translation, can be used, and at this time, X-rotation, Y-rotation, Z-rotation, the dimensional change m is considered to be 0. The three parameters are only a special case of seven parameters. The three parameters can be obtained by only 1 control point pair.
Generally, a set of three-dimensional model libraries (a forklift three-dimensional model, a van three-dimensional model, an oil storage tank three-dimensional model, an air storage tank three-dimensional model, a numerical control machine three-dimensional model, a dome camera three-dimensional model, a gun camera three-dimensional model, … …) are previously manufactured by the system aiming at various general equipment, sensors and the like in the safety production field.
The invention discloses a three-dimensional model making method for safe production, which comprises the following steps:
1) Creating a two-dimensional graph through OpenLayers, or creating a two-dimensional graph through reading two-dimensional vector data (when the coordinates of the read two-dimensional vector data are inconsistent with a system coordinate system, calling a coordinate conversion module to perform coordinate conversion), and adding a height attribute;
2) Calling a background service interface by using ajax, and storing the two-dimensional graph data in the step 1 into a two-dimensional vector database;
3) Reading two-dimensional graphic data stored in the two-dimensional vector database in the step 2 and converting the two-dimensional graphic data into three-dimensional model data;
4) And (3) loading the three-dimensional model data obtained through conversion in the step (3), and loading and displaying the three-dimensional model at a browser end.
Further, the conversion method in the step 3 is as follows: reading a coordinate string and a height attribute of two-dimensional graphic data stored in a two-dimensional vector database, and constructing coordinates of a three-dimensional geometric body; and dividing the constructed three-dimensional geometric body into triangular faces, and finally writing the triangular faces into an obj file according to the requirement of the obj format for storage.
Further, the method also comprises the step of linkage updating the two-dimensional vector data after the three-dimensional model data is edited, and the updating method comprises the following steps:
11 Loading three-dimensional model data through CesiumJS and displaying the three-dimensional model;
12 Adjusting the angle and the scaling of the three-dimensional model in the step 11, and saving the adjusted parameters into a database through an ajax calling background service interface;
13 Reading the parameters in the step 12, and calculating projection graph data of the three-dimensional model on a plane;
14 Updating the projection graph data calculated in the step 13 into a two-dimensional vector database;
15 Reading the two-dimensional vector data stored in the step 14, converting the two-dimensional vector data into a JSON format, returning the two-dimensional vector data through WebService, and displaying the two-dimensional model;
16 Analyzing the two-dimensional vector data in the JSON format returned in the step 15, and drawing and displaying to replace the original two-dimensional vector graph.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (5)

1. Three-dimensional model preparation loading display system towards safe production, its characterized in that: comprises a loading display module, an editing module, a service scheduling module, a storage module, a format conversion module and a coordinate conversion module,
the loading display module comprises a two-dimensional model loading display module, a three-dimensional model loading display module and a two-dimensional model linkage module, and the two-dimensional model loading display module uses OpenLayers to realize the loading display of two-dimensional vector data in a JSON format and an element map service format; the three-dimensional model loading display module uses CesiumJS to realize loading display of three-dimensional model data; the two-three-dimensional model linkage module realizes linkage display of two three-dimensional models;
the editing module comprises a two-dimensional vector data editing module, a three-dimensional model data editing module and a two-dimensional three-dimensional editing linkage updating module, wherein the two-dimensional vector data editing module uses OpenLayers to realize two-dimensional graphic editing; the three-dimensional model data editing module uses CesiumJS to realize editing of a three-dimensional model; the two-dimensional editing linkage updating module realizes linkage updating of related data of the same entity for editing two-dimensional vector data and three-dimensional model data;
the service scheduling module comprises a two-dimensional vector data storage module, a three-dimensional model data storage module, a three-dimensional tile generation module and a data release module, wherein each module provides a Web service calling interface;
the two-dimensional vector data storage module is used for receiving data in a JSON format of a Web end, calling the storage module to write the data into a storage medium, calling the format conversion module to generate three-dimensional model data from the two-dimensional vector data, and finally calling the storage module to write the data into the storage medium;
the three-dimensional model data storage module is used for receiving the three-dimensional model data file and related parameters transmitted by the Web terminal, calling the format conversion module to convert the three-dimensional model data file and the related parameters into a unified three-dimensional model data format, analyzing the three-dimensional space coordinates of the three-dimensional model, converting the three-dimensional space coordinates into two-dimensional vector coordinates and storing the two-dimensional vector coordinates into a corresponding two-dimensional vector database;
the three-dimensional tile generation module is used for generating a three-dimensional tile data set from batch three-dimensional models or appointed three-dimensional models according to geographic space coordinates and topological relations;
the data release module realizes a Web service calling interface of two-dimensional vector data and three-dimensional model data;
the storage module realizes the reading and writing of various data on a storage medium;
the format conversion module realizes the mutual conversion between the three-dimensional model data with different formats and simultaneously realizes the mutual conversion between the two-dimensional vector data and the three-dimensional model data;
the coordinate conversion module converts different coordinate systems by a four-parameter coordinate conversion method or a seven-parameter coordinate conversion method.
2. The three-dimensional modeling loading display system for safe production according to claim 1, wherein: the two-dimensional model linkage module realizes a method for converting two-dimensional graphic data into three-dimensional model data, and comprises the following steps:
step 31) reading a coordinate string and a height attribute of two-dimensional graphic data stored in a two-dimensional vector database, and constructing coordinates of a three-dimensional geometric body;
step 32) dividing the constructed three-dimensional geometric body into triangular faces, and finally writing the triangular faces into an obj file according to the requirement of the obj format for storage.
3. The three-dimensional modeling loading display system for safe production according to claim 1, wherein: the method for editing and updating the three-dimensional model data by the two-dimensional editing linkage updating module according to the two-dimensional vector data comprises the following steps:
step 1), creating a two-dimensional graph through the two-dimensional vector data editing module, and adding a height attribute;
step 2) storing the two-dimensional graph data in the step 1 into a two-dimensional vector database through a service scheduling module;
step 3) calling the format conversion module to read the two-dimensional graphic data stored in the two-dimensional vector database in the step 2 and convert the two-dimensional graphic data into three-dimensional model data;
and 4) calling a background service interface through the three-dimensional model loading display module, loading the three-dimensional model data obtained through conversion in the step 3, and loading and displaying the three-dimensional model at a browser end to replace the original three-dimensional model.
4. The three-dimensional modeling loading display system for safe production according to claim 1, wherein: the method for editing and updating the two-dimensional vector data by the two-dimensional editing linkage updating module according to the three-dimensional model data comprises the following steps:
step 11), loading three-dimensional model data through a three-dimensional model loading display module, and displaying the three-dimensional model;
step 12) adjusting the angle and the scaling of the three-dimensional model in the step 11 through a three-dimensional model data editing module, and storing the adjusted parameters into a database through a service scheduling module;
step 13) reading the parameters in the step 12, and calculating projection graph data of the three-dimensional model on a plane;
step 14) updating the projection graph data calculated in the step 13 into a two-dimensional vector database;
step 15), the two-dimensional vector data stored in the step 14 are read and converted into a JSON format, and returned to the two-dimensional model loading display module through WebService;
and 16) analyzing the two-dimensional vector data in the JSON format returned in the step 15 through the two-dimensional model loading display module, and drawing and displaying the two-dimensional vector data to replace the original two-dimensional vector graph.
5. The three-dimensional model manufacturing method for safe production is characterized by comprising the following steps of:
1) Creating a two-dimensional graph through OpenLayers, and adding a height attribute;
2) Calling a background service interface by using ajax, and storing the two-dimensional graph data in the step 1 into a two-dimensional vector database;
3) Reading two-dimensional graphic data stored in a two-dimensional vector database in the step 2 and converting the two-dimensional graphic data into three-dimensional model data, wherein the conversion method comprises the following steps of: reading a coordinate string and a height attribute of two-dimensional graphic data stored in a two-dimensional vector database, and constructing coordinates of a three-dimensional geometric body; dividing the constructed three-dimensional geometric body into triangular faces, and finally writing the triangular faces into an obj file according to the requirement of the obj format for storage;
4) Loading the three-dimensional model data obtained through conversion in the step 3, and loading and displaying the three-dimensional model at a browser end; the two-dimensional vector data is updated in linkage after the three-dimensional model data is edited,
the updating method comprises the following steps:
11 Loading three-dimensional model data through CesiumJS and displaying the three-dimensional model;
12 Adjusting the angle and the scaling of the three-dimensional model in the step 11, and saving the adjusted parameters into a database through an ajax calling background service interface;
13 Reading the parameters in the step 12, and calculating projection graph data of the three-dimensional model on a plane;
14 Updating the projection graph data calculated in the step 13 into a two-dimensional vector database;
15 Reading the two-dimensional vector data stored in the step 14, converting the two-dimensional vector data into a JSON format, returning the two-dimensional vector data through WebService, and displaying the two-dimensional model;
16 Analyzing the two-dimensional vector data in the JSON format returned in the step 15, and drawing and displaying to replace the original two-dimensional vector graph.
CN201910295669.0A 2018-12-25 2019-04-12 Three-dimensional model making, loading and displaying system and method for safe production Active CN109859318B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2018115926557 2018-12-25
CN201811592655 2018-12-25

Publications (2)

Publication Number Publication Date
CN109859318A CN109859318A (en) 2019-06-07
CN109859318B true CN109859318B (en) 2023-11-03

Family

ID=66903883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910295669.0A Active CN109859318B (en) 2018-12-25 2019-04-12 Three-dimensional model making, loading and displaying system and method for safe production

Country Status (1)

Country Link
CN (1) CN109859318B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110415345B (en) * 2019-07-01 2023-01-24 南京泛在地理信息产业研究院有限公司 Method and system for converting ESRI TIN model into OBJ three-dimensional model
CN111273877B (en) * 2019-12-31 2022-07-19 宝略科技(浙江)有限公司 Linkage display platform and linkage method for live-action three-dimensional data and two-dimensional grid picture
CN111415411B (en) * 2020-03-02 2023-12-12 重庆市勘测院 Space coordinate correcting and encrypting method for three-dimensional model
CN112366815B (en) * 2020-06-18 2023-07-14 许继集团有限公司 Data interaction method for intelligent substation main and auxiliary equipment monitoring system
CN113190708A (en) * 2021-04-27 2021-07-30 上海劲易电子科技有限公司 Simple three-dimensional indoor map system, method and medium
CN114445574B (en) * 2021-12-30 2023-02-03 北京优锘科技有限公司 Method, device and equipment for converting GeoJSON data format into three-dimensional GLB format

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103562681A (en) * 2011-06-01 2014-02-05 哈曼贝克自动系统股份有限公司 Method of generating a database for a navigation device, method of outputting a three-dimensional map, and navigation device
CN104090827A (en) * 2014-06-27 2014-10-08 西安煤航信息产业有限公司 Two-dimensional platform and three-dimensional platform integrated pipeline data synchronization and linkage method
CN108320323A (en) * 2017-01-18 2018-07-24 华为技术有限公司 A kind of 3 d modeling of building method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103562681A (en) * 2011-06-01 2014-02-05 哈曼贝克自动系统股份有限公司 Method of generating a database for a navigation device, method of outputting a three-dimensional map, and navigation device
CN104090827A (en) * 2014-06-27 2014-10-08 西安煤航信息产业有限公司 Two-dimensional platform and three-dimensional platform integrated pipeline data synchronization and linkage method
CN108320323A (en) * 2017-01-18 2018-07-24 华为技术有限公司 A kind of 3 d modeling of building method and device

Also Published As

Publication number Publication date
CN109859318A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN109859318B (en) Three-dimensional model making, loading and displaying system and method for safe production
US20210248816A1 (en) Embedded urban design scene emulation method and system
CN110442925B (en) Three-dimensional visualization method and system based on real-time dynamic segmentation reconstruction
CN110704928B (en) Method for converting BIM model into GIS model
CN103679804A (en) System and method for automatically building three-dimensional model of data of underground pipeline
Li et al. Multivisual animation character 3D model design method based on VR technology
KR100503789B1 (en) A rendering system, rendering method, and recording medium therefor
CN113593051B (en) Live-action visualization method, dam visualization method and computer equipment
CN110111410A (en) A kind of two three-dimensional pipe network data organizations and display methods based on spatial database
CN102646286B (en) Digital graph medium simulation method with three-dimensional space structure
Chen et al. Modeling standards and file formats for indoor mapping
Yang et al. A hybrid spatial index for massive point cloud data management and visualization
CN112991520A (en) Design and implementation method based on batch rapid three-dimensional modeling of non-fine building
CN117408004A (en) Method and system for realizing three-dimensional pipe network dynamic modeling based on vector slicing technology
Leng et al. A data integration and simplification framework for improving site planning and building design
Scianna et al. 3D GIS data model using open source software
CN111523161A (en) BIM and Unity 3D-based 3D Internet of things visualization man-machine interaction method
Zhou et al. Study of an SCSG-OSM for the Creation of an Urban Three-Dimensional Building
CN117392331B (en) Visualization method of CAD file in three-dimensional scene based on vector tile serialization
CN112989458B (en) Method for converting BIM (building information modeling) model into 3DTiles file
Chen et al. Data-driven Reconstruction for Massive Buildings within Urban Scenarios: A Case Study
CN117708962B (en) Method and system based on two-dimensional and three-dimensional integrated design of Rhinoceros
CN103645899B (en) Method for integrating design data in CAD (computer aided design) into ERP (enterprise resource planning) system
Xu et al. Motion of digital precision forming machine without pattern casting and tool path simulation based on VRML
HRYMAK et al. Information technology of making controlled critically safe decisions about model parameters conversion at transfer between visualization systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant