摘要
介绍一种基于百度地图API的气象信息显示系统。通过控件定位、加载大量数据、添加覆盖物、地图缩放、添加城市列表等技术,系统页面可实时动态显示宁夏地区各县市气象要素以及银川河东机场发布的实况气象报文,为民航气象人员判断复杂天气演变趋势和制作短临预报提供数据支持。采用AJAX异步加载技术访问数据库获取数据,进行局部页面更新,避免了地图不断加载导致页面响应速度慢的问题。通过系统网页,用户可实时了解宁夏地区各县市天气情况,统计机场关键天气要素,查看气象数据。测试结果表明,该系统有助于提高复杂天气短临预报和临近预报的准确率。
In this research, a display system of meteorological information based on the Baidu Map API is designed. The real-time meteorological elements in various counties and cities in Ningxia and meteorological live message released by Yinchuan Hedong Airport are displayed to provide data support for civil aviation meteorological personnel in judging the evolution trend of complex weather and making short-term and imminent forecast, with the help of various programming techniques such as control location, loading large amounts of data points, adding cover, map scaling, adding city list technology and so on. AJAX asynchronous loading technology is used to access database to update local pages. It avoids the slow response of Baidu Map due to continuous loading. Through the system web page, users can get real-time weather information of counties and cities in Ningxia, statistics of key weather elements of airports, and view of meteorological data. The test results show that the system is helpful to improve the accuracy of short-term and near-term forecast of complex weather.
引文
[1] 刘艳中,李建勇,陈冰怀.基于Google Maps API的船舶自动站监控Web设计[J].气象科技,2015,43(4):643-646.
[2] 刘艳中,伍光胜,李建勇.基于百度地图的气象自动站监控系统实现[J].气象科技,2016,44(1):167-170.
[3] 白学文,杨红,杨韬.基于百度地图API发布乡镇精细化天气预报[J].云南科技管理,2012(1):46-48.
[4] 朱剑明,余朋.基于百度地图API的全国机场天气警报系统设计与实现[J].气象科技,2017,45(2):247-253.
[5] 张宏芳,李建科,陈小婷,等.基于百度地图的精细化格点预报显示[J].气象科技,2017,45(2):261-268.
[6] 鲁宏伟,魏凯,孔华锋.一种改进的KMP高效模式匹配算法[J].华中科技大学学报(自然科学版),2006,34(10):41-43.
[7] 李莉,江育娥,林劼,等.基于KMP算法的改进算法KMPP[J].计算机工程与应用,2016,52(8):33-37.