1/36. 2/36 Something cool …

Slides:



Advertisements
Similar presentations
Symbology Tricks Standardizing your basedata so you can focus on your maps main purpose.
Advertisements

Brought to you by The GIG, the Geneva Public Library, and a NYS Library BTOP Grant.
Creating Map Books ArcMap 10 Data Driven Pages
Why python? Automate processes Batch programming Faster Open source Easy recognition of errors Good for data management What is python? Scripting programming.
Intro to ArcGIS for New Users. ArcGIS Desktop Advanced GeoprocessingArcInfo ArcReader Data Access Map Viewing Query Advanced EditingArcEditor ArcView.
Providing Info & Maps to Non-GIS Users & Tips, Tricks in ArcGIS with Gary Moody.
Mercator/Coronelli ArcGIS Server 9.3 Data Management GIS Web Services Mapping Application Developer Tools Spatial Analysis Publishing to Clients Image.
Macromedia Dreamweaver 4 Foundation Level Course.
Unit Thirteen: Advanced Layout In this unit… ► Review ► Layers and Layout ► Advanced Layout Features.
Explore the Dreamweaver Workspace View a Web page and use Help Plan and Define a Web site Add a Folder and Pages, and set the Home page Create and View.
19 th Advanced Summer School in Regional Science An introduction to GIS using ArcGIS.
ArcEditor ArcInfo ArcView Display map, query & analyze spatial relationships, features & attributes Same functions as ArcView, plus abilty to create, &
Layouts: Creating maps and figures using ArcMap 1 GIS for Planetary Mappers June 2012, Planetary Mappers Meeting.
Introduction To ArcMap ArcMa p. ArcMap is a Map-centric GUI tool used to perform map-based tasks Mapping –Create maps by working geographically and interactively.
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Introduction to ArcGIS Add-Ins Exercises GIS/LIS Conference, 2014 Rochester, MN.
Acadia Institute for Teaching and Technology Basic Web Page Design for Courses.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Editing in ArcMap:
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Preparing for Electronic Distribution Lesson 14.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
Microsoft Expression Web - Illustrated Unit B: Creating a Web Site.
Web Design Dreamweaver Semester 2 ATBs. ATB #1 What is a web site?
Python Map Automation: Introduction to arcpy.mapping / arcpy.mp
Tutorial: Using ArcGIS Server and ESRI ArcGIS API for Javascript Peter Sforza March 7, 2013.
Enabling High-Quality Printing in Web Applications
ArcGIS Pro: Mapping and Visualization Craig Williams, Edie Punt, &
Advance Map Automation With Python
Introduction to web development and HTML MGMT 230 LAB.
Introduction to ArcGIS for Environmental Scientists Module 1 – Data Visualization Chapter 4 - Layouts.
Mind Your Metadata Geri Miller. Metadata in ArcGIS ArcGIS metadata goals Editing metadata Setting your metadata style Leveraging metadata in ArcGIS Importing.
MXD, Maps, Layers arcpy.mapping Classes.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
How to Create a Document in Google Drive By Tressa Beckler.
Esri UC 2014 | Technical Workshop | Python Map Automation – Beyond the Basics of arcpy.mapping Jeff Barrette Jeff Moulds.
Technical Workshops | Esri International User Conference San Diego, California Supporting High-Quality Printing in Web Applications with ArcGIS 10.1 for.
Working with ArcGIS Data Data Management and Tips Your friend…..ArcCatalog.
Return to Outline Copyright © 2011 by Maribeth H. Price 3-1 Labeling and annotation.
Introduction to Microsoft FrontPage Microsoft FrontPage – FrontPage is a popular WYSIWYG authoring/site management package – Combines WYSIWYG editing.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Supporting High-Quality.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Building Map Books.
Map Books & Dynamic Tables
Geographic Information Systems Using ESRI ArcGIS 9.3 Layout View.
Creating Accessible Content in Microsoft Office 2010 NC Basic Skills Instructor Training Academy 2012.
Desktop Mapping: Building Map Books Jeff Barrette Michael Grossman.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Python Map Automation.
Esri UC 2014 | Technical Workshop | Python Map Automation – Introduction to arcpy.mapping Michael Grossman Jeff Barrette.
Esri UC 2014 | Technical Workshop | Editing in ArcMap: An Introduction Lisa Stanners, Phil Sanchez.
Brief Comparison of ArcView 3.x and ArcView 8.x Paige Baldassaro Geospatial Applications Designer Geospatial Extension Program Sunday, March 20, 2016
Introduction to GIS Programming Final Project Submitted by Todd Lenkin Geography 375 Spring of 2011 American River College.
Jeff Barrette Jeff Moulds
Lecture 3 Interacting with Data.
Tech Support Tips and Tricks: ArcGIS for Desktop
ArcGIS Pro Mapping and Visualization
Desktop Mapping: Building Map Books
Geography 385 Introduction to ArcGIS Web Application Design
Key Terms Label Annotation.
Editing Your Website on SharePoint 2013
Introduction to ArcGIS Add-Ins
Python Map Automation – Introduction to arcpy.mapping
Microsoft PowerPoint 2007 – Unit 2
Introduction To ArcMap
Python Map Automation – Beyond the Basics of arcpy.mapping
Building Map Books in ArcGIS
3.00 Understanding the Adobe Dreamweaver interface. (12%)
Best Practices for Designing Effective Map Services: Case Studies
Python Map Automation – Beyond the Basics of arcpy.mapping
Building Map Books in ArcGIS
Survey Results Respondents: 39 of 51 – 76%
Geog 375 Individual Final Programming Project: Automated Thematic Maps
Desktop Mapping: Building Map Books
Presentation transcript:

1/36

2/36 Something cool …

3/36 Google Maps API Live earthquake mapping Other cool Google Maps API examplesOther cool Google Maps API examples:

4/36 More Google … Search full text of books e.g. Calculator Search tips Search tips & Hidden featuresHidden features Also look for Google Code, Drive & Translate Google Code, Drive & Translate

5/36 Google Earth ( )

6/36 arcpy.mapping module

7/36 What can you do with arcpy.mapping? Manage Map Documents (mxd) Manage DataFrames and Layers Change extents Add, remove, insert, move, and update layers Fix broken data sources etc. Manage some layer properties (definitionQuery, showLabels, etc.) Page Layout elements Position, size, text, … Print & Export map Map automation, map book creation (pdf tools) Publish to ArcGIS server (not covered in this course) Check for warnings and errors Convert MXD to MSD

8/36 Arcpy.mapping Classes & Functions

9/36 MapDocument – Class / Function …

10/36 MapDocument Properties & Methods Properties activeView (rw) author (rw) credits (rw) dataDrivenPages (ro) dateExported (ro) datePrinted (ro) dateSaved (ro) description (rw) filePath (ro) hyperlinkBase (rw) relativePaths (ro) summary (rw) tags (rw) title (rw) Methods deleteThumbnail() findAndReplaceWorkspacePaths( find_workspace_path, replace_workspace_path, {validate}) makeThumbnail () replaceWorkspaces( old_workspace_path, old_workspace_type, new_workspace_path, new_workspace_type, {validate}) save () saveACopy( file_name, {version}) (ro) = read-only (rw) = read-write

11/36 MapDocument.ActiveView

12/36 Find DataFrames in MapDocument

13/36 DataFrame Properties & Methods Properties credits (rw) description (rw) displayUnits (rw) elementHeight (rw) elementPositionX (rw) elementPositionY (rw) elementWidth (rw) extent (rw) geographicTransformations (rw) mapUnits (ro) name (rw) referenceScale (rw) rotation (rw) scale (rw) spatialReference (rw) time (ro) type (ro) Methods panToExtent(extent) zoomToSelectedFeatures()

14/36 Layer Class / Function Layer Class Layer Function

15/36 Layer Properties & Methods Properties brightness (rw) contrast (rw) credits (rw) datasetName (rw) dataSource (rw) definitionQuery (rw) description (rw) isFeatureLayer (ro) isGroupLayer (ro) isRasterizingLayer (ro) isRasterLayer (ro) labelClasses (rw) longName (ro) name (rw) serviceProperties (ro) showLabels (rw) transparency (rw) visible (rw) workspacePath (ro) Methods findAndReplaceWorkspacePath( find_workspace_path, replace_workspace_path, {validate}) getExtent( {symbolized_extent}) getSelectedExtent( {symbolized_extent}) replaceDataSource( workspace_path, workspace_type, dataset_name, {validate}) save () saveACopy( file_name, {version}) supports( layer_property) Selected properties Layer =.lyr file Layer in DataFrame

16/36 Find Layers in a DataFrame i.e. All layers in all DataFrame’s

17/36 Finding a specific layer in a DataFrame

18/36 Working with Layers arcpy.mapping can’t Create new map layers in DataFrame or.lyr files from scratch Change all layer properties in a script arcpy.mapping can Add lyr file to DataFrame & change selected layer properties dataSource, definitionQuery, etc. (see “(rw)” on previous slide) Apply symbology from existing lyr files to existing layers in DataFrame

19/36 Adding a Layer to a DataFrame

20/36 Managing Layers in a DataFrame FunctionDescription AddLayer Add a layer to a data frame within a map document (.mxd) using simple placement options. AddLayerToGroup Add a layer to a group layer within a map document (.mxd) using simple placement options. InsertLayer Insert a layer at a specific location within a data frame or within a group layer in a map document (.mxd). MoveLayer Move a layer to a specific location within a data frame or group layer in a map document (.mxd). RemoveLayer Remove a single layer or group layer from a specific data frame. If there is more than one layer that meets the criteria, then only the first layer will be removed unless the script iterates through each layer in a returned list. UpdateLayer Update all layer properties or just the symbology for a layer in a map document (.mxd) by extracting the information from a source layer.

21/36 Fixing broken data sources

22/36 Methods for fixing broken data sources MapDocument.findAndReplaceWorkspacePathsMapDocument.findAndReplaceWorkspacePaths(find_workspace_path, replace_workspace_path, {validate}) MapDocument.replaceWorkspacesMapDocument.replaceWorkspaces(old_workspace_path, old_workspace_type, new_workspace_path, new_workspace_type, {validate}) Layer.findAndReplaceWorkspacePathLayer.findAndReplaceWorkspacePath(find_workspace_path, replace_workspace_path, {validate}) Layer.replaceDataSourceLayer.replaceDataSource(workspace_path, workspace_type, dataset_name, {validate}) TableView.findAndReplaceWorkspacePathTableView.findAndReplaceWorkspacePath(find_workspace_path, replace_workspace_path, {validate}) TableView.replaceDataSourceTableView.replaceDataSource(workspace_path, workspace_type, dataset_name, {validate})

23/36 Fixing broken data source examples Update all workspace paths for all the mxd’s in a folder from local system to UNC paths Update all workspace paths to new folder and save to new mxd.

24/36 Page Layout elements

25/36 Getting Page Layout Elements

26/36 MapSurround Element

27/36 Text Element

28/36 RefreshActiveView() and RefreshTOC() After changing the content of a DataFrame or Page Layout … arcpy.RefreshActiveView()RefreshActiveView After changing items in the Table of Contents (add, remove, move, update layers) … arcpy.RefreshTOC()RefreshTOC

29/36 Exporting maps to images (jpg)

30/36 Exporting maps to PDF

31/36 PDFDocument’s

32/36 Creating/Opening PDF Documents

33/36 PDFDocument.appendPages Example

34/36 Working with arcpy.mapping scripts Edit in PyScripter and use Load …

35/36 Help is not perfect Should be: Find the MAPSURROUND_ELEMENT with the name "ScaleBar" and move it's x position (relative to its anchor point) to the center of the parentDataFrame. Save this change to the MXD. Update: ESRI listened to me:

36/36