The content of the invention
The present invention is for existing underground utilities three-dimensional modeling method labor intensity is big, work efficiency is low, modeling accuracy is not high
The problems such as, it proposes a kind of underground utilities three-dimensional automation modeling method based on well chamber expression, not only effectively reduces modeling
Labor intensity, and improve the precision of three-dimensional modeling.
In order to achieve the above object, technical scheme is as follows:
A kind of underground utilities three-dimensional automation modeling method of the present invention, includes the following steps:
1. fieldwork measurement:Electromagnetic Survey of Underground Pipelines is carried out using Ground Penetrating Radar, pipe and cable detector, marks pipeline position on the spot,
Then rendering pipeline sketch gathers pipeline three-dimensional information with total powerstation, spirit level, is known as original pipeline data.
2. well room category of model:According to the shape and structure feature of well room, polymorphic type division is carried out to it, and for per class well
Corresponding body Model is established in room, assigns unique number, foundation is provided for the three-dimensional automatic modeling of well room.
3. pipeline three-dimensional modeling:
(1) data normalization is handled:Original pipeline data are standardized, are converted to standardization pipeline data;
(2) topology checks:Topological inspection is carried out to standardized data, realizes the Correctness checking of a variety of pipeline topology rules
Output and processing ensure the correctness of follow-up modeling data;
(3) data correlation:Will standardization pipeline data and scene data, underground utilities threedimensional model entity storehouse, open up
Rule base is flutterred to be associated;
(4) automation modeling:Including model building for pipeline method, pipeline connection modeling method, adjunct modeling method.
In step 1, the acquisition pipeline three-dimensional information, be pipeline two dimension investigation on the basis of, production wells cap-shaped shape,
Material, diameter, length and width, well room type, material, diameter, length and well neck are deep, prepare for well room three-dimensional modeling.
In step 3,
The model building for pipeline method:The terminus that three-dimensional tube is extracted from the pipe point and pipeline of standardized data is three-dimensional
Coordinate, length ratio, three-dimension altitude angle and the pipe shape in tri- directions of XYZ, system pass through conduit types on the basis of the above
The pipeline model in underground utilities entity storehouse is called, completes model building for pipeline;
The pipeline connection modeling method:On the basis of three-dimensional tube, extract pipeline starting point position and morphological parameters,
The position of terminal and morphological parameters, and according to fitting ratio generation starting connection, the termination of pipeline and pipeline connection accessory
Connection and connection accessory three-dimensional data, system call buried pipe on the basis of possessing above-mentioned parameter, by conduit types
Pipe connecting part model in line model entity storehouse realizes three-dimensional data generation and the three-dimensional modeling of pipeline connection;
The adjunct modeling method:On the basis of original pipe point data and three-dimensional tube data, adjunct is extracted
Three-dimensional coordinate, tri- direction length ratios of XYZ, three-dimension altitude angle and adjunct classification, system obtain above-mentioned parameter base
On plinth, the adjunct model in underground utilities model entity storehouse is called by adjunct type, realizes appendicular three-dimensional data
Generation and three-dimensional modeling.
In step 3, before topology checks, system dynamic creation topology checks database and data set, and topology is checked number
It according to being copied to data set, and from topology rule storehouse calls topology rule collection, be copied to data set, checked for topology.
The model building for pipeline method is the geographic reference based on Skyline Globe three-dimensional platforms and three-dimensional data rule
Model realizes step 5. by the way of the combined use of ArcGIS Engine and Skyline Globe second development interfaces
System realizes ground pattern, the free switching of underground pattern, and the query function that three-dimensional platform can be used to carry
Check the attribute information of pipeline.
The underground utilities three-dimensional automation modeling method of the present invention, can realize the modeling that becomes more meticulous of pipeline, improve biography
The underground utilities three-dimensional modeling method of system, has saved manpower, saves the time of pipeline modeling.
Specific embodiment
Underground utilities three-dimensional automation modeling method provided in this embodiment is according to the actual demand of field operation operation, profit
With Ground Penetrating Radar, pipe and cable detector, total powerstation adjust and paint, data processing is carried out based on fieldwork measurement result, topology checks, certainly
The operations such as dynamicization modeling, scene operation, realization fast and accurately model.
The underground utilities three-dimensional automation modeling method, includes the following steps:
1. fieldwork measurement:Electromagnetic Survey of Underground Pipelines is carried out using Ground Penetrating Radar, pipe and cable detector, marks pipeline position on the spot,
Then rendering pipeline sketch gathers pipeline three-dimensional information with total powerstation, spirit level, is known as original pipeline data.
2. well room category of model:According to the shape and structure feature of well room, polymorphic type division is carried out to it, and for per class well
Corresponding body Model is established in room, assigns unique number, foundation is provided for the three-dimensional automatic modeling of well room.
Sorting technique is as follows:According to the shape and structure feature of well room, by well room there are many type, and for per class well room
Unique number.Careful well room classification will provide foundation and basis for modeling method.
More than exemplified by well code is second of well room in 102 in 1, which can be broken down into two conventional three-dimensionals pair
As, i.e. cylinder and circular cone, as shown in Figure 1.Complicated single 3 D well room is decomposed into conventional three-dimensional object can effectively to drop
The difficulty of low three-dimensional modeling, and can farthest improve the accuracy of well room model.
For well room three-dimensional modeling using the method for parametric modeling, the structure of model must be based on necessary key parameter
On, 5 key parameters must be obtained before modeling:Well lid diameter, well chamber diameter, well neck depth, well depth and well room code (well
Room type).5 key parameters and the correspondence of field in pipeline surveying outcome table are initially set up, in contrast table, Ran Houtong
Cross 5 parameter values of mapping algorithm quick obtaining.
After 5 key parameters are passed to, well room type is judged according to well room code first, in Coordinate calculation method collection
The corresponding Coordinate calculation method of extraction in (class);Independent well room three-dimensional modeling coordinate is then based on, according to the shape of well neck/well room
Shape, using the coordinate set of different three-dimensional geometry computational methods, successively calculating well neck/well room.
Default a set of index definition method collection includes the definition method of the not homomorphs such as cuboid, cylinder, round platform, according to
Well room code judges the type of well room, and transfers corresponding three-dimensional body index definition method from method concentration, is sequentially completed well
Neck and the definition of the index of well room.
The texture of textures has to comply with well room realistic situation, and the pixel length and width dimensions of texture meet 2 Nth power requirement, and
And all dough sheets of model are completely covered.
The textures principle of well room three-dimensional modeling based on DirectX is similar to 3DMax model pinup pictures, and difference is automatic
Change and texture is assigned to be defined index position, the output and preservation of model are also completed while mapping operations are completed.
Experiment selects more than 16000 a Underground well chambers of 17 8 kinds of different shapes of class pipeline of somewhere as modeling object, difference
Three-dimensional modeling is carried out to these well rooms using traditional 3DMax and automation modeling method.
Same model quantity two methods efficiency comparative
3. pipeline three-dimensional modeling:
(1) data normalization is handled:Data normalization processing is will according to national standard or local pipeline surveying (data) standard
The line classification and field of original pipeline data do standardization conversion processing.System corrects pipeline class name according to data standard
Claim, and pass through the table of comparisons for making original field and criteria field, based on ArcGIS Engine and database technology by original word
Section switchs to criteria field.
ArcGIS Engine provide abundant space geometry algorithm interface, it can be achieved that location information obtains, information is compiled
Volume, the functions such as space search;Skyline Globe second development interfaces provide the most important model attitude of pipeline three-dimensional modeling
Algorithm.Pipeline and the pairing of pipe point are got up by ArcGIS Engine space search interfaces first, then pass through ArcGIS
Engine acquisition of information interface obtains the information such as coordinate position, the size of pipeline, is finally based on the model appearance of Skyline Globe
The attitude parameter of pipeline model and the dimension information of all directions is calculated in state algorithm, generates pipeline threedimensional model.ArcGIS
The combined use of Engine and Skyline Globe second development interfaces is space structure feature and platform wash with watercolours based on pipeline data
The needs of dye and select, this method while modeling efficiency is improved also can ensure model achievement rendering effect reach most
It is good.
(2) topology checks, mainly realizes the Correctness checking output and processing of a variety of pipeline topology rules, ensures follow-up
The correctness of modeling data.
1. topology is called
It is that dynamic creation checks data set and calls topology rule that topology, which is called,.System dynamic creation topology checks database
And data set, topology is checked into data copy to data set, and calls topology rule collection from topology rule storehouse, be copied to data
Collection is checked for subsequent topology and is ready.
2. topology checks
It is that original pipeline data are carried out with complete pipeline topology rule verification that topology, which checks, and outgoing inspection is reported.It borrows
The topological data set of dynamic creation is helped, based on ArcGIS Engine second development interfaces, realizes automation validating topology, and will
The topological inspection result of all kinds of pipelines exports in a text form, is verified for user.
3. topology processing
Topology processing is to carry out automatic business processing to topological inspection result according to topology processing rule.Based on default topology
Error handle rule base calls corresponding error handle rule, according to the processing original pipe of rule regulating according to Topology Error type
Line number evidence.
(4) data correlation:It initially sets up and is associated with related data.Associated data includes original pipeline data and pipeline
The consistent scene data of frame of reference, underground utilities threedimensional model entity storehouse, topology rule storehouse etc..System is by recording phase
The file path for closing data and the mode for copying data get up data and project binding.
(5) automation modeling:Automation modeling realize pipeline, pipeline fitting component, pipeline connection accessory, well lid,
Well room and other appendicular disposable complete modelings, without any manual intervention.
1. model building for pipeline
Model building for pipeline is the three-dimensional data for generating pipeline.Geographic reference and three based on Skyline Globe three-dimensional platforms
Dimension data specification, by the way of the combined use of ArcGIS Engine and Skyline Globe second development interfaces, according to pipe
Point and the topology rule of pipeline, from the pipe point and pipeline of original pipeline data the key parameter values of extraction three-dimensional tube and other
Pipeline information forms the graphics layer data of three-dimensional platform identification.Key parameter includes terminus three-dimensional coordinate, the XYZ of pipeline
Three direction length ratios, three-dimension altitude angle and pipe shape.On the basis of possessing key parameter, system passes through conduit types
The pipeline model in underground utilities model entity storehouse is called, realizes three-dimensional data generation and the three-dimensional modeling of pipeline.
2. pipeline connection modeling
Pipeline connection modeling is to generate pipeline starting connection, terminate the three-dimensional data that connection connects accessory with pipeline.
Due to the systematicness of pipeline model, the phenomenon that fracture is present at pipeline turning point, is lacked, it is not inconsistent with real pipeline construction,
Also the aesthetics of pipeline is very influenced, therefore, it is necessary to need to increase connecting component in pipeline turning point, it is round and smooth excessively to meet pipeline
Effect.Geographic reference and three-dimensional data specification based on Skyline Globe three-dimensional platforms, using ArcGIS Engine and
The mode that Skyline Globe second development interfaces are used in combination on the basis of three-dimensional tube data, is extracted pipeline and is risen respectively
Position and morphological parameters, the position of the terminal and morphological parameters of point, and in most beautiful fitting ratio generation starting connection (starting
End cap pipe), terminate connection (clearing end casing) and connection accessory (transition intermediate member) three-dimensional data.Possessing crucial ginseng
On the basis of number, system calls the pipe connecting part model in underground utilities model entity storehouse by conduit types, realizes pipe
The three-dimensional data generation of road connection and three-dimensional modeling.
3. adjunct models
Adjunct modeling is generation well room, well lid and other appendicular three-dimensional datas.Adjunct threedimensional model is divided into two
Kind:The relevant adjunct of line size and the incoherent adjunct of line size.The relevant adjunct of line size refers to size
The adjunct of or equal proportion consistent with caliber scaling, such as the adjunct of valve, water outlet and pipeline fitting, it is some of attached
The attitude angle of object is also required to consistent with pipeline;The incoherent adjunct of line size refers to the size adjunct unrelated with caliber,
Such as street lamp, junction box.To realize the unitized of data processing, all adjuncts are required for obtaining the size of pipeline and posture ginseng
Number.Geographic reference and three-dimensional data specification based on Skyline Globe three-dimensional platforms, using ArcGIS Engine and
The mode that SkylineGlobe second development interfaces are used in combination, on the basis of original pipe point data and three-dimensional tube data,
Appendicular key parameter is extracted, including three-dimensional coordinate, tri- direction length ratios of XYZ, three-dimension altitude angle and adjunct classification.
On the basis of possessing key parameter, system calls the adjunct mould in underground utilities model entity storehouse by adjunct type
Type realizes appendicular three-dimensional data generation and three-dimensional modeling.
(6) scene operation:Realize the transparency for freely controlling landform, visual angle enters below earth's surface and saving scenario becomes
Change, understand for user and check that three-dimensional pipeline construction, preservation three-dimensional tube field of line scape provide useful instrument.
1. check three-dimensional achievement
It is the three-dimensional pipeline achievement opened underground pattern, check generation to check three-dimensional achievement.Based on SkylineGlobe bis-
Secondary development interface, system realize ground pattern, the free switching of underground pattern, visual angle can be cut into below earth's surface, low coverage
From the space construction that, multi-angle checks three-dimensional pipeline, facilitate the correctness for checking three-dimensional modeling, and can be carried using three-dimensional platform
Query function check the attribute information of pipeline.
Obviously, the above embodiment of the present invention is only intended to clearly illustrate example of the present invention, and is not to this
The restriction of the embodiment of invention.It for those of ordinary skill in the art, on the basis of the above description can be with
It makes other variations or changes in different ways.Here all embodiments can not be exhaustive.It is every to belong to the present invention
The obvious changes or variations extended out of technical solution still in protection scope of the present invention row.