• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Scarc2014
 

Scarc2014

on

  • 81 views

 

Statistics

Views

Total Views
81
Views on SlideShare
81
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Scarc2014 Scarc2014 Presentation Transcript

    • FINDING VBA REPLACEMENTS ROBBIE ERVIN FLORENCE COUNTY GIS 19 SLIDES! 1
    • PRESENTATION OBJECTIVES 1. Discuss challenge of adjusting to changing technology in ArcGIS, particularly doing away with VBA and the programs that we had that were written in VBA 2. Demonstrate to people new to arcpy and Python, what it can accomplish 3. Possibly, show experienced arcpy users some new things that can be done with it 2
    • PROGRAM GOALS 1. Automate creation of maps and mailing labels for Planning Commission and Board of Zoning meetings to 1. allow non-GIS staff to create maps 2. Cut down on time-consuming redundant work 3. Cut down on errors from extra data entry 3
    • PROGRAM STEPS 1. User enter Meeting item into db, includes a link of the meeting to each of its items to each of its parcels involved 2. At command line prompt user enters meeting date 3. Python selects all of the items for that meeting 1. Creates a folder for the item 2. Creates a shapefile for the item parcel(s) 3. Buffers the parcel(s) and creates a buffer shapefile 4. Copies mxd’s for each of the maps needed for the item 5. Adds the parcel data source to Aerials, Zoning, Land Use, Vicinity, and the buffer shapefile to the Buffer mxd 6. Zooms to the parcel 7. Exports jpg of each of the maps to folder created 4. Loops through parcel owner names of parcel file and buffer file and updates a csv file 5. Opens Word document for mail merge which is linked to csv file 6. Improves the information from tax parcel data to make it look better on the labels 7. Creates labels for each item 4
    • TIME CONSUMING PROCESS 5
    • VBA IS NO MORE 6
    • DB FOR MAPS – SIDE BENEFITS 7
    • EASY TO SEARCH FOR ARCPY CODE 8
    • FREE IMPORTS IN ADDITION TO VAST FUNCTIONALITY OF BASIC PYTHON 9
    • SIMPLE COMMAND LINE INPUT GET MEETING DATA FROM SQL 10
    • Automate Folder Creation 11
    • Get Parcels ID for each Meeting Item Select Parcel From Parcel Map Layer 12
    • Buffer each Parcel in Item and add to Layer to be used in Generating Mailing Labels for surrounding owners 13
    • Cleaning up strings to make the Mailing Labels look better Writing the parcel data to a csv file to be used in the mailing labels and as a record of parcel owners 14
    • Using MSWord to do a mail merge 15
    • Pointing the data source of the layer Zooming to the extent of the layer 16
    • Manipulating elements on your layout Easy to export layout to a pdf A multi-page pdf docment A jpg 17
    • Text Automated by Process 18
    • Label sheet ready for printing with data cleaned up by Python Label data straight From Parcel attributes 19