Introducing Python in ArcGIS.docx


文档分类:IT计算机 | 页数:约16页 举报非法文档有奖
1/16
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/16
文档列表 文档介绍
What is Python?
Python is a language that is used to puting tasks through programs called scripts. Automation makes work easier, faster, and more accurate. This applies to GIS and many other areas puter science. Learning Python will make you a more effective GIS analyst, but Python programming is a technical skill that can be beneficial to you even outside the field of GIS.
Python is a good language for beginning programming. Python is a high-level language, meaning you don’t have to understand the “nuts and bolts” of puters work in order to use it. Python syntax (how the code statements are constructed) is relatively simple to read and understand. Finally, Python requires very little overhead to get a program up and running.
Python is an open-source language and there is no fee to use it or deploy programs with it. Python can run on Windows, Linux, and Unix operating systems.
In ArcGIS, Python can be used for coarse-grained programming, meaning that you can use it to easily run geoprocessing tools such as the Buffer tool that we just worked with. You could code all the buffer logic yourself, using more detailed, fine-grained programming with ArcObjects, but this would be time consuming and unnecessary in most scenarios; it’s easier just to call the Buffer tool from a Python script using one line of code.
Introducing Python using the Python window in ArcGIS
The best way to introduce Python may be to look at a little bit of code. Let’s take the Buffer tool which you recently ran from the ArcToolbox GUI and run it in the ArcGIS Python window. This window allows you to type simple series of mands without writing full permanent scripts. The Python window is a great way to get a taste of Python.
This time, we’ll make buffers of 15 miles around the cities.
Open ArcMap to a new empty map.
Add the dataset from the Lesson 1 data.
On the Standard toolbar, click the Python window button . Once the window appears, drag it over to the side or bottom of

Introducing Python in ArcGIS 来自淘豆网m.daumloan.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数16
  • 收藏数0 收藏
  • 顶次数0
  • 上传人df158687
  • 文件大小0 KB
  • 时间2015-05-21