基于WebGIS的气象信息显示和查询系统
Meteorological Information Display and Query System Based on WebGIS
-
摘要: 针对北京市气象局气象观测数据Web显示系统功能较弱这一状况, 采用开源性WebGIS软件MapServer和免费的PostgreSQL数据库软件, 结合PHP, Java applet技术开发了基于WebGIS的气象信息发布系统。该系统以直观形式将实时数据与地理信息结合在一起, 实现了数据的动态查询和统计查询, 尤其是实现了风向杆和等值线以及等值面的叠加。该系统为预报工作提供了及时、有效、科学的辅助决策支持。Abstract: With the rapid development of detection technique in meteorology, more and more real-time detection data are obtained in Beijing Municipal Meteorological Bureau, but the integrated display system for all kinds of detection data is relatively left behind. Considering the situation, a meteorological information display and query system is developed, free software Mapserver and PostgreSQL are used in the system.Mapserver is an open source development platform which multi-format geographic data are supported on Internet. MapServer is not a full-featured WebGIS system. Instead, MapServer is good at rendering geographic data like maps, images, and vector data on the web. Beyond browsing GIS data, MapServer allows you to create "geographic image maps" that are, maps that can direct users to the content. Many kinds of geographic format data are supported, interface for second development in many language is provided, and it can be used in many operation systems. MapFile is a kind of file format, in which the color and style of map elements are defined. Map elements are managed and organized by MapFile in Mapserver. What users need to do is just to setup up Mapserver and configure Web server correctly and create their own MapFile, then their WebGIS system is built successfully. PostgreSQL is also an open source Database software. Usually, PostgreSQL is used to manage their data, such as GIS database.It is very easy to build a WebGIS system by using Mapserver and PostgreSQL. In Beijing Municipal Meteorological Bureau, Linux system is chosen as WebGIS operation system. First, Mapserver and PostgreSQL need to be installed under Linux system. In addition, some configurations need be done to make sure they can work together. Second, detection data database has to be built. Database is used to store meteorological observation data and at the same time makes query more efficient. The third step is to handle station data which is very important. Station data are converted into geographic format data, which are points displayed on maps. Last is to create MapFile according to the file format of MapFile. In the system, real-time data including temperature, precipitation, humidity and other observation data are showed on maps directly, and the dynamic search and query for data are realized. For example, different time is input by users, different observation data of different time are displayed on maps. Especially the temperature and precipitation contours can also be displayed in the system. In addition, wind vector is displayed on map as map symbol which is created by wind observation data. In conclusion, multi-data integrated display is realized in the system. Multi-data information can be known for forecasters directly from it, with which immediate, efficient and scientific assistant decision support are supplied.
-
Key words:
- WebGIS;
- meteorological data;
- MapServer
-
表 1 Java模式下查询结果 (多个记录集)
Table 1 Query results on Java mode (multi-records)
表 2 站点信息表
Table 2 Station information
表 3 站点属性数据表
Table 3 Station attribute
-
[1] 刘光媛, 聂庆华, 赵明.基于AcrIMS开发WebGIS的农业环境信息系统研究.地理空间信息, 2007, 5(1):40-42. http://www.cnki.com.cn/Article/CJFDTOTAL-DXKJ200701015.htm [2] 叶青, 陈冰廉.WebGIS技术及其在气象领域的应用.广东气象, 2004, 25(3):40-43. http://www.cnki.com.cn/Article/CJFDTOTAL-GXQX200403016.htm [3] 庄立伟, 刘庚山, 王石立, 等.基于WEBGIS的农业气象信息共享与发布技术应用研究.应用气象学报, 2004, 15(6):745-753. http://qikan.camscma.cn/jams/ch/reader/view_abstract.aspx?file_no=20040692&flag=1 [4] Maged N, Kamel Boulos, Honda K.WebGIS in practice IV:Publishing your health maps and connecting to remote WMS soureces using the Open Source UMN MapServer and DM Solution MapLab.International Journal of Health Geographics, 2006, 5:6. doi: 10.1186/1476-072X-5-6 [5] Mitchell T.Web Mapping Illustrated (Using Open Source GIS Toolkits).Oreilly; 1st edition (June 2005). http://www.oreilly.com/catalog/webmapping/chapter/ch03.pdf. [6] Raghavan V, Masumoto S, Santitamnont Petal.Development of training materail and internationalization of MapServer for promoting FOSS4G.Geoinformatics, 2004, 15(2):. [7] http://mapserver.gis.umn.edu/doc.html, 2005-10-25 [8] 宋现峰, 刘军志, 吴建国, 等.开源代码技术的FLASH地图实现方法.地球信息科学, 2006, 8(4):101-105. http://www.cnki.com.cn/Article/CJFDTOTAL-DQXX200604019.htm [9] http://mapserver.gis.umn.edu/doc/perlmapscript-reference.html, 2005-10-10. [10] Song Guiting, Hou Yijun, Qi Peng.Wind vector retrieval using dual polarization imagery of ASAR.Progress in Nature Science, 2006, 16(11):1183-1187. doi: 10.1080/10020070612330127 [11] http://nautilus.baruch.sc.edu/bb/viewtopic.php?t=169&start=0&postdays=0&postorder=asc&highlight,, 2005-10-22. [12] 陈欢欢, 李星, 丁文秀.Surfer 8.0等值线绘制中的十二种插值方法.工程地球物理学报, 2007, 4(1):52-57. http://www.cnki.com.cn/Article/CJFDTOTAL-GCDQ200701010.htm [13] 张丽莉, 吴健生, 王家林.地学数据文件向Shapefile文件的转换.物探化探计算技术, 2004, 26(1):78-84. http://www.cnki.com.cn/Article/CJFDTOTAL-WTHT200401015.htm [14] ESRI. ESRI Shapefile Technical Description. An ESRI White Paper. 1998. [15] 韩鹏, 徐占华, 褚海峰, 等.地理信息系统开发———ArcObjects方法.武汉:武汉大学出版社, 2005:4-6.