CN106373188B - A kind of generation method and system of underground pipe network threedimensional model - Google Patents
A kind of generation method and system of underground pipe network threedimensional model Download PDFInfo
- Publication number
- CN106373188B CN106373188B CN201610800153.3A CN201610800153A CN106373188B CN 106373188 B CN106373188 B CN 106373188B CN 201610800153 A CN201610800153 A CN 201610800153A CN 106373188 B CN106373188 B CN 106373188B
- Authority
- CN
- China
- Prior art keywords
- pipe network
- data
- network data
- dimentional
- updated
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000001514 detection method Methods 0.000 claims description 19
- 230000004048 modification Effects 0.000 claims description 17
- 238000012986 modification Methods 0.000 claims description 17
- 238000013499 data model Methods 0.000 claims description 6
- 238000012217 deletion Methods 0.000 description 5
- 230000037430 deletion Effects 0.000 description 5
- 238000009877 rendering Methods 0.000 description 5
- 241001269238 Data Species 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/06—Topological mapping of higher dimensional structures onto lower dimensional surfaces
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Graphics (AREA)
- Geometry (AREA)
- Software Systems (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of generation system and methods using underground pipe network threedimensional model.Method comprises determining that the georeferencing of two-dimentional pipe network data;Obtain the origin position of earth area data;According to origin position and subdivision size, earth area data is divided into multiple grid areas;Unique identification coding is carried out to each grid area;Two-dimentional pipe network data is generated into corresponding three-dimensional pipe network data;It obtains to the corresponding multiple tiles codes of the corresponding multiple grid areas of drawing area, determines three-dimensional pipe network data to be drawn;According to tiles code set and three-dimensional pipe network data to be drawn, underground pipe network threedimensional model is drawn;Obtain two-dimentional pipe network data to be updated;Determine corresponding tiles code;Determine corresponding three-dimensional pipe network data to be updated;The data for corresponding to the tiles code in underground pipe network threedimensional model are updated, updated underground pipe network threedimensional model is obtained.The present invention realizes automatic underground pipe network threedimensional model, in real time generation and updates.
Description
Technical field
The present invention relates to underground pipe network administrative skill fields, more particularly to a kind of generation side of underground pipe network threedimensional model
Method and system.
Background technique
In recent years, the safety of Urban Buried Pipeline Network is got over by taking place frequently with domestic city underground pipe network accident, various circles of society
It more pays close attention to, how to ensure the problem of Urban Buried Pipeline Network has become safely governments at all levels' urgent need to resolve.Skill is shown with two dimension
Art is compared, and three-dimensional simulation technique has the characteristics that really to reflect reality the distribution of object, position, shape in space, it is used for
Complex distribution, miscellaneous Urban Buried Pipeline Network field will provide strong branch for the safety of guarantee Urban Buried Pipeline Network
Support.
At present both at home and abroad, the data source of underground pipe network three-dimensional artificial is all two obtained by the detection of mapping worker field operation
Tie up pipe network data.When underground pipe network threedimensional model generates, except the texture of different tubings is different, embedding manner is different outer, pipeline
Diversification is also presented in point pattern, such as: circle well, Fang Jing, a variety of different equipment, elbow, threeway.Underground pipe network threedimensional model
Generation it is general using pre-generatmg by the way of, that is, it is generated in advance by underground pipe network threedimensional model to pass through program, is then applying
System is loaded directly into calling when running;When the two-dimentional three-dimensional pipe network data for having certain geographic area update, then taking will be in region
Originally all pipe network in three-dimensional model datas are deleted, then by the updated region all two-dimentional three-dimensional pipe network data re-start it is pre-
Threedimensional model is generated, then reloads calling when application system is run, this mode not only low efficiency is unfavorable for buried pipe
The update of net threedimensional model, and can not achieve after two-dimentional pipe network data updates, corresponding three-dimensional pipe network model in application system
Also it can update automatically, in real time.Therefore, how to solve the problems, such as that current underground pipe network threedimensional model cannot automatic and real-time update
It is those skilled in the art's urgent problem.
Summary of the invention
The object of the present invention is to provide the generation methods and system of a kind of underground pipe network threedimensional model, to reduce in buried pipe
Net threedimensional model analyzes the complexity of pipe network data type in real time when generating, avoid because of pipe caused by traditional data update mode
Net three-dimensional modeling data and the inconsistent situation of two-dimentional pipe network data, realize that underground pipe network threedimensional model is automatic, updates in real time.
To achieve the above object, the present invention provides a kind of generation methods of underground pipe network threedimensional model, comprising:
Obtain two-dimentional pipe network data;
According to the two-dimentional pipe network data, the georeferencing of the two-dimentional pipe network data is determined;
According to the georeferencing, the origin position of earth area data is obtained;
According to the origin position and subdivision size, the earth area data is divided into multiple grid areas;
Unique identification coding is carried out to each grid area, obtains tiles code;
According to the tiles code, the two-dimentional pipe network data is generated into corresponding three-dimensional pipe network data;
It obtains to the corresponding multiple grid areas of drawing area, determines that the corresponding multiple tiles of the multiple grid area are compiled
Code, is built into tiles code set for the multiple tiles code;
According to described to the corresponding tiles code set of drawing area, determination is corresponding wait draw with the tiles code set
Three-dimensional pipe network data;
According to described to the corresponding tiles code set of drawing area and the three-dimensional pipe network data to be drawn, draw ground
Lower pipe network threedimensional model;
Obtain two-dimentional pipe network data to be updated;
Determining tiles code corresponding with the two dimension pipe network data to be updated;
Determining three-dimensional pipe network data to be updated corresponding with the corresponding tiles code;
According to the two-dimentional corresponding tiles code of pipe network data to be updated and the three-dimensional pipe network data to be updated, update
The data that the tiles code is corresponded in the underground pipe network threedimensional model obtain updated underground pipe network threedimensional model.
Optionally, the two-dimentional pipe network data is generated into corresponding three-dimensional pipe network data, specifically included: the two dimension is managed
Network data carries out georeferencing setting, field is correspondingly arranged, the setting of pipeline texture, well texture is arranged, pipeline embedding manner is arranged,
Altitude data model setting.
Optionally, the three-dimensional pipe network data include line sections data, common pipeline point data, equipment point data, connection
Point data and well data;The line sections data include line sections initial point position, line sections terminating point position, caliber and bury
If mode;The common pipeline point data includes point pipeline position;The equipment point data includes equipment point position, equipment point side
To vector point coordinate and device model;The tie point data include tie point position and tie point direction;The well data packet
Include well location set, well shape and the well depth of burying.
Optionally, described to obtain two-dimentional pipe network data to be updated, it specifically includes:
Operation data is obtained in real time;
Determine the corresponding tiles code of the operation data;
Former two-dimentional pipe network data corresponding with the tiles code is extracted according to the tiles code;
The former two-dimentional pipe network data is replaced with into the operation data;
Determine that replaced two-dimentional pipe network data is two-dimentional pipe network data to be updated.
Optionally, described to obtain two-dimentional pipe network data to be updated, it specifically includes:
Obtain detection data;
Determine the corresponding tiles code of the detection data;
Former two-dimentional pipe network data corresponding with the tiles code is extracted according to the tiles code;
Merge the detection data and the former two-dimentional pipe network data;
Determine that the two-dimentional pipe network data after merging is two-dimentional pipe network data to be updated.
The present invention also provides a kind of generation systems of underground pipe network threedimensional model, comprising:
Two-dimentional pipe network data obtains module, for obtaining two-dimentional pipe network data;
Georeferencing setting module, for determining the space of the two-dimentional pipe network data according to the two-dimentional pipe network data
With reference to;
Origin position setting module, for obtaining the origin position of earth area data according to the georeferencing;
Region division module, for according to the origin position and subdivision size, the earth area data to be divided into
Multiple grid areas;
Coding module obtains tiles code for carrying out unique identification coding to each grid area;
Three-dimensional pipe network data generation module, for the two-dimentional pipe network data being generated and is corresponded to according to the tiles code
Three-dimensional pipe network data;
Read module is encoded, for obtaining to the corresponding multiple grid areas of drawing area, determines the multiple grid area
The corresponding multiple tiles codes in domain, are built into tiles code set for the multiple tiles code;
Three-dimensional pipe network data determining module, for, to the corresponding tiles code set of drawing area, determined according to described with
The corresponding three-dimensional pipe network data to be drawn of the tiles code set;
Drafting module, it is described to the corresponding tiles code set of drawing area and the three-dimensional tube to be drawn for basis
Network data draws underground pipe network threedimensional model;
Two dimension pipe network data to be updated obtains module, for obtaining two-dimentional pipe network data to be updated;
Determining module is encoded, for determining tiles code corresponding with two dimension pipe network data to be updated;
Three-dimensional pipe network data determining module to be updated, for determination and the corresponding tiles code corresponding to be updated three
Tie up pipe network data;
Model modification module, for according to the corresponding tiles code of the two-dimentional pipe network data to be updated and described to be updated
Three-dimensional pipe network data update the data for corresponding to the tiles code in the underground pipe network threedimensional model, obtain updated underground
Pipe network in three-dimensional model.
The specific embodiment provided according to the present invention, the invention discloses following technical effects: underground provided by the invention
It, will according to two-dimentional pipe network data georeferencing, origin position and subdivision size in the generation system and method for pipe network in three-dimensional model
Earth area data is divided into multiple grid areas, carries out unique identification coding to each grid area, obtains tile and compile
Code obtains three-dimensional pipe network data corresponding with two-dimentional pipe network data according to tiles code, using the three-dimensional pipe network data as drafting
The data source of underground pipe network threedimensional model.Due to having carried out corresponding region coding for three-dimensional pipe network data in the application, having made every
A grid area has unique tiles code, therefore, when underground pipe network data update, as long as determining grid area where it
Tiles code, can individually update the underground pipe network data model of the grid area, and for other impacted regions
Also the update of adaptability can be obtained.This reduces analyze pipe network data type in real time when the generation of underground pipe network threedimensional model
Complexity.And the present invention be obtained by way of inquiring tiles code two-dimentional pipe network data corresponding with the tiles code and
Three-dimensional pipe network data are avoided in this way because of pipe network in three-dimensional model data caused by traditional data update mode and two-dimentional pipe network
The inconsistent situation of data realizes pipe network in three-dimensional model and updates automatically, in real time.For three-dimensional pipe network data in grid area
Same pipe network submodel can be generated by the way of multiplexing, reduce the consumption of memory, improve underground pipe network three-dimensional mould
The efficiency that type generates.And generation method of the invention is simple, it can be readily appreciated that easy to accomplish;It can effectively to complicated city
Lower pipe network carries out real-time, automatic 3 D rendering, is suitble to popularize in Urban Buried Pipeline Network three-dimensional artificial field.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will be to institute in embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of the generation method of underground pipe network threedimensional model provided by the invention;
Fig. 2 is the generation system structure diagram of underground pipe network threedimensional model provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The object of the present invention is to provide the generation methods and system of a kind of underground pipe network threedimensional model, to reduce in buried pipe
Net threedimensional model analyzes the complexity of pipe network data type in real time when generating, avoid because of pipe caused by traditional data update mode
Net three-dimensional modeling data and the inconsistent situation of two-dimentional pipe network data, realize that underground pipe network threedimensional model is automatic, updates in real time.
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
As shown in Figure 1, the generation method of underground pipe network threedimensional model of the invention, comprising:
Step 101: obtaining two-dimentional pipe network data;
Step 102: according to two-dimentional pipe network data, determining the georeferencing of two dimension pipe network data;
Step 103: according to georeferencing, obtaining the origin position of earth area data;
Step 104: according to origin position and subdivision size, earth area data being divided into multiple grid areas;
Step 105: unique identification coding being carried out to each grid area, obtains tiles code;
Step 106: according to tiles code, two-dimentional pipe network data being generated into corresponding three-dimensional pipe network data;
Step 107: obtaining to the corresponding multiple grid areas of drawing area, determine that multiple grid areas are multiple watts corresponding
Multiple tiles codes are built into tiles code set by piece coding;
Step 108: according to the corresponding tiles code set of drawing area, determine it is corresponding with the tiles code set to
The three-dimensional pipe network data of drafting;
Step 109: according to the corresponding tiles code set of drawing area and three-dimensional pipe network data to be drawn, drawing ground
Lower pipe network threedimensional model;
Step 110: obtaining two-dimentional pipe network data to be updated;
Step 111: determining tiles code corresponding with two dimension pipe network data to be updated;
Step 112: determining three-dimensional pipe network data to be updated corresponding with corresponding tiles code;
Step 113: according to the two-dimentional corresponding tiles code of pipe network data to be updated and three-dimensional pipe network data to be updated, updating
The data that the tiles code is corresponded in the underground pipe network threedimensional model obtain updated underground pipe network threedimensional model.
According to two-dimentional pipe network data georeferencing, origin position and subdivision size in the present embodiment, by earth area data
Multiple grid areas are divided into, unique identification coding is carried out to each grid area, tiles code is obtained, is compiled according to tile
Code obtains three-dimensional pipe network data corresponding with two-dimentional pipe network data, using the three-dimensional pipe network data as drafting underground pipe network three-dimensional mould
The data source of type.Due to having carried out corresponding region coding for three-dimensional pipe network data in the application, there is each grid area
Unique tiles code, therefore, when underground pipe network data update, as long as the tiles code of grid area where determining it, i.e.,
The underground pipe network data model of the grid area can be individually updated, and adaptability can also be obtained for other impacted regions
Update.This reduces the complexities for analyzing pipe network data type when the generation of underground pipe network threedimensional model in real time.And this
Invention is that two-dimentional pipe network data corresponding with the tiles code and three-dimensional pipe network data are obtained by way of inquiring tiles code,
It is avoided in this way because pipe network in three-dimensional model data caused by traditional data update mode and two-dimentional pipe network data are inconsistent
Situation realizes pipe network in three-dimensional model and updates automatically, in real time.Pipe network same for three-dimensional pipe network data in grid area
Model can be generated by the way of multiplexing, reduce the consumption of memory, improve the effect of underground pipe network threedimensional model generation
Rate.
In the present embodiment, two-dimentional pipe network data is generated into corresponding three-dimensional pipe network data unlike other embodiments
The step of specifically include: to two-dimentional pipe network data carry out georeferencing setting, field be correspondingly arranged, the setting of pipeline texture, well line
Reason setting, the setting of pipeline embedding manner, altitude data model setting.Wherein, three-dimensional pipe network data include line sections data, it is common
Pipeline point data, equipment point data, connection point data and well data;Line sections data include line sections initial point position, pipeline
Section terminating point position, caliber and embedding manner;Common pipeline point data includes point pipeline position;Equipment point data includes equipment
Point position, equipment point direction vector point coordinate and device model;Tie point data include tie point position and tie point direction;Well
Data include well location set, well shape and the well depth of burying.In the stage of drafting, obtained according to the corresponding grid area of tiles code
Corresponding three-dimensional pipe network data use the modeling rendering underground pipe network three-dimensional mould to match further according to the three-dimensional pipe network data of setting
Type reduces the complexity for analyzing pipe network data type in real time when underground pipe network threedimensional model generates in this way, improves underground
The efficiency of pipe network in three-dimensional modeling rendering.
After two-dimentional pipe network data updates, generation system of the invention can be according to generation method automatically to pipe network in three-dimensional model
Data are updated.It is updated for the data of underground pipe network threedimensional model, carries out following explanation:
The present invention is directed to the particularity of underground pipe network, and the update of underground pipe network threedimensional model is divided into two types: one is
Based on the operated real-time update of the two-dimentional pipe network data before update, i.e., by two-dimentional pipe network data in two dimensional application system
Real-time operation is carried out to update, real-time operation mainly includes increasing newly, deleting, modifying;Another kind be for a certain region again into
Real-time update after row pipeline detection.
Based on the operated real-time update of the two-dimentional pipe network data before update, in the present embodiment, not with other embodiments
Same is to obtain two-dimentional pipe network data step to be updated to specifically include:
Operation data is obtained in real time;
Determine the corresponding tiles code of operation data;
Former two-dimentional pipe network data corresponding with tiles code is extracted according to tiles code;
Former two-dimentional pipe network data is replaced with into operation data;
Determine that replaced two-dimentional pipe network data is two-dimentional pipe network data to be updated.
Data to be updated include newly-increased data, delete in operated real-time update based on the two-dimentional pipe network data before update
Except data and modification data, wherein (1) the update step of the newly-increased data specifically includes: obtaining the two of newly-increased pipe network data
Tie up pipe network data grid area;The corresponding tiles code of two dimension pipe network data grid area is determined, according to tiles code update pair
The three-dimensional pipe network data answered, according to the corresponding part of updated three-dimensional pipe network data modification underground pipe network threedimensional model;If
Newly-increased data influence is to other pipe point datas, for example legacy data is two-way, because of the starting point or termination of newly-increased data
Point needs to update the pipe point data influenced simultaneously then the pipe point may become threeway for the point pipeline.(2) number is deleted
According to update step specifically include: obtain the corresponding tiles code of pipe network data to be deleted;Delete tiles code corresponding three
Tie up pipe network data;According to the three-dimensional pipe network data after deletion, the corresponding part of the underground pipe network threedimensional model is modified;And it will delete
The data removed are recorded, and expression has been deleted, while the point pipeline related data that modification is connected with the line sections.(3) it modifies
The update step of data specifically includes: obtaining the corresponding tiles code of modified pipe network data;Obtain underground pipe network three-dimensional mould
Original three-dimensional pipe network data corresponding with the tiles code in type;Former three-dimensional pipe network data are replaced with into modified pipe network data,
Modify the corresponding part of underground pipe network threedimensional model;The pipeline point data influenced is modified simultaneously, and is stored.
Data after re-starting pipeline detection for a certain region update, in the present embodiment, not with other embodiments
Same is to obtain two-dimentional pipe network data step to be updated to specifically include:
Obtain detection data;
Determine the corresponding tiles code of detection data;
Former two-dimentional pipe network data corresponding with tiles code is extracted according to tiles code;
Merge detection data and former two-dimentional pipe network data;
Determine that the two-dimentional pipe network data after merging is two-dimentional pipe network data to be updated.
In the present embodiment, the pipeline data (referred to as more new data) detected again are relative to the former pipeline data before detection
(referred to as initial data), there are four types of types for data: data, the data of modification, the original data of newly-increased data, deletion.
The data wherein modified there are two types of type, the data of attribute data modification and the data of geometric data modification, repair geometry again
The data changed are practical to be equal to and delete by the data before being modified and increase modified data newly, therefore by geometry
The data of modification are decomposed into the data and newly-increased data of deletion.The data modified so are only left the data of attribute modification.Cause
This more new data has following four type relative to initial data: newly-increased data, deletion data, modification data (only refer to attribute number
According to modification), legacy data.By these four categorical datas according to three-dimensional pipe network database purchase pipe network data grid area into
Row region division, and the data after division are recorded, it is carried out automatically according to the corresponding tiles code of subregion after division
The update of data.Be handled as follows for above-mentioned four kinds of data cases: (1) the update step for increasing detection data newly is specifically wrapped
It includes: obtaining the three-dimensional pipe network data grid area of newly-increased detection data;Obtain the corresponding tile of three-dimensional pipe network data grid area
Coding modifies the corresponding part of underground pipe network threedimensional model according to the corresponding three-dimensional pipe network data of tiles code;(2) it deletes and visits
The update of measured data: the corresponding tiles code for deleting detection data is obtained;Delete the corresponding three-dimensional pipe network data of tiles code;
According to the three-dimensional pipe network data after deletion, the corresponding part of underground pipe network threedimensional model is modified;(3) modification detection data updates:
Obtain the corresponding tiles code of modification detection data;Attribute modification by the corresponding former three-dimensional pipe network data of tiles code is to repair
Change the attribute of detection data.
There is provided a kind of generation systems of underground pipe network threedimensional model for another object of the present invention, as shown in Fig. 2, the life
Include: at system
Two-dimentional pipe network data obtains module 201, for obtaining two-dimentional pipe network data;
Georeferencing setting module 202, for determining the georeferencing of two dimension pipe network data according to two-dimentional pipe network data;
Origin position setting module 203, for obtaining the origin position of earth area data according to georeferencing;
Region division module 204, for according to origin position and subdivision size, earth area data to be divided into multiple lattice
Subregion;
Coding module 205 obtains tiles code for carrying out unique identification coding to each grid area;
Three-dimensional pipe network data generation module 206, for according to tiles code, two-dimentional pipe network data to be generated corresponding three-dimensional
Pipe network data;
Read module 207 is encoded, for obtaining to the corresponding multiple grid areas of drawing area, determines multiple grid areas
Multiple tiles codes are built into tiles code set by corresponding multiple tiles codes;
Three-dimensional pipe network data determining module 208, for determining and being somebody's turn to do according to the corresponding tiles code set of drawing area
The corresponding three-dimensional pipe network data to be drawn of tiles code set;
Drafting module 209, for according to the corresponding tiles code set of drawing area and three-dimensional tube netting index to be drawn
According to drafting underground pipe network threedimensional model;
Two dimension pipe network data to be updated obtains module 210, for obtaining two-dimentional pipe network data to be updated;
Determining module 211 is encoded, for determining tiles code corresponding with two dimension pipe network data to be updated;
Three-dimensional pipe network data determining module 212 to be updated, for determining corresponding with corresponding tiles code to be updated three
Tie up pipe network data;
Model modification module 213, for according to the two-dimentional corresponding tiles code of pipe network data to be updated and three-dimensional to be updated
Pipe network data updates the data that the tiles code is corresponded in underground pipe network threedimensional model, and it is three-dimensional to obtain updated underground pipe network
Model.
Underground pipe network three-dimensional provided in this embodiment generates system and realizes underground pipe network three-dimensional mould by above-mentioned multiple modules
The generation of type.Update for data, this system obtain module using two-dimentional pipe network data to be updated and obtain two dimension pipe to be updated
Network data, the determining tiles code corresponding with two dimension pipe network data to be updated of coding determining module, three-dimensional pipe network data to be updated
Determining module determines three-dimensional pipe network data to be updated corresponding with corresponding tiles code, and model modification module is according to be updated two
The corresponding tiles code of pipe network data and three-dimensional pipe network data to be updated are tieed up, updates in underground pipe network threedimensional model and corresponds to the tile
The data of coding obtain updated underground pipe network threedimensional model.Drafting module in this system is to utilize software
OpenScenGraph or software directX is according to the corresponding line sections of three-dimensional pipe network data real-time rendering got in real time
With pipeline point model, underground pipe network threedimensional model is ultimately formed.It realizes and obtains data in real time, generate model in real time, in real time more
The function of new model.
In the present embodiment, as an alternative embodiment, three-dimensional pipe network data include line sections data, common tube
Line point data, equipment point data, connection point data and well data;Line sections data include line sections initial point position, line sections
Terminating point position, caliber and embedding manner;Common pipeline point data includes point pipeline position and embedding manner;Equipment point data
Including equipment point position, equipment point direction vector point coordinate and device model;Tie point data include tie point position and connection
Point direction;Well data include well location set, well shape and the well depth of burying.In the stage of drafting, according to the corresponding lattice of tiles code
Subregion obtains corresponding three-dimensional pipe network data, uses the modeling rendering underground to match further according to the three-dimensional pipe network data of setting
Pipe network in three-dimensional model reduces the complexity for analyzing pipe network data type in real time when underground pipe network threedimensional model generates in this way,
Improve the efficiency of underground pipe network threedimensional model drafting.
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, With reference to embodiment
The present invention is described in further detail.
In the generation system of the underground pipe network threedimensional model of the present embodiment, two-dimentional pipe network data obtains module 201 and obtains
Two-dimentional pipe network data the georeferencing of two-dimentional pipe network data is determined by georeferencing setting module 202, then by origin position
Setting module 203 obtains the origin position of earth area data, region division module 204 according to origin position and subdivision size,
Earth area data is divided into multiple grid areas, coding module 205 carries out unique identification coding to each grid area, obtains
Tiles code, the corresponding georeferencing of the two-dimentional pipe network datas of 206 pairs of three-dimensional pipe network data generation module, field corresponding relationship,
Line sections texture, well texture, point pipeline device model and digital elevation model etc. carry out data setting, and setting completed for data
Afterwards, three-dimensional pipe network data are generated;It encodes read module 207 to obtain to the corresponding multiple grid areas of drawing area, determine multiple
Multiple tiles codes are built into tiles code set by the corresponding multiple tiles codes of grid area, and three-dimensional pipe network data determine
Module 208 is according to the corresponding tiles code set of drawing area, determining corresponding with the tiles code set to be drawn three
Tie up pipe network data, drafting module 209 according to the corresponding tiles code set of drawing area and three-dimensional pipe network data to be drawn,
Draw underground pipe network threedimensional model.Realize real-time, the automatic drafting of underground pipe network threedimensional model.Specifically, in the present embodiment
It is drawn using software OpenScenGraph or software directX, three-dimensional pipe network data are deposited in the form of json data packet
Storage, and json data packet is divided according to the corresponding grid area of tiles code, make json data packet contain it is multiple not
The json subdata packet of same type.The tiles code of the required drawing area sent according to drafting module 209 reads mould to coding
Block 207, three-dimensional pipe network data determining module 208 determine corresponding json according to the tiles code that coding read module 207 is read
Subdata packet;Then json subdata packet is parsed, the correlation for generating line sections, point pipeline, device model, well, two-way etc. is obtained
Data and corresponding texture, be finally organized into data format required for final draw makes such as .osg format or .x file
It is drawn with software OpenScenGraph or software directX.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For system disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part
It is bright.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said
It is bright to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, foundation
Thought of the invention, there will be changes in the specific implementation manner and application range.In conclusion the content of the present specification is not
It is interpreted as limitation of the present invention.
Claims (8)
1. a kind of generation method of underground pipe network threedimensional model characterized by comprising
Obtain two-dimentional pipe network data;
According to the two-dimentional pipe network data, the georeferencing of the two-dimentional pipe network data is determined;
According to the georeferencing, the origin position of earth area data is obtained;
According to the origin position and subdivision size, the earth area data is divided into multiple grid areas;
Unique identification coding is carried out to each grid area, obtains tiles code;
According to the tiles code, the two-dimentional pipe network data is generated into corresponding three-dimensional pipe network data;
It obtains to the corresponding multiple grid areas of drawing area, determines the corresponding multiple tiles codes of the multiple grid area,
The multiple tiles code is built into tiles code set;
According to described to the corresponding tiles code set of drawing area, corresponding with the tiles code set to be drawn three are determined
Tie up pipe network data;
According to described to the corresponding tiles code set of drawing area and the three-dimensional pipe network data to be drawn, buried pipe is drawn
Net threedimensional model;
Obtain two-dimentional pipe network data to be updated;
Determining tiles code corresponding with the two dimension pipe network data to be updated;
Determining three-dimensional pipe network data to be updated corresponding with the corresponding tiles code;
According to the two-dimentional corresponding tiles code of pipe network data to be updated and the three-dimensional pipe network data to be updated, described in update
The data that the tiles code is corresponded in underground pipe network threedimensional model obtain updated underground pipe network threedimensional model.
2. the generation method of underground pipe network threedimensional model according to claim 1, which is characterized in that described by the two dimension
Pipe network data generates corresponding three-dimensional pipe network data, specifically includes: carrying out georeferencing setting, word to the two-dimentional pipe network data
Section is correspondingly arranged, the setting of pipeline texture, the setting of well texture, pipeline embedding manner is arranged, altitude data model is arranged.
3. the generation method of underground pipe network threedimensional model according to claim 1, which is characterized in that the three-dimensional tube netting index
According to including pipeline segment data, common pipeline point data, equipment point data, connection point data and well data;The pipeline segment data
Including line sections initial point position, line sections terminating point position, caliber and embedding manner;The common pipeline point data includes
Point pipeline position;The equipment point data includes equipment point position, equipment point direction vector point coordinate and device model;The company
Contact data include tie point position and tie point direction;The well data include well location set, well shape and the well depth of burying.
4. the generation method of underground pipe network threedimensional model according to claim 1, which is characterized in that the acquisition is to be updated
Two-dimentional pipe network data, specifically include:
Operation data is obtained in real time;
Determine the corresponding tiles code of the operation data;
Former two-dimentional pipe network data corresponding with the tiles code is extracted according to the tiles code;
The former two-dimentional pipe network data is replaced with into the operation data;
Determine that replaced two-dimentional pipe network data is two-dimentional pipe network data to be updated.
5. the generation method of underground pipe network threedimensional model according to claim 1, which is characterized in that the acquisition is to be updated
Two-dimentional pipe network data, specifically include:
Obtain detection data;
Determine the corresponding tiles code of the detection data;
Former two-dimentional pipe network data corresponding with the tiles code is extracted according to the tiles code;
Merge the detection data and the former two-dimentional pipe network data;
Determine that the two-dimentional pipe network data after merging is two-dimentional pipe network data to be updated.
6. a kind of generation system of underground pipe network threedimensional model characterized by comprising
Two-dimentional pipe network data obtains module, for obtaining two-dimentional pipe network data;
Georeferencing setting module, for determining the georeferencing of the two-dimentional pipe network data according to the two-dimentional pipe network data;
Origin position setting module, for obtaining the origin position of earth area data according to the georeferencing;
Region division module, for the earth area data being divided into multiple according to the origin position and subdivision size
Grid area;
Coding module obtains tiles code for carrying out unique identification coding to each grid area;
Three-dimensional pipe network data generation module, for according to the tiles code, the two-dimentional pipe network data to be generated corresponding three
Tie up pipe network data;
Read module is encoded, for obtaining to the corresponding multiple grid areas of drawing area, determines the multiple grid area pair
The multiple tiles code is built into tiles code set by the multiple tiles codes answered;
Three-dimensional pipe network data determining module, it is described to the corresponding tiles code set of drawing area, determining and this watt for basis
The corresponding three-dimensional pipe network data to be drawn of piece code set;
Drafting module, it is described to the corresponding tiles code set of drawing area and the three-dimensional tube netting index to be drawn for basis
According to drafting underground pipe network threedimensional model;
Two dimension pipe network data to be updated obtains module, for obtaining two-dimentional pipe network data to be updated;
Determining module is encoded, for determining tiles code corresponding with the two dimension pipe network data to be updated;
Three-dimensional pipe network data determining module to be updated, for determining three-dimensional tube to be updated corresponding with the corresponding tiles code
Network data;
Model modification module, for according to the two-dimentional corresponding tiles code of pipe network data to be updated and the three-dimensional to be updated
Pipe network data updates the data for corresponding to the tiles code in the underground pipe network threedimensional model, obtains updated underground pipe network
Threedimensional model.
7. the generation system of underground pipe network threedimensional model according to claim 6, which is characterized in that the two dimension pipe network number
The data setting for being also used to carry out two-dimentional pipe network data according to module is obtained, the data setting include georeferencing setting, word
Section is correspondingly arranged, the setting of pipeline texture, the setting of well texture, pipeline embedding manner is arranged, altitude data model is arranged.
8. the generation system of underground pipe network threedimensional model according to claim 7, which is characterized in that the three-dimensional tube netting index
According to including pipeline segment data, common pipeline point data, equipment point data, connection point data and well data;The pipeline segment data
Including line sections initial point position, line sections terminating point position, caliber and embedding manner;The common pipeline point data includes
Point pipeline position;The equipment point data includes equipment point position, equipment point direction vector point coordinate and device model;The company
Contact data include tie point position and tie point direction;The well data include well location set, well shape and the well depth of burying.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610800153.3A CN106373188B (en) | 2016-08-31 | 2016-08-31 | A kind of generation method and system of underground pipe network threedimensional model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610800153.3A CN106373188B (en) | 2016-08-31 | 2016-08-31 | A kind of generation method and system of underground pipe network threedimensional model |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106373188A CN106373188A (en) | 2017-02-01 |
CN106373188B true CN106373188B (en) | 2019-02-01 |
Family
ID=57900277
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610800153.3A Active CN106373188B (en) | 2016-08-31 | 2016-08-31 | A kind of generation method and system of underground pipe network threedimensional model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106373188B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108073775B (en) * | 2017-12-29 | 2021-05-25 | 武汉智博创享科技股份有限公司 | Method for drawing elbow and pipe network communication equipment and drawing device |
CN110111410B (en) * | 2019-03-22 | 2023-02-10 | 武汉众智鸿图科技有限公司 | Two-three-dimensional pipe network data organization and display method based on spatial database |
CN111127647A (en) * | 2019-12-26 | 2020-05-08 | 江苏煤炭地质物测队 | Drawing system and drawing method for urban underground pipeline detection map |
CN112052508B (en) * | 2020-09-17 | 2024-03-12 | 正元地理信息集团股份有限公司 | Seamless fusion method and system for data in three-dimensional GIS platform |
CN114186371B (en) * | 2021-12-16 | 2024-05-28 | 苏州市测绘院有限责任公司 | Pipe network data dynamic service system capable of sharing and exchanging |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630419A (en) * | 2009-08-13 | 2010-01-20 | 苏州市数字城市工程研究中心有限公司 | Structuring method for three-dimensional visualizing system of urban synthesis pipeline network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7450749B2 (en) * | 2001-07-06 | 2008-11-11 | Koninklijke Electronics N.V. | Image processing method for interacting with a 3-D surface represented in a 3-D image |
-
2016
- 2016-08-31 CN CN201610800153.3A patent/CN106373188B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101630419A (en) * | 2009-08-13 | 2010-01-20 | 苏州市数字城市工程研究中心有限公司 | Structuring method for three-dimensional visualizing system of urban synthesis pipeline network |
Also Published As
Publication number | Publication date |
---|---|
CN106373188A (en) | 2017-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106373188B (en) | A kind of generation method and system of underground pipe network threedimensional model | |
CN106683198B (en) | Three-dimensional automatic modeling and scheduling rendering method for comprehensive pipe network | |
CN109359351B (en) | Three-dimensional modeling method for pipeline and pipeline design method | |
CN114201798B (en) | Long and large tunnel digital twin system and method based on BIM+GIS technology | |
CN109711052A (en) | Tunnel model creation method based on Revit+Dynamo | |
CN111639408B (en) | AR technology-based urban pipe network pipeline 3D model display method and system | |
CN106600468A (en) | Geographic-information-based comprehensive pipeline data two-dimensional and three-dimensional integrated organization method | |
CN104794755B (en) | A kind of high-tension cable three-dimensional tube field of line scape construction method | |
CN102147830B (en) | Method and system for optimally designing water supply pipe network | |
CN110111410A (en) | A kind of two three-dimensional pipe network data organizations and display methods based on spatial database | |
CN106557892A (en) | City Buried Pipeline GIS-Geographic Information System | |
CN110889160A (en) | Municipal pipeline construction method based on BIM technology | |
CN108959598A (en) | The method that CAD data based on GIS imported into SWMM | |
CN105335478B (en) | The method and apparatus for building urban land space multistory survey data semantic association | |
CN107103640A (en) | The three-dimensional modeling method and system of a kind of City Buried Pipeline | |
CN104700453A (en) | Method for generating three-dimensional model of cable pipe network based on GIS | |
CN113177251A (en) | Road design data collaborative management method and management system based on BIM + GIS platform | |
CN109190174A (en) | A kind of method and system for establishing pipe-network data model | |
CN114707220A (en) | Revit macro program-based tunnel BIM intelligent modeling method | |
CN104392035A (en) | Web-based three-dimensional city modeling method | |
CN117830586A (en) | Method and system for updating three-dimensional modeling increment of roadway | |
CN115795768B (en) | Pipe network three-dimensional modeling and data updating method and system taking entity form into consideration | |
CN111914329A (en) | Method for automatically fusing roadbed BIM model and three-dimensional terrain | |
CN114549717B (en) | Three-dimensional rapid modeling and dynamic updating method for railway line | |
CN105550249A (en) | Pipeline data processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 | ||
CP03 | Change of name, title or address |
Address after: 101300 2 Airport East Road, Shunyi District business district, Beijing Patentee after: Zhengyuan Geographic Information Group Co., Ltd. Address before: 100000 Zhengyuan Geographic Information Building, National Geographic Information Technology Industrial Park, No. 2 Airport East Road, Shunyi District, Beijing Patentee before: CHINA ZHENGYUAN GEOMATICS CO., LTD. |
|
CP03 | Change of name, title or address |