Summary of the invention
In view of this, the invention provides a kind of power circuit method for building up and device, to overcome the problem of being badly in need of creating according to two-dimentional line of electric force data the method for three-dimensional power circuit in prior art.
For achieving the above object, the invention provides following technical scheme:
A power circuit method for building up, comprising:
Obtain the two-dimentional line of electric force data of the described power circuit being applied on three-dimensional platform;
The two-dimentional line of electric force data of described power circuit are converted to three-dimensional data, and described three-dimensional data comprises a data and line data;
For every bit data, at described some data place, set up three-dimensional line rod model, and determine the elevation information between three-dimensional line rod model described in each;
For the line data between every two described three-dimensional line rod models, determine two distances between described three-dimensional line rod model, and the difference in height information of two described three-dimensional line rod models, the number that calculates the straight line that forms curve corresponding to described line data according to described distance and described difference in height information, is connected to form curve corresponding to described line data by described number bar straight line;
For three-dimensional line rod model described in each, calculate the angle of laying of described three-dimensional line rod model;
According to corresponding curve and described each three-dimensional line rod model of line data of laying between angle, described every two described three-dimensional line rod models of three-dimensional line rod model described in each, set up described power circuit.
Wherein, the two-dimentional line of electric force data of obtaining the described power circuit being applied on three-dimensional platform described in comprise:
The remote sensing image of described power circuit is preset to processing, obtain the first metadata, described the first metadata comprises the two-dimensional coordinate of described power circuit;
The digital elevation model of described power circuit is carried out to described default processing, obtain the second metadata, described the second metadata comprises the three-dimensional coordinate of described power circuit;
According to described the first metadata and described the second metadata, obtain the two-dimentional line of electric force data of described power circuit.
Wherein, before described two-dimentional line of electric force data of getting the described power circuit being applied on three-dimensional platform, also comprise:
Obtain the addressing data of described power circuit and the layout data of described power circuit;
Described addressing data and described layout data are loaded on to the database in described three-dimensional platform, so that the digital elevation model that obtains described power circuit according to the described addressing data in described three-dimensional platform and described layout data.
Wherein, the two-dimentional line of electric force data of obtaining the described power circuit being applied on three-dimensional platform described in are specially: described 2-D data is loaded on to the database in three-dimensional platform.
Wherein, also comprise:
While receiving the indication that the first data in described two-dimentional line of electric force data are modified, obtain new data corresponding to described the first data;
According to described new data, the data corresponding with described the first data in the described power circuit of setting up are modified.
A power circuit apparatus for establishing, comprising:
The first acquisition module, for obtaining the two-dimentional line of electric force data of the described power circuit being applied on three-dimensional platform;
Modular converter, for the two-dimentional line of electric force data of described power circuit are converted to three-dimensional data, described three-dimensional data comprises a data and line data;
The first determination module, for for every bit data, sets up three-dimensional line rod model at described some data place, and determines the elevation information between three-dimensional line rod model described in each;
The second determination module, be used for for the line data between every two described three-dimensional line rod models, determine two distances between described three-dimensional line rod model, and the difference in height information of two described three-dimensional line rod models, the number that calculates the straight line that forms curve corresponding to described line data according to described distance and described difference in height information, is connected to form curve corresponding to described line data by described number bar straight line;
Computing module, for for three-dimensional line rod model described in each, calculates the angle of laying of described three-dimensional line rod model;
Set up module, for corresponding curve and described each the three-dimensional line rod model of line data laid between angle, described every two described three-dimensional line rod models according to three-dimensional line rod model described in each, set up described power circuit.
Wherein, described the first acquisition module comprises:
The first acquiring unit, for the remote sensing image of described power circuit is preset to processing, obtains the first metadata, and described the first metadata comprises the two-dimensional coordinate of described power circuit;
Second acquisition unit, for the digital elevation model of described power circuit being carried out to described default processing, obtains the second metadata, and described the second metadata comprises the three-dimensional coordinate of described power circuit;
The 3rd acquiring unit, for obtaining the two-dimentional line of electric force data of described power circuit according to described the first metadata and described the second metadata.
Wherein, also comprise:
The second acquisition module, for obtaining the addressing data of described power circuit and the layout data of described power circuit;
The first load-on module, for described addressing data and described layout data being loaded on to the database of described three-dimensional platform, so that the digital elevation model that obtains described power circuit according to the described addressing data in described three-dimensional platform and described layout data.
Wherein, described the first acquisition module is specially: described two-dimentional line of electric force data are loaded on to the database in three-dimensional platform.
Wherein, also comprise:
The 3rd acquisition module, when receiving the indication that the first data of described two-dimentional line of electric force data are modified, obtains new data corresponding to described the first data;
Modified module, for according to described new data, modifies the data corresponding with described the first data in the described power circuit of setting up.
Known via above-mentioned technical scheme, compared with prior art, the embodiment of the present invention provides a kind of power circuit method for building up, first the method is converted to three-dimensional data by the two-dimentional line of electric force data of power circuit, three-dimensional data comprises a data and line data, for every bit data, at described some data place, set up three-dimensional line rod model, and determine the elevation information between three-dimensional line rod model described in each, for the line data between every two described three-dimensional line rod models, determine two distances between described three-dimensional line rod model, and the difference in height information of two described three-dimensional line rod models, according to described distance and described difference in height information, calculate the number of the straight line that forms curve corresponding to described line data, described several straight lines are connected to form to curve corresponding to described line data, for three-dimensional line rod model described in each, calculate the angle of laying of described three-dimensional line rod model, according to the angle of laying of three-dimensional line rod model described in each, corresponding curve and described each three-dimensional line rod model of line data between described every two described three-dimensional line rod models set up described power circuit.From having realized according to the method that is applied to three-dimensional data two-dimensional stage and creates three-dimensional power circuit.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Refer to accompanying drawing 1, the schematic flow sheet of a kind of power circuit method for building up providing for the embodiment of the present invention, the method comprises:
Step S101: the two-dimentional line of electric force data of obtaining the described power circuit being applied on three-dimensional platform.
Step S102: the two-dimentional line of electric force data of described power circuit are converted to three-dimensional data.
Described three-dimensional data comprises a data and line data.
Two-dimentional line of electric force data for the power circuit loading under three-dimensional platform, restriction due to data layout, the two-dimentional line of electric force data of power circuit need to be converted to the form that can load under three-dimensional platform by data converter, then three-dimensional platform reads this three-dimensional data by network mode, finally realizes the three-dimensional display of two-dimentional line of electric force data.
The data layout of supposing to deposit in electric power data storehouse three-dimensional data is DWG form, and first data converter is converted to point-line-surface data by DWG data, and this transfer process can be by being used teigha control to realize.After point-line-surface DSR, being two-dimentional line of electric force data, how realizing on three-dimensional platform and representing, and corresponding dotted line content revealing is become to the form of three-dimensional power model, is the key that three-dimensional data represents.
Step S103: for every bit data, set up three-dimensional line rod model at described some data place, and determine the elevation information between three-dimensional line rod model described in each.
While traversing some data from a data, at first data place, just set up three-dimensional line rod model, from second point data, start except setting up three-dimensional line rod model, also to determine the height with previous some data bus connection, until traverse last some data, the three-dimensional model of simple straight line pattern has just established.
Step S104: for the line data between every two described three-dimensional line rod models, determine two distances between described three-dimensional line rod model, and the difference in height information of two described three-dimensional line rod models, the number that calculates the straight line that forms curve corresponding to described line data according to described distance and described difference in height information, is connected to form curve corresponding to described line data by described number bar straight line.
Be understandable that, circle can be regarded a positive N limit row that is joined and formed by a lot of very short straight-line segment first places as, N is more than or equal to 1 positive integer, curve with radian also can be connected into by a plurality of straight lines, first to determine between two three-dimensional line rod models and will form this arc (number) with how many straight lines, and the falling head (maxdh) of straight line position when two three-dimensional line rod models are middle.
Can calculate two distances (distance) between three-dimensional line rod model by function, then calculate the length (segment=distance/number) of every section of straight line, the height (high=Math.Sin ((3.14159261/number*i)) * maxdh) that obtains the decline of every section of straight line by traversal subtracts the height acquisition z coordinate of decline again with original height.The coordinate figure of x, y, z that has so just obtained the end points of each straight line, is recorded in array, until traveled through number time, then the coordinate of the end points of these each straight lines is generated to line, be exactly curve.
Step S105: for three-dimensional line rod model described in each, calculate the angle of laying of described three-dimensional line rod model.
The three-dimensional line rod model that each some data that power circuit R is corresponding are laid has certain angle, and correct judgement three-dimensional line rod model is laid angle, can avoid the situation that power circuit intersects to occur.Refer to Fig. 2, the schematic diagram of laying angle of a kind of three-dimensional line rod model providing for the embodiment of the present invention.First the angle of laying of determining the three-dimensional line rod model that first data are corresponding is A direction, supposes that the direction of laying of the three-dimensional line rod model that next some data are corresponding is on C and C1 line.Do so B to the second three-dimensional line rod model corresponding to some data of perpendicular line of A, so just generate two angle d1 and d2, the situation of intersecting for fear of power circuit, the angle of laying that can judge three-dimensional line rod model should be in d1 angular range, be less than 180 degree, by that analogy, find to guarantee that the condition of three-dimensional line rod model homonymy is that the angle of laying of all three-dimensional line rod models is less than at the same time 180 degree angles or is greater than on the angular bisector at 180 degree angles simultaneously.So this angle is assigned on the deflection angle attribute of these data.Wherein, the laying angle and can directly draw by function of the three-dimensional line rod model that first data are corresponding, the three-dimensional line rod model that last some data is corresponding lay the angle of laying that angle can equal three-dimensional line rod model corresponding to previous some data.
Can be by function by each on three-dimensional line rod model center line bar, the direction along the arm of three-dimensional line rod model moves to the top of the arm of three-dimensional line rod model, the Position that supposes to set up each point in three-dimensional line rod model center line bar is currWaypoint, the brachium of three-dimensional line rod model is x, by currWaypoint=currWaypoint.Move (x, currWaypoint.Yaw ± 90,0) calculate the point of setting up line, other constant, need to set up several lines the method that just repeats several times, many lines are just established like this.
Step S106: set up described power circuit according to corresponding curve and described each three-dimensional line rod model of line data of laying between angle, described every two described three-dimensional line rod models of three-dimensional line rod model described in each.
The embodiment of the present invention provides a kind of power circuit method for building up, first the method is converted to three-dimensional data by the two-dimentional line of electric force data of power circuit, three-dimensional data comprises a data and line data, for every bit data, at described some data place, set up three-dimensional line rod model, and determine the elevation information between three-dimensional line rod model described in each, for the line data between every two described three-dimensional line rod models, determine two distances between described three-dimensional line rod model, and the difference in height information of two described three-dimensional line rod models, according to described distance and described difference in height information, calculate the number of the straight line that forms curve corresponding to described line data, described number bar straight line is connected to form to curve corresponding to described line data, for three-dimensional line rod model described in each, calculate the angle of laying of described three-dimensional line rod model, according to the angle of laying of three-dimensional line rod model described in each, corresponding curve and described each three-dimensional line rod model of line data between described every two described three-dimensional line rod models set up described power circuit.From having realized according to the method that is applied to the three-dimensional power circuit of two-dimentional line of electric force data creation three-dimensional platform.
Refer to Fig. 3, a kind of method flow schematic diagram of implementation of the two-dimentional line of electric force data of the described power circuit being applied on three-dimensional platform is provided in a kind of power circuit creation method providing for the embodiment of the present invention, the method comprises:
Step S301: the remote sensing image of described power circuit is preset to processing, obtain the first metadata.
Described the first metadata comprises the two-dimensional coordinate of described power circuit.
Step S302: the digital elevation model of described power circuit is carried out to described default processing, obtain the second metadata.
Described the second metadata comprises the three-dimensional coordinate of described power circuit.
The metadata that forms three-dimensional data has two kinds, be by modern photography measuring technique, to realize a remote sensing image for the power circuit of the certain resolution generating, another kind is by the digital elevation model of the power circuit of surveying and mapping technology and geographic information system technology realization.These two kinds of metadata have included the data coverage that power circuit planning relates to, for existing these two kinds of metadata, by the Geographic Information System (GIS) software such as Arcgis, ER mapper and Erdas carry out image data registration, cut, the operation such as splicing and Data Format Transform.These two kinds of metadata, after above Geographic Information System (GIS) software is processed, formed the metadata that is WGS-84 projection, and coordinate are mated together.After the early-stage preparations of two kinds of metadata finish, by 3D processing software, these two kinds of metadata being carried out to data synthesizes, first be by two kinds of meta data match coordinate together, the data of remote sensing image and digital elevation model are mated on x, y coordinate position, stack.And 3-D effect is to be undertaken by the z value in the data of extraction digital elevation model.Formed the three-dimensional data with massif.Three-dimensional data is stored and manages in three-dimensional data base.The three-dimensional platform of monitoring center can be called and be obtained corresponding power circuit in three-dimensional data base and plan relevant three-dimensional data by local area network technology.
Step S303: the two-dimentional line of electric force data of obtaining described power circuit according to described the first metadata and described the second metadata.
A kind of power circuit creation method that the embodiment of the present invention provides, before the described two-dimentional line of electric force data of obtaining the described power circuit being applied on three-dimensional platform, also comprises: obtain the addressing data of described power circuit and the layout data of described power circuit; Described addressing data and described layout data are loaded on to the database in described three-dimensional platform, so that the digital elevation model that obtains described power circuit according to the described addressing data in described three-dimensional platform and described layout data.
After three dimensional file corresponding to the relevant two-dimentional line of electric force data of certain power circuit planning generates, by local area network technology, from three-dimensional data base, be sent to the three-dimensional platform of two three-dimensional integratedization systems.So far completed the loading for three-dimensional data.
After the data of power circuit are added in two-dimensional stage, each functional module that two-dimensional stage is adopted can normally be used.
The functional module that two-dimensional stage provides can comprise: basic operation module, fundamental quantity are surveyed enquiry module, drafting module and programme contrast module.
Basic operation module provides under two-dimensional scene, and the correlation function of browsing data, comprising: convergent-divergent, translation, drag, full figure is checked etc.Take a certain region as example, and user can be realized for the amplification of the data of this region power circuit and be dwindled and check by scroll wheel.By long, by left mouse button, realize translation for browsing area, the operation such as drag.And be provided with full figure and check key, click electric power data full figure is shown.
Fundamental quantity is surveyed enquiry module.This module provides the fundamental quantity brake relevant to power circuit.User, by the mouse clicking operation in two-dimensional stage, does the measurements such as horizontal range, area between the data of the power circuit that realization loads in platform, and can, by the function under this module, realize the attribute query to the data object of power circuit.
Drafting module, this module provides a series of power circuit addressings and has planned relevant drafting function, and user, by the use of this function, can comprehensively complete for example modification of power circuit, the addressing of transformer station, the operations such as address change in two-dimensional stage.
Programme contrast module, this module provides the comparing function for power circuit programme, and user can be under the use of this functional module, and power circuit programme and original power programme that secondary is revised contrast.And the form by comparative information with list is presented under two-dimensional stage.
The two-dimentional line of electric force data of obtaining the described power circuit being applied on three-dimensional platform in a kind of power circuit creation method that example of the present invention provides are specially: described two-dimentional line of electric force data are loaded on to the database in three-dimensional platform.
Three-dimensional platform comprises: basic operation module, layer management module, geoanalysis module, Computer Aided Design module, tools menu module and demonstration functional module.
Basic operation module has comprised navigation mode module, browse operation module and three modules of navigation module.Navigation module realizes the finger north of three-dimensional scenic, around, zoom function, browse operation module can be carried out transformer station's roaming and full figure is browsed.Navigation mode module is used for controlling three-dimensional scenic browsing mode, as drags, slides, overturns.
Layer management module can comprise map elements module, present situation electrical network module, three modules of planning electrical network module.Map elements module is used for controlling the two-dimentional key element layer shown in three-dimensional scenic as border, small towns etc.Present situation electrical network module and planning electrical network module make respectively user control the electric network data type of adding by the selection of function key.
Geoanalysis module comprises measurement module and terrain analysis module.Measurement and analysis module offers the measuring function of user's level, space, vertical, area and angle.Terrain analysis module offers the functions such as user profile analysis, earth volume analysis, contour plots analysis, intervisibility analysis, slope map and the condition of a disaster analysis.
Computer Aided Design module for choosing user after corresponding design proposal, can be carried out electric power highway route design, station design, edition function in three-dimensional scenic.
Tools menu module offers custom power data sharing, data derive and demonstration module.User can be realized the data of existing line in current platform are derived by data sharing, also can derive the scheme of power circuit design simultaneously.Data derive, and can derive the large figure of cad data drawing and planning.Be convenient to use with the docking of two-dimentional system.Presentation tool can make user import and derive setting to the demonstrate script of three-dimensional scenic.
Demonstration functional module can be for adding the demonstration effects such as explanatory note, location point, operation.
A kind of power circuit creation method that the embodiment of the present invention provides also comprises: while receiving the indication that the first data in described three-dimensional data are modified, obtain new data corresponding to described the first data; According to described new data, the data corresponding with described the first data in the described power circuit of setting up are modified.
After three dimensional file corresponding to above-mentioned three-dimensional data generates, by local area network technology, from three-dimensional data base, be sent to the three-dimensional platform of two three-dimensional integratedization systems.So far complete the loading for three-dimensional data, realized representing of the 3-D effect on three-dimensional platform.
Between user side and two three-dimensional platforms, by local area network technology, interconnect.After the login account number and password of user side by input respective user authority, can directly enter two three-dimensional platforms, each function providing in platform is provided.
In the disclosed embodiment of the invention described above, describe method in detail, for method of the present invention, can adopt the device of various ways to realize, therefore the invention also discloses a kind of device, provide specific embodiment below and be elaborated.
Refer to Fig. 4, the structural representation of a kind of power circuit apparatus for establishing providing for the embodiment of the present invention, this device comprises: the first acquisition module 401, modular converter 402, the first determination module 403, the second determination module 404, computing module 405 and set up module 406, wherein:
The first acquisition module 401, for for obtaining the two-dimentional line of electric force data of the described power circuit being applied on three-dimensional platform.
Modular converter 402, for for the two-dimentional line of electric force data of described power circuit are converted to three-dimensional data, described three-dimensional data comprises a data and line data.
Described two-dimentional line of electric force data comprise count certificate and line data.
Three-dimensional data for the power circuit loading under three-dimensional platform, restriction due to data layout, the three-dimensional data of power circuit need to be converted to the two-dimentional line of electric force data that can load under three-dimensional platform by data converter, then three-dimensional platform reads this two dimension line of electric force data by network mode, to realize the three-dimensional display of three-dimensional data.
The data layout of supposing to deposit in electric power data storehouse three-dimensional data is DWG form, and first data converter is converted to point-line-surface data by DWG data, and this transfer process can be by being used teigha control to realize.After point-line-surface DSR, being two-dimentional line of electric force data, how realizing on three-dimensional platform and representing, and corresponding dotted line content revealing is become to the form of three-dimensional power model, is the key that three-dimensional data represents.
The first determination module 403, for for every bit data, sets up three-dimensional line rod model at described some data place, and determines the elevation information between three-dimensional line rod model described in each.
While traversing some data from a data, at first data place, just set up three-dimensional line rod model, from second point data, start except setting up three-dimensional line rod model, also to determine the height with previous some data bus connection, until traverse last some data, the three-dimensional model of simple straight line pattern has just established.
The second determination module 404, be used for for the line data between every two described three-dimensional line rod models, determine two distances between described three-dimensional line rod model, and the difference in height information of two described three-dimensional line rod models, the number that calculates the straight line that forms curve corresponding to described line data according to described distance and described difference in height information, is connected to form curve corresponding to described line data by described number bar straight line.
Be understandable that, circle can be regarded a positive N limit row that is joined and formed by a lot of very short straight-line segment first places as, N is more than or equal to 1 positive integer, curve with radian also can be connected into by a plurality of straight lines, first to determine between two three-dimensional line rod models and will form this arc (number) with how many straight lines, and the falling head (maxdh) of straight line position when two three-dimensional line rod models are middle.
Can calculate two distances (distance) between three-dimensional line rod model by function, then calculate the length (segment=distance/number) of every section of straight line, the height (high=Math.Sin ((3.14159261/number*i)) * maxdh) that obtains the decline of every section of straight line by traversal subtracts the height acquisition z coordinate of decline again with original height.The coordinate figure of x, y, z that has so just obtained the end points of each straight line, is recorded in array, until traveled through number time, then the coordinate of the end points of these each straight lines is generated to line, be exactly curve.
Computing module 405, for for three-dimensional line rod model described in each, calculates the angle of laying of described three-dimensional line rod model.
Set up module 406, for corresponding curve and described each the three-dimensional line rod model of line data laid between angle, described every two described three-dimensional line rod models according to three-dimensional line rod model described in each, set up described power circuit.
The embodiment of the present invention provides a kind of power circuit apparatus for establishing, modular converter 402 is converted to two-dimentional line of electric force data by the three-dimensional data of power circuit, two dimension line of electric force data comprise count certificate and line data, for every bit data, the first determination module 403 is set up three-dimensional line rod model at described some data place, and determine the elevation information between three-dimensional line rod model described in each, for the line data between every two described three-dimensional line rod models, the second determination module 404 is determined two distances between described three-dimensional line rod model, and the difference in height information of two described three-dimensional line rod models, according to described distance and described difference in height information, calculate the number of the straight line that forms curve corresponding to described line data, described several straight lines are connected to form to curve corresponding to described line data, for three-dimensional line rod model described in each, computing module 405 calculates the angle of laying of described three-dimensional line rod model, with the described angle of laying, described three-dimensional line rod model is set, set up module 406 according to the angle of laying of three-dimensional line rod model described in each, corresponding curve and described each three-dimensional line rod model of line data between described every two described three-dimensional line rod models set up described power circuit.From having realized according to the method that is applied to three-dimensional data two-dimensional stage and creates three-dimensional power circuit.
Refer to Fig. 5, the structural representation of a kind of implementation of the first acquisition module in a kind of power circuit apparatus for establishing providing for the embodiment of the present invention, this device comprises: the first acquiring unit 501, second acquisition unit 502 and the 3rd acquiring unit 503, wherein:
The first acquiring unit 501, for the remote sensing image of described power circuit is preset to processing, obtains the first metadata, and described the first metadata comprises the two-dimensional coordinate of described power circuit.
Second acquisition unit 502, for the digital elevation model of described power circuit being carried out to described default processing, obtains the second metadata, and described the second metadata comprises the three-dimensional coordinate of described power circuit.
The metadata that forms three-dimensional data has two kinds, be by modern photography measuring technique, to realize a remote sensing image for the power circuit of the certain resolution generating, another kind is by the digital elevation model of the power circuit of surveying and mapping technology and geographic information system technology realization.These two kinds of metadata have included the data coverage that power circuit planning relates to, for existing these two kinds of metadata, by the Geographic Information System (GIS) software such as Arcgis, ER mapper and Erdas carry out image data registration, cut, the operation such as splicing and Data Format Transform.These two kinds of metadata, after above Geographic Information System (GIS) software is processed, formed the metadata that is WGS-84 projection, and coordinate are mated together.After the early-stage preparations of two kinds of metadata finish, by 3D processing software, these two kinds of metadata being carried out to data synthesizes, first be by two kinds of meta data match coordinate together, the data of remote sensing image and digital elevation model are mated on x, y coordinate position, stack.And 3-D effect is to be undertaken by the z value in the data of extraction digital elevation model.Formed the three-dimensional data with massif.Three-dimensional data is stored and manages in three-dimensional data base.The three-dimensional platform of monitoring center can be called and be obtained corresponding power circuit in three-dimensional data base and plan relevant three-dimensional data by local area network technology.
The 3rd acquiring unit 503, for obtaining the two-dimentional line of electric force data of described power circuit according to described the first metadata and described the second metadata.
A kind of power circuit apparatus for establishing that the embodiment of the present invention provides can also comprise: the second acquisition module, for obtaining the addressing data of described power circuit and the layout data of described power circuit; The first load-on module, for described addressing data and described layout data being loaded on to the database of described three-dimensional platform, so that the digital elevation model that obtains described power circuit according to the described addressing data in described three-dimensional platform and described layout data.
After three dimensional file corresponding to the relevant two-dimentional line of electric force data of certain power circuit planning generates, by local area network technology, from three-dimensional data base, be sent to the three-dimensional platform of two three-dimensional integratedization systems.So far completed the loading for three-dimensional data.
After the three-dimensional data of power circuit is added in two-dimensional stage, each functional module that two-dimensional stage is adopted can normally be used.
The functional module that two-dimensional stage provides can comprise: basic operation module, fundamental quantity are surveyed enquiry module, drafting module and programme contrast module.
Basic operation module provides under two-dimensional scene, and the correlation function of browsing data, comprising: convergent-divergent, translation, drag, full figure is checked etc.Take a certain region as example, and user can be realized for the amplification of the data of this region power circuit and be dwindled and check by scroll wheel.By long, by left mouse button, realize translation for browsing area, the operation such as drag.And be provided with full figure and check key, click electric power data full figure is shown.
Fundamental quantity is surveyed enquiry module.This module provides the fundamental quantity brake relevant to power circuit.User, by the mouse clicking operation in two-dimensional stage, does the measurements such as horizontal range, area between the data of the power circuit that realization loads in platform, and can, by the function under this module, realize the attribute query to the data object of power circuit.
Drafting module, this module provides a series of power circuit addressings and has planned relevant drafting function, and user, by the use of this function, can comprehensively complete for example modification of power circuit, the addressing of transformer station, the operations such as address change in two-dimensional stage.
Programme contrast module, this module provides the comparing function for power circuit programme, and user can be under the use of this functional module, and power circuit programme and original power programme that secondary is revised contrast.And the form by comparative information with list is presented under two-dimensional stage.
The first acquisition module in a kind of power circuit apparatus for establishing that the embodiment of the present invention provides is specially: described two-dimentional line of electric force data are loaded on to the database in three-dimensional platform.
Three-dimensional platform comprises: basic operation module, layer management module, geoanalysis module, Computer Aided Design module, tools menu module and demonstration functional module.
Basic operation module has comprised navigation mode module, browse operation module and three modules of navigation module.Navigation module realizes the finger north of three-dimensional scenic, around, zoom function, browse operation module can be carried out transformer station's roaming and full figure is browsed.Navigation mode module is used for controlling three-dimensional scenic browsing mode, as drags, slides, overturns.
Layer management module can comprise map elements module, present situation electrical network module, three modules of planning electrical network module.Map elements module is used for controlling the two-dimentional key element layer shown in three-dimensional scenic as border, small towns etc.Present situation electrical network module and planning electrical network module make respectively user control the electric network data type of adding by the selection of function key.
Geoanalysis module comprises measurement module and terrain analysis module.Measurement and analysis module offers the measuring function of user's level, space, vertical, area and angle.Terrain analysis module offers the functions such as user profile analysis, earth volume analysis, contour plots analysis, intervisibility analysis, slope map and the condition of a disaster analysis.
Computer Aided Design module for choosing user after corresponding design proposal, can be carried out electric power highway route design, station design, edition function in three-dimensional scenic.
Tools menu module offers custom power data sharing, data derive and demonstration module.User can be realized the data of existing line in current platform are derived by data sharing, also can derive the scheme of power circuit design simultaneously.Data derive, and can derive the large figure of cad data drawing and planning.Be convenient to use with the docking of two-dimentional system.Presentation tool can make user import and derive setting to the demonstrate script of three-dimensional scenic.
Demonstration functional module can be for adding the demonstration effects such as explanatory note, location point, operation.
A kind of power circuit apparatus for establishing that the embodiment of the present invention provides can also comprise the 3rd acquisition module, when receiving the indication that the first data of described three-dimensional data are modified, obtains new data corresponding to described the first data; Modified module, for according to described new data, modifies the data corresponding with described the first data in the described power circuit of setting up.
After three dimensional file corresponding to above-mentioned three-dimensional data generates, by local area network technology, from three-dimensional data base, be sent to the three-dimensional platform of two three-dimensional integratedization systems.So far complete the loading for three-dimensional data, realized representing of the 3-D effect on three-dimensional platform.
Between user side and two three-dimensional platforms, by local area network technology, interconnect.After the login account number and password of user side by input respective user authority, can directly enter two three-dimensional platforms, each function providing in platform is provided.
In sum: traditional power circuit planning system, adopted is two-dimensional design platform more, can not present preferably 3-D effect, because the planning of power circuit utilizes city planning to have certain relation with soil, so two-dimensional stage and three-dimensional platform are combined to application carrying out smoothly of auxiliary power layout of roads work better.Key point under two three-dimensional integratedization platforms is simultaneously under two-dimensional stage and three-dimensional platform, to check the three-dimensional data of power circuit, under three-dimensional platform for actual topography and geomorphology occupation of land situation etc., editor and revise power circuit layout data.Realize data simultaneously and pass back to server and two-dimensional stage, realize the renewal of data and share.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For device or system class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.