CN102750715B - Method and system for drawing marine meteorological chart - Google Patents
Method and system for drawing marine meteorological chart Download PDFInfo
- Publication number
- CN102750715B CN102750715B CN201110247502.0A CN201110247502A CN102750715B CN 102750715 B CN102750715 B CN 102750715B CN 201110247502 A CN201110247502 A CN 201110247502A CN 102750715 B CN102750715 B CN 102750715B
- Authority
- CN
- China
- Prior art keywords
- sea level
- flat board
- chart
- digital elevation
- elevation model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a method and a system for drawing a marine meteorological chart. The method includes guiding in a digital elevation model by building a flat map with refined mesh density and especially includes: pulling the sea level lower according to data of the digital elevation model and building a drawing layer between the ground surface and the sea level to draw the meteorological chart, or setting all pixel points of the sea level to be completely transparent according to data of the digital elevation model and building a drawing layer below the sea level to draw the meteorological chart. Programming staff can draw the chart on the drawing layer and achieves the effect of only drawing the chart at sea by directly using the chart, and the chart can also be used when a background land layer and a sea layer move. Therefore, the method and the system improve programming efficiency, save programming time, can generate a new meteorological chart by adjusting the position of the drawing layer, and improve reusing rate of the meteorological chart.
Description
Technical field
The present invention relates to area map field of drawing, more particularly, to a kind of method for drafting of marine meteorological chart and system.
Background technology
Meteorological chart is the general designation for analyzing atmospheric physicses situation and chart attirbutes.Meteorological chart is also weather map.According to not
There is plurality of classes with requirement and purpose.Generally refer exclusively to the various places weather information recording according to synchronization, with numerical value or symbol
Fill out on blank map by certain format, the figure of reflection wide geographic area weather information and situation.Marine meteorological chart is for analyzing
The powerless situation of marine atmosphere and the figure of chart attirbutes, refer exclusively to the weather information recording according to synchronization, are pressed with numerical value or symbol
Fill out on blank ocean map according to certain format.In the program making of weather forecast, wave forecast, wave early warning, typhoon
The forecast of all kinds of marine climate such as early warning, is required on ocean drawing rain belt, Lang Qu, typhoon zone etc..Because being marine forecasting, institute
To require only to draw on ocean, and land then occurs without any meteorological chart.
In order to reach the purpose that meteorological chart is only occurred on ocean, general next using the method scratching figure manually in prior art
Realize, that is, first in the drawn rain belt in map overhead, Lang Qu, typhoon zone etc., then will cover the pixel of land part
It is set to fully transparent, thus can reach the effect that meteorological chart is only occurred on ocean.
Scratch originally one very loaded down with trivial details process of figure manually, and it is necessary to again scratch figure after background map moves.
Such as, rain belt and unrestrained area's movement in time, and the login process of typhoon, all need to be moved background map relative to meteorological chart
Dynamic, thus have the region again covering land, need again to scratch figure.
Thus it is clear that prior art there is problems in that
(1) scratch figure process manually very loaded down with trivial details;
(2) need again to scratch figure after background map is mobile.
Content of the invention
The embodiment of the present invention provides a kind of method for drafting of marine meteorological chart and system, by drawing layer is put into land layer
Realize the covering to drawing layer below, reach the effect that meteorological chart is only drawn on ocean, eliminate and scratch figure manually, and work as background
It is not necessary to repaint when map changes.
In order to achieve the above object, embodiment of the present invention one side provides a kind of method for drafting of marine meteorological chart, bag
Include, the fine flat board map of mesh-density is set up by Geographical projections mode and introduces digital elevation model it is characterised in that wrapping
Include following steps:
According to the data of described digital elevation model, the sea level in described flat board map is dragged down, generate new flat board ground
Figure and new sea level;
Between the land place plane of described new sea level place plane and described new flat board map, set up drawing layer;
Meteorological chart is drawn on described drawing layer.
Embodiment of the present invention another aspect provides the method for drafting of another kind of marine meteorological chart, including being thrown by geography
Shadow mode is set up the fine flat board map of mesh-density and is introduced digital elevation model it is characterised in that comprising the following steps:
According to the data of described digital elevation model, the sea level in described flat board map is set to fully transparent;
Set up drawing layer below the sea level in described flat board map;
Meteorological chart is drawn on described drawing layer.
Embodiment of the present invention another aspect provides a kind of drawing system of marine meteorological chart it is characterised in that including:
Sea level drags down unit, for the data according to described digital elevation model, by the Hai Ping in described flat board map
Face drags down, and generates new flat board map and new sea level;
Drawing layer signal generating unit, is located for the land in described new sea level place plane and described new flat board map flat
Between face, set up drawing layer;
Meteorological chart drawing unit, for drawing meteorological chart on described drawing layer.
Embodiment of the present invention another aspect provides the drawing system of another kind of marine meteorological chart it is characterised in that including:
Sea level is scratched as unit, for the data according to described numeral high-level model, by the Hai Ping in described flat board map
Face is set to fully transparent;
Drawing layer signal generating unit, for setting up drawing layer below the sea level in described flat board map;
Meteorological chart drawing unit, for drawing meteorological chart on described drawing layer.
The embodiment of the present invention by set up the fine flat board map of mesh-density and introduce digital elevation model, by sea level
Drag down, between sea level and two, land face figure layer, set up drawing layer, or picture is scratched on sea level, set up in b.s.l.
Drawing layer, draws meteorological chart on drawing layer, makes program making person without being scratched figure manually to meteorological chart again, and background ground
Meteorological chart can be continuing with after figure motion, improve program production efficiency, improve the durability of meteorological chart.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, also may be used
So that other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the method for drafting of one of the embodiment of the present invention one marine meteorological chart;
Fig. 2 is the flow chart of the method for drafting of one of the embodiment of the present invention two marine meteorological chart;
Fig. 3 is the structure chart of the drawing system of one of the embodiment of the present invention three marine meteorological chart;
Fig. 4 is the structure chart of the drawing system of one of the embodiment of the present invention four marine meteorological chart.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme of the embodiment of the present invention is carried out clear, complete
Description it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiment.Based on this
Embodiment in invention, it is every other that those of ordinary skill in the art are obtained on the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme of the embodiment of the present invention is carried out clear, complete
Description it is clear that described embodiment is a part of embodiment of the present invention, rather than whole embodiment.Based on this
Embodiment in invention, it is every other that those of ordinary skill in the art are obtained on the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
The embodiment of the present invention one provides a kind of method for drafting of marine meteorological chart, such as Fig. 1, comprises the following steps:
Step 101, according to the data of digital elevation model, the sea level in flat board map is dragged down, and generates new flat board ground
Figure and new sea level;
The identification minus pixel of height above sea level angle value, in digital elevation model (dem) data being introduced into, the portion of ocean
Height above sea level angle value is divided to be both less than zero, currently preferred, judgement, height above sea level angle value is less than in vertex shader (shader)
The height above sea level angle value on zero summit drags down it is preferred that the height on sea level is dragged down ten thousand metres, generates new flat board map with newly
Sea level.
Step 102, between the land place plane of new sea level place plane and new flat board map, sets up drawing layer;
Currently preferred, set up drawing layer in the position that height above sea level is -5000.
Step 103, draws meteorological chart on described drawing layer.
What the technical scheme of the embodiment of the present invention one was brought has the beneficial effect that:
The embodiment of the present invention one flat board map fine by setting up mesh-density, introduces dem data, according to dem data
The sea level that height above sea level is less than 0 is pulled down to ten thousand metres, and betwixt height above sea level is that drawing layer is set up in -5000 position, makes program system
Make personnel can after drawing layer is drawn directly application just can reach an effect for only mapping on ocean, and when background land layer and
Ocean layer still can use when changing, and improves make efficiency, saves the program making time, and by adjusting the position of drawing layer
New meteorological chart can be generated, improve the reusability of meteorological chart.
The embodiment of the present invention two provides a kind of method for drafting of marine meteorological chart, comprises the following steps:
Step 201, according to the data of digital elevation model, the sea level in flat board map is set to fully transparent;
Identify the minus pixel of corresponding digital elevation model intermediate altitude height value in described flat board map, preferably
, in pixel shader, judge the corresponding height above sea level of pixel, by the transparency of minus for height above sea level angle value pixel
It is set to fully transparent.
Step 202, sets up drawing layer below the sea level in flat board map;
Choose the position that height above sea level is less than minimum sea level, build drawing layer.
Step 203, draws meteorological chart on drawing layer.
What the technical scheme of the embodiment of the present invention two was brought has the beneficial effect that:
The embodiment of the present invention two flat board map fine by setting up mesh-density, introduces dem data, according to dem data
The sea level less than 0 for the height above sea level is set to fully transparent, and sets up drawing layer in its minimum height above sea level position below, make program system
Make personnel can after drawing layer is drawn directly application just can reach an effect for only mapping on ocean, and when background land layer and
Ocean layer still can use when changing, and improves make efficiency, saves the program making time, and by adjusting the position of drawing layer
New meteorological chart can be generated, improve the reusability of meteorological chart.
The embodiment of the present invention three provides a kind of drawing system of marine meteorological chart, including with lower unit:
Unit 301, sea level drags down unit, for the data according to described digital elevation model, by described flat board map
In sea level drag down, generate new flat board map and new sea level, specifically include following subelement:
Height above sea level angle value identifies subelement, for identifying the minus pixel of height above sea level angle value, high in the numeral introducing
In journey model (dem) data, the part height above sea level angle value of ocean is both less than zero, currently preferred, in vertex shader
(shader) judge in;
Drag down subelement, for dragging down the height above sea level angle value on minus for height above sea level angle value summit it is preferred that by Hai Ping
The height in face drags down ten thousand metres, generates new flat board map and new sea level.
Unit 302, drawing layer signal generating unit, for the land institute in new sea level place plane and described new flat board map
Between plane, set up drawing layer;
Currently preferred, set up drawing layer in the position that height above sea level is -5000.
Unit 303, meteorological chart drawing unit, for drawing meteorological chart on drawing layer.
What the technical scheme of the embodiment of the present invention three was brought has the beneficial effect that:
The height above sea level angle value that the embodiment of the present invention three is dragged down by sea level in unit identifies that subelement identifies in dem data
Height above sea level is less than 0 pixel, and the sea level that height above sea level angle value is less than 0 is drawn by the subelement that drags down being dragged down by sea level in unit
Low to ten thousand metres, and by drawing layer signal generating unit, betwixt height above sea level is that drawing layer is set up in -5000 position, makes program making
Personnel direct application can just can reach the effect only mapped on ocean after drawing by meteorological chart drawing unit, and when the back of the body
Scape land layer and ocean layer still can use when changing, and improve make efficiency, save the program making time, and painted by adjustment
The position of figure layer can generate new meteorological chart, improves the reusability of meteorological chart.
The embodiment of the present invention four provides a kind of drawing system of marine meteorological chart, including with lower unit:
Unit 401, sea level is scratched as unit, for the data according to digital high-level model, by the Hai Ping in flat board map
Face is set to fully transparent, specifically includes:
Height above sea level angle value identifies subelement, for identifying that in described flat board map, corresponding digital elevation model intermediate altitude is high
The minus pixel of angle value is it is preferred that judge the corresponding height above sea level of pixel in pixel shader;
Scratch as subelement, fully transparent for being set to the transparency of minus for height above sea level angle value pixel.
Unit 402, drawing layer signal generating unit, for setting up drawing layer below the sea level in flat board map;
Wherein, choose the position that height above sea level is less than minimum sea level, build drawing layer.
Unit 403, meteorological chart drawing unit, for drawing meteorological chart on drawing layer.
The embodiment of the present invention four is passed through sea level and is scratched as in the height above sea level angle value identification subelement identification dem data in unit
Height above sea level is less than 0 pixel, is scratched by sea level and sets, as subelement, the sea level that height above sea level angle value is less than 0 as scratching in unit
It is set to all transparent, and drawing layer is set up in its minimum height above sea level position below by drawing layer signal generating unit, make program making
Personnel direct application can just can reach the effect only mapped on ocean after drawing by meteorological chart drawing unit, and when the back of the body
Scape land layer and ocean layer still can use when changing, and improve make efficiency, save the program making time, and painted by adjustment
The position of figure layer can generate new meteorological chart, improves the reusability of meteorological chart.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be led to
Cross hardware to realize it is also possible to can realize by the mode of software plus necessary general hardware platform, based on such understanding, this
The technical scheme of invention can be embodied in the form of software product, and this software product can be stored in one and non-volatile deposit
Storage media (can be cd-rom, u disk, portable hard drive etc.) in, including some instructions with so that a computer equipment is (permissible
Be personal computer, server, or the network equipment etc.) method described in execution each embodiment of the present invention.
In a word, the foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.
All any modification, equivalent substitution and improvement within the spirit and principles in the present invention, made etc., should be included in the present invention's
Within protection domain.
Claims (8)
1. a kind of method for drafting of marine meteorological chart, including after Geographical projections mode sets up mesh-density process of refinement
Flat board map and introduce digital elevation model it is characterised in that comprising the following steps:
According to the data of described digital elevation model, the sea level in described flat board map is dragged down, generate new flat board map and
New sea level;
Between the land place plane of described new sea level place plane and described new flat board map, set up drawing layer;
Meteorological chart is drawn on described drawing layer.
2. marine meteorological chart as claimed in claim 1 method for drafting it is characterised in that described according to described digital elevation model
Data, the sea level in described flat board map is dragged down, generates new flat board map and new sea level, specifically include:
Identify the minus pixel of corresponding digital elevation model intermediate altitude height value in described flat board map;
The height above sea level angle value of minus for described height above sea level angle value pixel is dragged down, generates new flat board map and new sea level.
3. a kind of method for drafting of marine meteorological chart, including after Geographical projections mode sets up mesh-density process of refinement
Flat board map and introduce digital elevation model it is characterised in that comprising the following steps:
According to the data of described digital elevation model, the sea level in described flat board map is set to fully transparent;
Set up drawing layer below the sea level in described flat board map;
Meteorological chart is drawn on described drawing layer.
4. marine meteorological chart as claimed in claim 3 method for drafting it is characterised in that described according to described digital elevation model
Data, the sea level in described flat board map is set to fully transparent, specifically includes:
Identify the minus pixel of corresponding digital elevation model intermediate altitude height value in described flat board map;
The transparency of minus for described height above sea level angle value pixel is set to fully transparent.
5. a kind of drawing system of marine meteorological chart, the flat board after Geographical projections mode sets up mesh-density process of refinement
Map and introducing digital elevation model are it is characterised in that include:
Sea level drags down unit, for the data according to described digital elevation model, the sea level in described flat board map is drawn
Low, generate new flat board map and new sea level;
Drawing layer signal generating unit, for described new sea level place plane and described new flat board map land place plane it
Between, set up drawing layer;
Meteorological chart drawing unit, for drawing meteorological chart on described drawing layer.
6. the drawing system of marine meteorological chart as claimed in claim 5 is it is characterised in that described sea level drags down unit, specifically
Including:
Height above sea level angle value identifies subelement, for identifying corresponding digital elevation model intermediate altitude height value in described flat board map
Minus pixel;
Drag down subelement, for dragging down the height above sea level angle value of minus for described height above sea level angle value pixel, generate new flat board
Map and new sea level.
7. a kind of drawing system of marine meteorological chart, the flat board after Geographical projections mode sets up mesh-density process of refinement
Map and introducing digital elevation model are it is characterised in that include:
Sea level is scratched as unit, for the data according to described digital elevation model, the sea level in described flat board map is set
It is set to fully transparent;
Drawing layer signal generating unit, for setting up drawing layer below the sea level in described flat board map;
Meteorological chart drawing unit, for drawing meteorological chart on described drawing layer.
8. the drawing system of marine meteorological chart as claimed in claim 7 is it is characterised in that picture unit is scratched on described sea level, specifically
Including:
Height above sea level angle value identifies subelement, for identifying corresponding digital elevation model intermediate altitude height value in described flat board map
Minus pixel;
Scratch as subelement: fully transparent for being set to the transparency of minus for described height above sea level angle value pixel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110247502.0A CN102750715B (en) | 2011-08-26 | 2011-08-26 | Method and system for drawing marine meteorological chart |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110247502.0A CN102750715B (en) | 2011-08-26 | 2011-08-26 | Method and system for drawing marine meteorological chart |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102750715A CN102750715A (en) | 2012-10-24 |
CN102750715B true CN102750715B (en) | 2017-02-01 |
Family
ID=47030864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110247502.0A Active CN102750715B (en) | 2011-08-26 | 2011-08-26 | Method and system for drawing marine meteorological chart |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102750715B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201242837Y (en) * | 2008-08-18 | 2009-05-20 | 朱保平 | Display device for publishing meteorological phenomena information |
CN102033860A (en) * | 2010-12-15 | 2011-04-27 | 东莞宇龙通信科技有限公司 | Method and terminal for displaying weather application icon |
CN102111533A (en) * | 2009-12-25 | 2011-06-29 | 新奥特(北京)视频技术有限公司 | Weather forecasting program broadcasting method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9880007B2 (en) * | 2006-10-27 | 2018-01-30 | Jonathan Merrill Whiting | Navigational aid system for fishermen |
CN102044075A (en) * | 2009-10-23 | 2011-05-04 | 镇江精英软件科技有限公司 | Method for comparing frame number with engine number by using double-layer semitransparent drag |
CN101912273A (en) * | 2010-07-23 | 2010-12-15 | 深圳市理邦精密仪器股份有限公司 | Ultrasonic dynamic image processing method and system |
-
2011
- 2011-08-26 CN CN201110247502.0A patent/CN102750715B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201242837Y (en) * | 2008-08-18 | 2009-05-20 | 朱保平 | Display device for publishing meteorological phenomena information |
CN102111533A (en) * | 2009-12-25 | 2011-06-29 | 新奥特(北京)视频技术有限公司 | Weather forecasting program broadcasting method and device |
CN102033860A (en) * | 2010-12-15 | 2011-04-27 | 东莞宇龙通信科技有限公司 | Method and terminal for displaying weather application icon |
Non-Patent Citations (1)
Title |
---|
基于GIS的气象服务决策系统的关键技术研究;向一鸣;《中国优秀硕士学位论文全文数据库 信息科技辑》;20091115(第11期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN102750715A (en) | 2012-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101655993B (en) | Multi-resolution modeling method for three dimensional model of complex building | |
CN101882184B (en) | Atmosphere environmental impact assessment system and environmental impact assessment method based on GIS (Geographic Information System) technology and AERMODE model | |
Klouček et al. | How does data accuracy influence the reliability of digital viewshed models? A case study with wind turbines | |
CN105608697A (en) | Air pollution source identification method based on aerosol remote sensing and glowworm swarm algorithm | |
CN103530901B (en) | A kind of dynamic waters method for visualizing and device that mates true three-dimension environment | |
JP2005266791A (en) | Development tool for defining attributes within multi-dimensional space | |
CN104408564A (en) | Digital water resource system | |
CN107491566B (en) | Method for quantitatively researching PM2.5 purification effect of urban forest | |
Li et al. | Numerical simulation study of the effect of buildings and complex terrain on the low-level winds at an airport in typhoon situation | |
CN116069882B (en) | Airspace grid diagram generating method | |
CN111126968A (en) | Weather analysis and forecast service platform | |
CN106849353A (en) | Project of transmitting and converting electricity environment monitoring and sensitizing range forecasting system and method | |
Wang et al. | An analysis of the urbanization contribution to observed terrestrial stilling in the Beijing–Tianjin–Hebei region of China | |
Zhang et al. | A 3d visualization system for hurricane storm-surge flooding | |
CN105426605B (en) | Multi-screen Three-dimensional Track and noise contours real-time display method | |
Bursik et al. | Volcanic plumes and wind: Jetstream interaction examples and implications for air traffic | |
Adreani et al. | Digital twin framework for smart city solutions | |
CN107103133B (en) | A kind of visually non-full Runway operation scheme Simulation & evaluation system and method | |
CN102750715B (en) | Method and system for drawing marine meteorological chart | |
Dieudonné et al. | Characteristics of the low‐level jets observed over Dunkerque (North Sea French coast) using 4 years of wind lidar data | |
CN110489888A (en) | Based on the three-dimensional association general technology method of BIM platform two | |
Yu | Correlation analysis of urban building form and PM2. 5 pollution based on satellite and ground observations | |
CN111581808B (en) | Pollutant information processing method and device, storage medium and terminal | |
Lin et al. | A virtual geographic environment for a simulation of air pollution dispersion in the pearl river delta (PRD) region | |
CN113987902A (en) | Weather scene simulation method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211220 Address after: 100195 room 104, floor 1, building 1, courtyard 131, West Fourth Ring North Road, Haidian District, Beijing Patentee after: Beijing Jinsong Chuangyi Technology Co.,Ltd. Address before: 100195 new technology building, 49 Wukesong Road, Haidian District, Beijing Patentee before: China Digital Video (Beijing) Co.,Ltd. |