IMAGIN 2013 Keynote - The Future of GIS: Gotta Wear Shades

IMAGIN 2013 Keynote - The Future of GIS: Gotta Wear Shades

1e1293843b57cc564b268f36f729a771?s=128

James Fee

April 28, 2014
Tweet

Transcript

  1. 3.
  2. 4.
  3. 7.
  4. 12.
  5. 13.
  6. 14.

    CAD

  7. 16.
  8. 18.
  9. 19.
  10. 20.
  11. 21.
  12. 22.
  13. 23.
  14. 26.
  15. 27.
  16. 30.
  17. 32.

    Problems with Wizards • Wizards cause us to conform •

    Options are either preset or confusing • Lack of documenting the process
  18. 34.
  19. 35.

    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!
  20. 36.

    The “New” Way • 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
  21. 38.

    The “Classic” Way • Start up Command Prompt (about a

    second) • Type simple command (BUILD, CLIP, etc) • Hit Enter • Tell everyone how hard it was
  22. 39.
  23. 40.
  24. 41.

    Scripting With GIS • AML • SML • Avenue •

    Visual Basic for Applications * • VBScript • JavaScript • Perl • Tcl • Python
  25. 42.

    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
  26. 43.

    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.
  27. 46.

    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)
  28. 48.

    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)
  29. 53.

    Where GIS is headed… 1. Mobile 2. Hosted 3. Specialized

    4. Generalized 5. Scripted 6. 3D 7. Responsive
  30. 54.
  31. 58.
  32. 59.

    3D