Topic: Building a webgis system with Python, Tornado, PostGIS and MapServer
Presenter: Yang Chaobin and Bu Kun
Email: yangcb@osgeo.cn
Type: Poster
MapServer is an open source platform for publishing spatial data and interactive mapping applications to the web, and it can run on all major platforms. Pyhton is a programming language whose design philosophy emphasizes code readability, and its syntax allow programmers to express concepts in fewer lines of code.Python can let you work more quickly and integrate systems more effectively, and it has been widely used in scientific researches, such as data processing, model establishment, cartography and so on. In the program of the World Bank, a prediction system is developed, which can forecast the trend of environmental quality in the agricultural producing area in Jilin province, China, and the system also includes the WebGIS function, which can achieve the functions of GIS on the internet. In order to make the most of the existing work and codes, Python is used as the programming language to develop the system. Open source software solutions are chosen because they can save costs. After comparison, Debian/Linux is chosen as the operating system.Python and Tornado web framework is used to develop web procedure and Postgresql/PostGIS, which is a spatial database, is the choice of database. MapSever is used to provide the WebGIS service. The results show that the open solutions can completely meet the requirements of the prediction system. Besides, due to the efforts of the Open Source Community, the application and completeness of the system are greatly improved. Python, known as a “Glue Language”, has lots of mature libraries for data processing, web communication, database read and write operations, cartography and the intersection with MapSever. As a result, the development process is relatively quick and the reliability and safety can be guaranteed.