A kind of transmission line of electricity three-dimensional design method and system based on Google Earth
Technical field
The present invention relates to electric power project engineering field, especially a kind of transmission line of electricity three dimensional design side based on Google Earth
Method and system.
Background technology
Explanation of nouns:
Ruby language:A kind of object-oriented, injunctive, functional expression, dynamic general programming language, in 1990s
Mid-term is designed and developed by Japanese's Yukihiro Matsumoto.
Google SketchUp softwares:Google's sketch great master's software, is a free 3D designs that Google provides
Software.
Electric power route selection will consider nature, geographical conditions and economy, social factor, it is therefore desirable to the higher ground of actuality
Based on shape figure, acquisition cycle length, the cost of topographic map data are high.
When conventional transmission lines road is designed, designer needs to carry out addressing, route selection and project opinion on the basis of topographic map
Card.But influenceed by various factors, the Fundamental Geographic Information Data of some remote mountain areas updates slower, still continues to use seventy or eighty
The topographic map in age, the need for not caught up with economy and social development.In addition, the acquisition of data also needs to territory, planning etc.
The examination & approval of all departments, flow is cumbersome, and the cycle is long.
In order to solve the above problems, domestic and international associated companies devise power engineering Three-dimensional Design Software, are built using three-dimensional
Mould technology is simulated to circuit panorama, makes designer from the feasibility for macroscopically holding design, to design expropriation of land
Remove less, scissors crossing it is few, the scheme of reduced investment and short time limit.But, the program needs a large amount of acquisition costs high and obtains week
The dem data and DOM data supportings of phase length, data acquisition not enough facilitate, and speed is relatively slow and cost is higher.
Google Maps(Google map)And Google Earth(Google Earth)Free data are not only provided, and
Allow user to find point of interest wherein and make to mark, mark, other global users are shared with by internet, so that
Reach that the whole world of GIS information datas is shared.Google Earth possess in the satellite image of global range, big and medium-sized cities region also
There is the high-resolution image in continuous renewal.In rural areas, the resolution ratio of Google Earth images is about in 10~30m, energy
Reflect water system fully aware ofly and substantially tell village, particularly tell sheet of factory and exploitation with being apparent from
Area.And the high definition image resolution of big and medium-sized cities reaches 0.4m, the general graticule that can be seen that on highway, the atural object letter reflected
Breath compares 1:2000 topographic maps are apparent., more can be anti-than traditional topographic map and these satellite images are all to shoot recent years
Reflect region present situation.Current Google companies have been opened for carrying out Google map, the API of Google earth secondary development
Storehouse, on this basis, user can download the information such as google earth elevation and image, then by computer programming
Corresponding electronic topographic map is made by carrying out professional software, is prospective design service.
But, also there is not a kind of data acquisition easily and fast and lower-cost in the industry at present, based on the defeated of Google Earth
Electric line three-dimensional design method and system.
The content of the invention
In order to solve the above-mentioned technical problem, the purpose of the present invention is:There is provided a kind of data acquisition easily and fast and cost compared with
Low, the transmission line of electricity three-dimensional design method based on Google Earth.
It is another object of the present invention to:A kind of data acquisition is provided easily and fast and lower-cost, based on Google Earth
Transmission line of electricity three-dimensional design system.
The technical solution adopted for the present invention to solve the technical problems is:A kind of transmission line of electricity based on Google Earth is three-dimensional
Design method, including:
A, initialization is designed, so that it is determined that the parameter of transmission line of electricity to be designed;
B, the transmission line parameter to be designed according to default Method of Data Organization and determination, are selected on Google Earth
Line is designed, so as to obtain selected path profile and selected corner coordinate;
The selected corner coordinate of C, basis, carries out transmission line of electricity atural object vector quantization mark on Google Earth and section is counted
Handled according to acquisition, so as to obtain the panel data and section point data of plane cross section;
D, the panel data according to plane cross section and section point data, generate plane cross section;
E, according to the plane cross section of generation carry out shaft tower position walk-through;
F, using Ruby language application programming interface to google SketchUp softwares carry out secondary development, from
And generate the three-dimensional steel tower modeling module of parametrization;Then according to the result of shaft tower position walk-through, parametrization is loaded in Google Earth
Three-dimensional steel tower modeling module carries out three-dimensional range and design optimization, so as to obtain tower position outcome table;
G, the path profile of output generation, plane cross section and tower position outcome table.
Further, the step B, it includes:
B1, according to default Method of Data Organization, the transmission line of electricity data of collection are converted to and inputted after KML file data
Into Google Earth;
B2, the parameter with reference to Google Earth, Google Maps and transmission line of electricity to be designed carry out path and selected, so as to be selected
Fixed path profile and selected corner coordinate.
Further, the step C, it includes:
C1, on Google Earth to the atural object in the setpoint distance of transmission line of electricity both sides and transmission line of electricity across in area
Important atural object carries out vector quantization mark, so as to obtain the panel data of plane cross section;
The selected corner coordinate of C2, basis, carries out section point P on Google Earth(X, Y, Z)Three-dimensional abscissa and three
Tie up ordinate to calculate, the section point P(X, Y, Z)Three-dimensional abscissa P.X and three-dimensional vertical P.Y calculation formula of sitting be:
,
Wherein, J1 and J2 is two adjacent corners, and J1.X is corner J1 to section point P(X, Y, Z)Lateral separation,
J1.Y is corner J1 to section point P(X, Y, Z)Fore-and-aft distance, S be default section point sampling spacing,For corner J1
To corner J2 grid azimuth;
C3, section point P obtained using elevation interpolation method(X, Y, Z)Elevation, so as to obtain the section point P of plane cross section
(X, Y, Z)Three-dimensional Z coordinate P.Z.
Further, the step C3, it includes:
C31, the coordinate for obtaining adjacent two corner in selected path profile;
C32, according to default fixed range, interpolation goes out section point between adjacent two corner;
C33, the geodetic coordinates for obtaining interpolation section point, are then converted into screen by the geodetic coordinates of interpolation section point and sit
Mark;
C34, the screen coordinate according to interpolation section point, call elevation to obtain the elevation that function obtains interpolation section point, from
And obtain the section point P of plane cross section(X, Y, Z)Three-dimensional Z coordinate P.Z.
Further, the step F, it includes:
F1, using Ruby language application programming interface to google SketchUp softwares carry out secondary development, from
And generate the three-dimensional steel tower modeling module of parametrization;
F2, steel tower threedimensional model built using the three-dimensional steel tower modeling module of parametrization;
F3, the data that the steel tower three-dimensional modeling data of structure is converted into dae forms;
F4, with reference to structure steel tower threedimensional model and shaft tower position walk-through result, generate for three dimensional navigation KML text
Part;
F5, in the KML file of generation the path of transmission line of electricity is optimized, so as to obtain tower position outcome table.
Further, the parameter of the transmission line of electricity to be designed includes line voltage distribution grade, sideline distance and elevation point sampling
Spacing.
Further, the default Method of Data Organization include point-like Method of Data Organization, wire Method of Data Organization and
Planar Method of Data Organization.
The present invention solves another technical scheme for being used of its technical problem:A kind of transmission line of electricity based on Google Earth
Three-dimensional design system, including:
Initialization module, for being designed initialization, so that it is determined that the parameter of transmission line of electricity to be designed;
Location and design module, for according to default Method of Data Organization and determine transmission line parameter to be designed,
Location and design is carried out on Google Earth, so as to obtain selected path profile and selected corner coordinate;
Vector quantization is marked with section point data acquisition module, and the corner coordinate selected for basis is enterprising in Google Earth
Row transmission line of electricity atural object vector quantization is marked and section point data acquisition processing, so as to obtain the panel data and section of plane cross section
Point data;
Plane cross section generation module, for the panel data according to plane cross section and section point data, generates plane cross section;
Shaft tower position walk-through module, for carrying out shaft tower position walk-through according to the plane cross section of generation;
Three-dimensional range and design optimization module, for the application programming interface using Ruby language to google
SketchUp softwares carry out secondary development, so as to generate the three-dimensional steel tower modeling module of parametrization;Then according to shaft tower position walk-through
As a result, the three-dimensional steel tower modeling module of loading parametrization carries out three-dimensional range and design optimization in Google Earth, so as to obtain tower
Position outcome table;;
Output module, path profile, plane cross section and tower the position outcome table for exporting generation;
The output end of the initialization module passes sequentially through location and design module, vector quantization mark and obtained with section point data
Module, plane cross section generation module, shaft tower position walk-through module, three-dimensional range and design optimization module and then defeated with output module
Enter end connection.
Further, the location and design module, it includes:
Date Conversion Unit, for according to default Method of Data Organization, the transmission line of electricity data of collection to be converted into KML
It is input to after file data in Google Earth;
Unit is selected in path, and the parameter for combining Google Earth, Google Maps and transmission line of electricity to be designed carries out path
It is selected, so as to obtain selected path profile and selected corner coordinate;
The output end of the input of the Date Conversion Unit and initialization module is connected, the Date Conversion Unit it is defeated
Go out to hold passage path to select unit and then be connected with vector quantization mark with the input of section point data acquisition module.
Further, the vector quantization mark and section point data acquisition module, it includes:
Vector quantization indexing unit, on Google Maps to the atural object in the setpoint distance of transmission line of electricity both sides and transmission of electricity
Important atural object in line crossing area carries out vector quantization mark, so as to obtain the panel data of plane cross section;
Coordinate calculating unit, the corner coordinate selected for basis, carry out section point P on Google Earth in length and breadth(X, Y,
Z)Three-dimensional abscissa and three-dimensional ordinate calculate, the section point P(X, Y, Z)Three-dimensional abscissa P.X and three-dimensional vertical sit P.Y
Calculation formula is:
,
Wherein, J1 and J2 is two adjacent corners, and J1.X is corner J1 to section point P(X, Y, Z)Lateral separation,
J1.Y is corner J1 to section point P(X, Y, Z)Fore-and-aft distance, S be default section point sampling spacing,For corner J1
To corner J2 grid azimuth;
Section point height acquiring unit, for obtaining section point P using elevation interpolation method(X, Y, Z)Elevation so that
To the section point P of plane cross section(X, Y, Z)Three-dimensional Z coordinate P.Z;
The output end that the input of the vector quantization indexing unit selectes unit with path is connected, the quantization indexing unit
Output end pass sequentially through coordinate calculating unit in length and breadth and section point height acquiring unit so that with plane cross section generation module
Input is connected.
The beneficial effects of the method for the present invention is:Transmission line of electricity three dimensional design is carried out based on Google Earth, taken full advantage of
The geography information such as detailed topographical map, aviation image figure that Google Earth and Google Maps are provided free and social and economic information are to set
Meter service, realizes transmission line of electricity route selection, major surface features vector quantization, the drawing of flat section, shaft tower Parametric three-dimensional modeling, design effect
The Transmission Line Design overall processes such as fruit three-dimensional range, three-dimensional artificial, path optimization's design and result of design output, are reduced to passing
Unite topographic map data dependence, have the advantages that data acquisition easily and fast with it is cheap.
The beneficial effect of system of the present invention is:Transmission line of electricity three dimensional design is carried out based on Google Earth, taken full advantage of
The geography information such as detailed topographical map, aviation image figure that Google Earth and Google Maps are provided free and social and economic information are to set
Meter service, realizes transmission line of electricity route selection, major surface features vector quantization, the drawing of flat section, shaft tower Parametric three-dimensional modeling, design effect
The Transmission Line Design overall processes such as fruit three-dimensional range, path optimization's design and result of design output, reduce to dem data and
The dependence of DOM data, have the advantages that data acquisition easily and fast with it is cheap.
Brief description of the drawings
The invention will be further described with reference to the accompanying drawings and examples.
Fig. 1 is a kind of step flow chart of the transmission line of electricity three-dimensional design method based on Google Earth of the present invention;
Fig. 2 is step B of the present invention flow chart;
Fig. 3 is step C of the present invention flow chart;
Fig. 4 is step C3 of the present invention flow chart;
Fig. 5 is step F of the present invention flow chart;
Fig. 6 is a kind of functional block diagram of the transmission line of electricity three-dimensional design system based on Google Earth of the present invention;
Fig. 7 is the structured flowchart of location and design module of the present invention;
Fig. 8 is the structured flowchart of vector quantization of the present invention mark and section point data acquisition module;
Fig. 9 is the specific mistake that the embodiment of the present invention one carries out transmission line of electricity three dimensional design using Google Earth and Google Maps
Journey schematic diagram;
Figure 10 is that the section point coordinates of the embodiment of the present invention one obtains schematic diagram
Figure 11 is the implementation process schematic diagram that the embodiment of the present invention two obtains elevation.
Embodiment
Reference picture 1, a kind of transmission line of electricity three-dimensional design method based on Google Earth, including:
A, initialization is designed, so that it is determined that the parameter of transmission line of electricity to be designed;
B, the transmission line parameter to be designed according to default Method of Data Organization and determination, are selected on Google Earth
Line is designed, so as to obtain selected path profile and selected corner coordinate;
The selected corner coordinate of C, basis, carries out transmission line of electricity atural object vector quantization mark on Google Earth and section is counted
Handled according to acquisition, so as to obtain the panel data and section point data of plane cross section;
D, the panel data according to plane cross section and section point data, generate plane cross section;
E, according to the plane cross section of generation carry out shaft tower position walk-through;
F, using Ruby language application programming interface to google SketchUp softwares carry out secondary development, from
And generate the three-dimensional steel tower modeling module of parametrization;Then according to the result of shaft tower position walk-through, parametrization is loaded in Google Earth
Three-dimensional steel tower modeling module carries out three-dimensional range and design optimization, so as to obtain tower position outcome table;
G, the path profile of output generation, plane cross section and tower position outcome table.
Wherein, corner coordinate, for representing the position that transmission line of electricity trend changes.
The three-dimensional steel tower modeling module of parametrization, for automatically generating required three-dimensional iron according to the circuit design parameter of input
Tower model.
Reference picture 2, is further used as preferred embodiment, the step B, and it includes:
B1, according to default Method of Data Organization, the transmission line of electricity data of collection are converted to and inputted after KML file data
Into Google Earth;
B2, the parameter with reference to Google Earth, Google Maps and transmission line of electricity to be designed carry out path and selected, so as to be selected
Fixed path profile and selected corner coordinate.
Wherein, KML is Keyhole markup languages(Keyhole Markup Language)Abbreviation, initially by
The exploitation of Keyhole companies is a kind of based on XML grammers and form, for describing and preserving geography information(Such as point, line, figure
Picture, polygon and model etc.)Coding criterion, can be recognized and be shown by Google Maps and Google Earth.
Reference picture 3, is further used as preferred embodiment, the step C, and it includes:
C1, on Google Maps to the atural object in the setpoint distance of transmission line of electricity both sides and transmission line of electricity across in area
Important atural object carries out vector quantization mark, so as to obtain the panel data of plane cross section;
The selected corner coordinate of C2, basis, carries out section point P on Google Earth(X, Y, Z)Three-dimensional abscissa and three
Tie up ordinate to calculate, the section point P(X, Y, Z)Three-dimensional abscissa P.X and three-dimensional vertical P.Y calculation formula of sitting be:
,
Wherein, J1 and J2 is two adjacent corners, and J1.X is corner J1 to section point P(X, Y, Z)Lateral separation,
J1.Y is corner J1 to section point P(X, Y, Z)Fore-and-aft distance, S be default section point sampling spacing,For corner J1
To corner J2 grid azimuth;
C3, section point P obtained using elevation interpolation method(X, Y, Z)Elevation, so as to obtain the section point P of plane cross section
(X, Y, Z)Three-dimensional Z coordinate P.Z.
Wherein, transmission line of electricity includes highway, railway, water system, park, settlement place, industry across the important atural object in area
Area, mining area etc..
Reference picture 4, is further used as preferred embodiment, the step C3, and it includes:
C31, the coordinate for obtaining adjacent two corner in selected path profile;
C32, according to default fixed range, interpolation goes out section point between adjacent two corner;
C33, obtain interpolation section point geodetic coordinates, then the geodetic coordinates of interpolation section point be converted into screen coordinate;
C34, the screen coordinate according to interpolation section point, call elevation to obtain the elevation that function obtains interpolation section point, from
And obtain the section point P of plane cross section(X, Y, Z)Three-dimensional Z coordinate P.Z.
Reference picture 5, is further used as preferred embodiment, the step F, and it includes:
F1, using Ruby language application programming interface to google SketchUp softwares carry out secondary development, from
And generate the three-dimensional steel tower modeling module of parametrization;
F2, steel tower threedimensional model built using the three-dimensional steel tower modeling module of parametrization;
F3, the data that the steel tower three-dimensional modeling data of structure is converted into dae forms;
F4, with reference to structure steel tower threedimensional model and shaft tower position walk-through result, generate for three dimensional navigation KML text
Part;
F5, in the KML file of generation the path of transmission line of electricity is optimized, so as to obtain tower position outcome table.
It is further used as preferred embodiment, the parameter of the transmission line of electricity to be designed includes line voltage distribution grade, side
Linear distance and elevational point sampling interval.
Be further used as preferred embodiment, the default Method of Data Organization include point-like Method of Data Organization,
Wire Method of Data Organization and planar Method of Data Organization.
Reference picture 6, a kind of transmission line of electricity three-dimensional design system based on Google Earth, including:
Initialization module, for being designed initialization, so that it is determined that the parameter of transmission line of electricity to be designed;
Location and design module, for according to default Method of Data Organization and determine transmission line parameter to be designed,
Location and design is carried out on Google Earth, so as to obtain selected path profile and selected corner coordinate;
Vector quantization is marked with section point data acquisition module, and the corner coordinate selected for basis is enterprising in Google Earth
Row transmission line of electricity atural object vector quantization is marked and section point data acquisition processing, so as to obtain the panel data and section of plane cross section
Point data;
Plane cross section generation module, for the panel data according to plane cross section and section point data, generates plane cross section;
Shaft tower position walk-through module, for carrying out shaft tower position walk-through according to the plane cross section of generation;
Three-dimensional range and design optimization module, for the application programming interface using Ruby language to google
SketchUp softwares carry out secondary development, so as to generate the three-dimensional steel tower modeling module of parametrization;Then according to shaft tower position walk-through
As a result, the three-dimensional steel tower modeling module of loading parametrization carries out three-dimensional range and design optimization in Google Earth, so as to obtain tower
Position outcome table;
Output module, path profile, plane cross section and tower the position outcome table for exporting generation;
The output end of the initialization module passes sequentially through location and design module, vector quantization mark and obtained with section point data
Module, plane cross section generation module, shaft tower position walk-through module, three-dimensional range and design optimization module and then defeated with output module
Enter end connection.
Reference picture 7, is further used as preferred embodiment, the location and design module, and it includes:
Date Conversion Unit, for according to default Method of Data Organization, the transmission line of electricity data of collection to be converted into KML
It is input to after file data in Google Earth;
Unit is selected in path, and the parameter for combining Google Earth, Google Maps and transmission line of electricity to be designed carries out path
It is selected, so as to obtain selected path profile and selected corner coordinate;
The output end of the input of the Date Conversion Unit and initialization module is connected, the Date Conversion Unit it is defeated
Go out to hold passage path to select unit and then be connected with vector quantization mark with the input of section point data acquisition module.
Reference picture 8, is further used as preferred embodiment, the vector quantization mark and section point data acquisition module,
It includes:
Vector quantization indexing unit, on Google Maps to the atural object in the setpoint distance of transmission line of electricity both sides and transmission of electricity
Important atural object in line crossing area carries out vector quantization mark, so as to obtain the panel data of plane cross section;
Coordinate calculating unit, the corner coordinate selected for basis, carry out section point P on Google Earth in length and breadth(X, Y,
Z)Three-dimensional abscissa and three-dimensional ordinate calculate, the section point P(X, Y, Z)Three-dimensional abscissa P.X and three-dimensional vertical sit P.Y
Calculation formula is:
,
Wherein, J1 and J2 is two adjacent corners, and J1.X is corner J1 to section point P(X, Y, Z)Lateral separation,
J1.Y is corner J1 to section point P(X, Y, Z)Fore-and-aft distance, S be default section point sampling spacing,For corner J1
To corner J2 grid azimuth;
Section point height acquiring unit, for obtaining section point P using elevation interpolation method(X, Y, Z)Elevation so that
To the section point P of plane cross section(X, Y, Z)Three-dimensional Z coordinate P.Z;
The output end that the input of the vector quantization indexing unit selectes unit with path is connected, the quantization indexing unit
Output end pass sequentially through coordinate calculating unit in length and breadth and section point height acquiring unit so that with plane cross section generation module
Input is connected.
The present invention is described in further detail with reference to specific embodiment.
Embodiment one
Reference picture 9, the present invention carries out the detailed process bag of transmission line of electricity three dimensional design using Google Earth and Google Maps
Include:
(1)Initialization:New construction, custom design criteria;
New construction project, determines the power transmission lines to be designed such as line voltage distribution grade, sideline distance, elevational point sampling interval
Road parameter.
(2)Location and design is carried out on Google Earth, so that output corner coordinate;
Open software Google Earth software, by the planning high pressure corridor collected from departments such as territory, planning, communications,
Existing transmission line of electricity trend, gas pipeline, oil pipeline, radio guard, Microwave emission platform, main industrial and mining area
Planning and present situation data input Deng influence Path selection is into Google Earth.
Google Earth data interchange format is mainly KML file, and the present invention is for the ease of with Google Earth progress data friendship
Change, develop the KML data-interface softwares with Google Earth, data is carried out tissue in the way of point, line, surface, so that will be from
It is KML file that unified arrange of the data come is collected by the departments such as government territory, planning, water utilities, communication, is then input to Google Earth
In.
Then, with reference to Google Maps and Google Earth, Path selection is carried out.Path selection avoids reservoir, ore deposit as far as possible at once
Area, park, the facility of residential block, and selected distance is short, intersection is used as preferred plan across scheme few with environmental disruption less.
After path is selected, selected corner coordinate is output to KML file.
(3)Importantly thing is marked on Google Earth, and carries out vector quantization output;
Due to numerous aspects such as Transmission Line Design work nature, geography, soil, economy, humanity, society, safety, technologies
The influence of factor, therefore route selection work can not possibly accomplish perfection.In many cases, line alignment is had to across existing
The atural objects such as highway, railway, river, reservoir, building.Accordingly, it would be desirable to carry out vector quantization to the above-mentioned atural object in line crossing area
Mark, it is also desirable to circuit the right and left setpoint distance(Voltage class is different, required distance is different)Interior various buildings, structure
Build the information such as thing and carry out vector quantization annotation.
After vector quantization, KML file is formed, the planar section of generation plane cross section is used as.
(4)Section point data is obtained from Google Earth;
After corner coordinate is determined, you can carry out the acquisition of section point data, section point data is the three-dimensional seat of section point
Mark, as shown in Figure 10.It is that can obtain section by the three-dimensional abscissa of the section point of the present invention and three-dimensional ordinate calculation formula
Point P1(X, Y, Z)Three-dimensional abscissa P1.X and three-dimensional ordinate P1.Y.And section point P1(X, Y, Z)Three-dimensional Z coordinate P1.Y
That is the elevation of P1 points, then need to obtain by the elevation interpolation method of the present invention.
(5)With reference to panel data and profile data, plane cross section is generated;
Profile data in plane cross section of the present invention uses the org forms of Transmission Line Design industry universal.
(6)Shaft tower position walk-through is carried out according to plane cross section;
(7)Shaft tower Parametric three-dimensional modeling is carried out according to first ranking results;
(8)Carry out three-dimensional range and optimization design.
The present invention uses RubyAPI language secondary development google SketchUp, forms Parametric three-dimensional modeling module,
Steel tower threedimensional model is set up, and changes into dae forms, these threedimensional models thus can be directly called in GE.Model is set up
Afterwards, according to(6)The ranking results of step, can generate the KML file for three dimensional navigation.
Generate after the KML file for three dimensional navigation, can in a computer display field true to nature landform, landforms and its
Its social and economic information, and the three-dimensional inquiry, amount in conjunction with design software are calculated, analytic function, it is possible to carrying out indoor tune paints,
The optimization to engineered paths scheme can be realized on virtual three-dimensional visualization platform, section, optimization shaft tower rule are automatically extracted
Draw, utilize shaft tower ranking achievement estimation body quantity, statistics housing demolition amount, forest zone area, scissors crossing quantity etc.
Work, makes path move towards more reasonable, cost of investment is more economical.
Embodiment two
The default three kinds of Method of Data Organization of the present invention are introduced the present embodiment.The default three kinds of data groups of the present invention
The mode of knitting includes:
A. punctual geo-objects such as Microwave emission platform, its Method of Data Organization is:
<Placemark>
<name>Call the roll</name>
<visibility>0</visibility>
<LookAt>
<longitude>Longitude</longitude>
<latitude>Latitude</latitude>
<altitude>Elevation</altitude>
<tilt>0</tilt>
<range>Angular field of view</range>
<gx:altitudeMode>relativeToSeaFloor</gx:altitudeMode>
</LookAt>
<styleUrl>The label symbol of # points</styleUrl>
<Point>
<coordinates>Longitude, latitude, elevation</coordinates>
</Point>
</Placemark>
<Placemark>
B. the linear ground object such as power circuit, pipeline, its data are organized as:
<Placemark>
<name>Line title</name>
<description>0</description>
<styleUrl># line patterns</styleUrl>
<LineString>
<coordinates>
Longitude, latitude, elevation, longitude, latitude, elevation ...(The node coordinate string of line)</coordinates>
</LineString>
</Placemark>
C. the area features such as high pressure corridor, Planning and Development area are planned, its Method of Data Organization is:
<Placemark>
<name>Unnamed polygon</name>
<styleUrl>#msn_ylw-pushpin</styleUrl>
<Polygon>
<tessellate>1</tessellate>
<outerBoundaryIs>
<LinearRing>
<coordinates>
Longitude, latitude, elevation, longitude, latitude, elevation ...(Polygon vertex coordinate string)
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>。
Embodiment three
The elevation elevation that section point is obtained by elevation interpolation method is introduced the present embodiment.
The elevation of section point needs the DEM provided by Google Earth to obtain, and based on the GE DEM for being extracting tool.
The elevation acquisition process mainly use IApplicationGE, ICameraInfoGE, IPointOnTerraGE,
This four class libraries of IVewExtentsGE.
And IApplicationGE GetPointOnTerrainFromScreenCoords functions can then realize elevation
Direct acquisition.Its grammer is:IPointOnTerrainGE GetPointOnTerrainFromScreenCoords
(double screen_x,double screen_y), the input parameter screen_x and screen_y of the function are
Double types, and the two parameter values are between -1 and 1, represent coordinate value of the view central point in screen coordinate system.
And known variables during present invention progress elevation interpolation are the geodetic coordinates of section point, it is therefore desirable to first sit the earth
Mark, which is mapped to screen coordinate, could obtain the elevation of the point.Its basic ideas is:The adjacent two corners coordinate of acquisition approach, is then pressed
Fixed range intercepts interpolated point, and obtains the geodetic coordinates of interpolated point, and interpolated point geodetic coordinates then is converted into screen coordinate
System, the height value of the point is obtained finally according to screen coordinate.
The basic procedure that whole section point coordinates of the invention is obtained is as shown in figure 11.
Compared with prior art, the present invention carries out transmission line of electricity three dimensional design based on Google Earth, takes full advantage of Google
The geography information such as detailed topographical map, aviation image figure that the earth and Google Maps are provided free and social and economic information take for design
Business, realizes transmission line of electricity route selection, major surface features vector quantization, the drawing of flat section, design effect three-dimensional range, path optimization's design
With result of design output etc. Transmission Line Design overall process, reduce the dependence to dem data and DOM data, obtained with data
Take easily and fast with cheap advantage.
Above is the preferable implementation to the present invention is illustrated, but the invention is not limited to the implementation
Example, those skilled in the art can also make a variety of equivalent variations or replace on the premise of without prejudice to spirit of the invention
Change, these equivalent deformations or replacement are all contained in the application claim limited range.