Presentation is loading. Please wait.

Presentation is loading. Please wait.

1/29 Former leader of the “free” world … “I know what I believe. I will continue to articulate what I believe and what I believe.

Similar presentations


Presentation on theme: "1/29 Former leader of the “free” world … “I know what I believe. I will continue to articulate what I believe and what I believe."— Presentation transcript:

1 1/29 Former leader of the “free” world … http://www.dubyaspeak.com “I know what I believe. I will continue to articulate what I believe and what I believe – I believe what I believe is right.” “Science is not an art – I mean, reading is not an art. It's a science.” “If a person doesn't have the capacity that we all want that person to have, I suspect hope is in the far distant future, if at all.” “Rarely is the question asked: Is our children learning?” “We spent a lot of time talking about Africa, and we should. Africa is a nation that suffers from incredible disease.” “Our nation must come together to unite.” “I know the human being and fish can coexist peacefully” G. Dubya Bush

2 2/29 Satellite tracking systems http://www.orbcomm.com

3 3/29 arcpy.*Cursor functions

4 4/29 SearchCursor Syntax

5 5/29 SearchCursor Example

6 6/29 Update Cursor Syntax

7 7/29 Update cursor example

8 8/29 Insert/Update and Locked data Can not Insert/Update if data is locked Feature class or table can be locked if it is: Part of a map in an MXD that is open in ArcMap Part of a workspace being viewed by ArcCatalog Best practices include: Exit ArcGIS applications when running scripts that create or modify tables or feature classes Delete cursor objects when you have finished using them …

9 9/29 Insert Cursor Syntax

10 10/29 InsertCursor Example

11 11/29 The Data Access (da) module arcpy.da.Walk( ) – an ArcGIS-aware version of os.path.walk ( ) New to 10.1 with faster cursors

12 12/29 SearchCursor Function and Class arcpy Function arcpy.da Class

13 13/29 SearchCursor Function and Class Example 68 sec for Function 0.66 sec for Class ~100 times faster in this example.

14 14/29 The Geometry Class

15 15/29 Geometry Properties

16 16/29 Geometry Methods … and clip contains convexHull crosses difference disjoint distanceTo equals getArea getLength getPart intersect overlaps positionAlongLine projectAs symmetricDifference touches union within

17 17/29 Reading geometries

18 18/29 Writing geometries using Python Polylines by example …

19 19/29 Writing geometries using Python For Update/InsertCursor objects, test your scripts on a copy of the dataset. It is sometimes hard to undo modifications to data! Input file structure:

20 20/29 Spatial reference and cursors

21 21/29 Creating a spatial reference

22 22/29 Point and PointGeometry Classes

23 23/29 PointGeometry Class

24 24/29 Array Class

25 25/29 Licensing and Installation

26 26/29 Licensing and Installation Check to see if a license is available Returns license to license manager Check out license from license manager See if requested product is available Information about installation Install types that used with GetInstallInfo Current product license Legacy … replaced by

27 27/29


Download ppt "1/29 Former leader of the “free” world … “I know what I believe. I will continue to articulate what I believe and what I believe."

Similar presentations


Ads by Google