Upgrade to Pro — share decks privately, control downloads, hide ads and more …

NDGIS 2013 - How to Remain Relevant in the Age ...

James Fee
September 25, 2013

NDGIS 2013 - How to Remain Relevant in the Age of Change or What GIS Pros Can Do to Keep their Skills in Demand

James Fee

September 25, 2013
Tweet

More Decks by James Fee

Other Decks in Technology

Transcript

  1. How to Remain Relevant in the Age of Change James

    Fee Founder – Spatially Adjusted or What GIS Pros Can Do to Keep their Skills in Demand
  2. James’ Definition of a GIS Professional Someone digitally creates and

    "manipulates" spatial areas that may be jurisdictional, purpose, or application-oriented.
  3. attribution: ESRI International User Conference - 2011 - San Diego,

    California by Kris Krüg http://flic.kr/p/a2rdhq CC BY-NC-SA 2.0
  4. GIS

  5. 
 Problems with Wizards • Wizards cause us to conform

    • Options are either preset or confusing • Lack of documenting the process
  6. With the Command Line • Freedom to work with the

    data as you want • Better understanding of the commands • Combined with scripting you have a recipe for future work. AKA documentation!
  7. Programming GIS 1999-2004 • Start up ArcCatalog (wait 2-4 min

    while it loads) • Browse for toolbox (clicking through the endless tree)
  8. Programming GIS 1999-2004 • Start up ArcCatalog (wait 2-4 min

    while it loads) • Browse for toolbox (clicking through the endless tree) • Open tool dialog
  9. Programming GIS 1999-2004 • Start up ArcCatalog (wait 2-4 min

    while it loads) • Browse for toolbox (clicking through the endless tree) • Open tool dialog • Browse for input dataset
  10. Programming GIS 1999-2004 • Start up ArcCatalog (wait 2-4 min

    while it loads) • Browse for toolbox (clicking through the endless tree) • Open tool dialog • Browse for input dataset • Browse for any optional data for analysis
  11. Programming GIS 1999-2004 • Start up ArcCatalog (wait 2-4 min

    while it loads) • Browse for toolbox (clicking through the endless tree) • Open tool dialog • Browse for input dataset • Browse for any optional data for analysis • Browse for an output location
  12. Programming GIS 1999-2004 • Start up ArcCatalog (wait 2-4 min

    while it loads) • Browse for toolbox (clicking through the endless tree) • Open tool dialog • Browse for input dataset • Browse for any optional data for analysis • Browse for an output location • Fill out options
  13. Programming GIS 1999-2004 • Start up ArcCatalog (wait 2-4 min

    while it loads) • Browse for toolbox (clicking through the endless tree) • Open tool dialog • Browse for input dataset • Browse for any optional data for analysis • Browse for an output location • Fill out options • Click OK and pray it doesn’t crash
  14. Programming GIS the ArcINFO Way • Start up Command Prompt

    (about a second) • Type simple command (BUILD, CLIP, etc)
  15. Programming GIS the ArcINFO Way • Start up Command Prompt

    (about a second) • Type simple command (BUILD, CLIP, etc) • Hit Enter
  16. Programming GIS the ArcINFO Way • Start up Command Prompt

    (about a second) • Type simple command (BUILD, CLIP, etc) • Hit Enter • Tell everyone how hard it was
  17. Where is Python Used? • GIS Applications (ArcGIS, QGIS, Safe

    FME, Autodesk) • Web Frameworks (WeoGeo.com, Google)
  18. Where is Python Used? • GIS Applications (ArcGIS, QGIS, Safe

    FME, Autodesk) • Web Frameworks (WeoGeo.com, Google) • Anywhere (Corel, Civilization, Gmail)
  19. Where is Python Used? • GIS Applications (ArcGIS, QGIS, Safe

    FME, Autodesk) • Web Frameworks (WeoGeo.com, Google) • Anywhere (Corel, Civilization, Gmail) • Become the de-facto scripting language
  20. ArcPy, the New Command Line • Much like the Arc

    prompt and AML, ArcPy and Python give us a powerful analysis and scripting method.
  21. ArcPy, the New Command Line • Much like the Arc

    prompt and AML, ArcPy and Python give us a powerful analysis and scripting method. • ArcPy builds on the commands we learned 15 years ago.
  22. ArcPy, the New Command Line • Much like the Arc

    prompt and AML, ArcPy and Python give us a powerful analysis and scripting method. • ArcPy builds on the commands we learned 15 years ago. • ArcPy is integrated in ArcMap
  23. ArcPy, the New Command Line • Much like the Arc

    prompt and AML, ArcPy and Python give us a powerful analysis and scripting method. • ArcPy builds on the commands we learned 15 years ago. • ArcPy is integrated in ArcMap • Python can be extended to other GIS platforms such as QGIS.
  24. Python Scripting With ArcPy import  arcpy   from  arcpy  import

     env   env.workspace  =  "c:/workspace"   #  variables
 in_features  =  "soils.shp"   clip_features  =  "study_boundary.shp"   out_feature_class  =  "c:/workspace/output/study_area_soils.shp"   xy_tolerance  =  ""   #  Execute  Clip   arcpy.Clip_analysis(in_features,  clip_features,
 out_feature_class,  xy_tolerance)
  25. Python Scripting With ArcPy import  arcpy   from  arcpy  import

     env   env.workspace  =  "c:/workspace"   #  variables
 in_features  =  "soils.shp"   clip_features  =  "study_boundary.shp"   out_feature_class  =  "c:/workspace/output/study_area_soils.shp"   xy_tolerance  =  ""   #  Execute  Clip   arcpy.Clip_analysis(in_features,  clip_features,
 out_feature_class,  xy_tolerance)
  26. Export to KML import  arcpy   arcpy.CheckOutExtension(“3D”)   env.workspace  =

     "c:/workspace"   #  variables
 in_feature  =  "c:/data/TIGER2009/04/ARIZONA/tl_2009_04_county.lyr"   out_feature  =  "c:/temp/output.kmz"   #  Execute  KML  Export   arcpy.LayerToKML_conversion(in_feature,  out_feature,1)
  27. If you like GIS, you like statistics If you like

    statistics, you like baseball
  28. If you like GIS, you like statistics If you like

    statistics, you like baseball If you like baseball, you should root for the 2010 and 2012 World Series Champion San Francisco Giants
  29. NYY 95 67 .586 +136 BAL 93 69 .574 +7

    TAM 90 72 .556 +120 TOR 73 89 .451 -68 BOS 69 93 .426 -72 DET 88 74 .543 +56 CHS 85 77 .525 +72 KAN 72 90 .444 -70 CLE 68 94 .420 -178 MIN 66 96 .407 -131 OAK 94 68 .580 +99 TEX 93 69 .574 +101 LAA 89 73 .549 +68 SEA 75 87 .463 -32 WAS 98 64 .605 +137 ATL 94 68 .580 +100 PHI 81 81 .500 +4 NYM 74 88 .457 -59 MIA 69 93 .426 -115 CIN 97 65 .599 +81 STL 88 74 .543 +117 MIL 83 79 .512 +43 PIT 79 83 .488 -23 CHC 61 101 .377 -146 HOU 55 107 .340 -211 SFG 94 68 .580 +69 LAD 86 76 .531 +40 ARI 81 81 .500 +46 SDP 76 86 .469 -59 COL 64 98 .395 -132
  30. #!/usr/bin/python   from  scipy  import  stats   from  pylab  import

     *   #  Read  in  the  data.   mlb  =  loadtxt('mlb.txt',  dtype=[('team',  'S3'),  ('w',  'i'),  ('l',  'i'),   ('pct',  'f'),    ('rdiff',  'i')])   #  Plot  the  data  with  invisible  points.   scatter(mlb['rdiff'],  mlb['w'],  s=0)   xlabel('Run  differential')   ylabel('Wins')   #  Put  team  names  at  the  data  points.   for  (t,  w,  rd)  in  zip(mlb['team'],  mlb['w'],  mlb['rdiff']):     text(rd,  w,  t,  size=9,           horizontalalignment='center',  verticalalignment='center')               #  Perform  the  linear  regression   m,  b,  r,  p,  stderr  =  stats.linregress(mlb['rdiff'],  mlb['w'])   #  Get  endpoints  of  regression  line  and  plot  it.   rdMin  =  min(mlb['rdiff'])   wMin  =  m*rdMin  +  b   rdMax  =  max(mlb['rdiff'])   wMax  =  m*rdMax  +  b   plot([rdMin,  rdMax],  [wMin,  wMax])   show()
  31. OpenGeoDa • Spatial Data Manipulation • Visualization and Queries •

    Mapping • Exploratory Data Analysis • Spatial Statistics https://geodacenter.asu.edu/
  32. If You... • Put points on a map and throw

    up a scale bar • Perform geoprocessing without Python or Model Builder • Have a job description of “Plotter Operator” • Have no idea what “fuzzy tolerance” is
  33. If You... • Embrace Python as your GIS tool of

    choice. • Use Model Builder to automate your work flows. • Learn new tools such as TileMill/Mapnik/ PostGIS
  34. GIS