节点文献

基于Python的控件分析模型的实现

The Implementation of Spatial Analysis Model Based on Python

【作者】 潘雪婷

【导师】 付宗堂;

【作者基本信息】 中国地质大学(北京) , 地图制图学与地理信息系统, 2010, 硕士

【摘要】 当前,随着信息科学技术日新月异的发展,地理信息在国民经济生活和政府行政部门决策服务中的角色越来越重要。同时,计算机各方面的性能也有很大的提高,其解释执行能力已经达到一定的应用需求,出现的新语言也多数为曾经程序语言世界的二等公民——脚本语言。本文在这样的背景下,研究脚本语言Python在处理地理信息、构建空间分析模型方面的应用与实现。Python是世界GIS技术最大提供商ESRI的首选脚本语言。由于其具有跨平台、易学易用、面向对象、可扩展、解释执行能力高、库内容丰富等多方面的优越特性,所以与GIS分析处理工作的要求十分相符。空间分析的任务通常包含多个不同的数据集以及各自所拥有的大量的数据记录,处理起来常常会花费大量的时间。Python可以自动多任务处理地理信息,即可以执行一个处理任务,也可以处理多个复杂的工作任务,同时也可以形成一种分析处理模型。用脚本的好处在于它们能重复使用,并且没有复杂的数据标准。一般情况下, Python需要结合Geoprocessor这一ArcObjectsTM COM组件对象来开发和设计空间分析模型,同时在ArcGIS客户端应用程序中展示模型及其实例运行结果。Geoprocessor对象封装了GIS常用的400多种工具,所以其应用功能非常强大。本文就消防领域中对火警响应时间这一特定内容用Python设计和实现空间分析模型,其主要模型功能组成有:1)地址数据表的创建,用特定字段记载消防事故点的位置信息;2)定位事故发生地,通过地理编码将二维表中的位置文字信息转变为空间信息;3)检测定位正确性,通过与已有的基础地理信息来查询该警报是否正确;4)寻找最近消防站,运用GIS常用的网络分析功能来设计;5)响应时间的评估,评估消防站在设定的时间范围内是否能做出及时的反应。这五个处理步骤最后集成到一起,形成一个火警响应时间的空间分析模型。本文主要围绕Python这一脚本语言在空间分析建模方面的应用来展述,最后结合一个火警响应时间的实例来进行设计,从而体现Python的特性与其在GIS空间分析方面应用的优越性。

【Abstract】 With the rapid development of information science and technology, nowadays geographic information is playing an increacingly vital role in the civil economic life, as well as in the decision-making service of governmental administrative department. Meanwhile, cyber-properties in all sides refine greatly, as a result, its executive capacity has reached a certain applied requirement, and the emerging script languages as a new generation were once of the second-class in the program world. In such circumstance, this paper is carrying out the research on Python’s (a script language) application and achievement in terms of dealing with geographic information, as well as of generating models of spatial analysis.T Python, the preferred script language of ESRI, the world largest provider for GIS technology. Just because it is featured with the multiple supreme characteristics, including cross-platform, easy to learn and use, orienting object, able to extend, high capacity in explaining and executing, ample library and so on, it corresponds to the demand of GIS analysis managing task. The geographic processing tasks contain different datasets that have massive data records respectively, so it turns out to take enormous time to solve these tasks. Python is able to handle geographic information with many tasks automatically. The language may implement one managing task, as well as many sophisticated once, in this way a kind of analysis managing model is taking shape. The advantages in using script lie in the repetition of usage and lack of complex data standard. Generally, Python needs to associate Geoprocessor, the ArcObjectsTM COM object, to develop and design spatial analysis model, and showing the model and the example’s result in application program of ArcGIS client. Geoprocessor object encapsulates more than 400 kinds of GIS commonly used tools, so its application is very powerful.In this paper, we use Python to design and achieve spatial analysis model in terms of the particular fire alarm responsing time in the fire control field. The main steps are as follows: 1)The construction of address table, recording the positioning information of fire incident site by particular field. 2)Location of incident site, transfering positioning character information into spatial information by geocoding. 3) Correctness testing of location, ensuring alarm’s exactness by available fundamental information of geography. 4) The search of closest fire station, designing with frequently-used function of network analysis of GIS. 5) Evaluation of response time, evaluating if prompt action is taken by fire station in a setting span of time. All the five procedures are to conform together, forming a spatial analysis model of fireresponse time, which may be used repetitively and turns to be a spatial analysis tool.The paper is focusing on the application of Python in the spatial analysis model respect. In the end,it’ll exhibit the property of Python and superiority in terms of GIS’s Spatial Analysis, by designing a case of fire alarm’s response time for combination.

  • 【分类号】P208
  • 【被引频次】3
  • 【下载频次】612
节点文献中: