GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong...

42
GIS WORKSHOP FOR VACCINE Nicole Kong ([email protected]) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch ([email protected]) GIS and Data Curation Fellow

Transcript of GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong...

Page 1: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS WORKSHOP FOR VACCINE

Nicole Kong ([email protected])GIS Specialist, Assistant Professor of Library Science

B. Dewayne Branch ([email protected])GIS and Data Curation Fellow

Page 2: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Agenda

GIS Introduction Spatial Analysis Geodatabase Web GIS Resources on Campus

Page 3: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Agenda

GIS Introduction Spatial Analysis Geodatabase Web GIS Resources on Campus

Page 4: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction - Concept

GIS stores information about the world as a collection of thematic layers that can be

linked together by geography.

Map + Information

Polygon 3 Scrub 17 Very high Clay

Page 5: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Data TypesTwo fundamental types of data Vector

A series of x,y coordinates For discrete data represented as points, lines, polygons

Raster Grid and cells For continuous data such as elevation, slope, surfaces

Page 6: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Data Type

Vector data model:Best for representing discrete objects with defined shapes and boundaries.

P o i n t sP o i n t I D X Y 1 3 2 . 7 4 5 . 6 2 7 6 . 3 1 9 . 5 3 2 2 . 7 1 5 . 8e t c … . .

1 2

3 4

O r g a n i z a t i o n

L i n e s 6

9

1

2 3 9

AB

C L i n e B e g i n E n d I D P o i n t P o i n t

A 6 9 B 9 1 C 2 3 9 1e t c … . .

P o l y g o n s

1 3

2 2

4 195 4

1 1

1 2

5 2

5 3

P o l y g o nI D L i n e s

A 1 1 , 1 2 , 5 2 , 5 3 , 5 4

B 5 2 , 5 3 , 9 , 4 1 , 2 2 , 1 3

Page 7: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Data Type

Raster data model:

Page 8: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – File FormatCommon GIS file format:

Vector: ESRI Shapefiles (*.shp, *.dbf, *.prj, *.sbn, *.sbx,*.shp.xml).

Geodatabase (feature class).

Kml (kmz) file.

Spread sheet with lat/long.

Raster: Geotiff, geodatabase, mosaic dataset, dem, etc.

Open file format: Open Geospatial Consortium (OGC) standard.

DEMO: File format conversion

Page 9: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction - Software

ArcGIS (ESRI Inc.): ArcMap Desktop application + Extension

ArcGIS for Office

QGIS:

Google Earth:

Web GIS: ArcGIS Server.

Google map API.

Open Layers.

Leaflet.

GeoCommons.

Page 10: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Basic functions

Create a map

Attribute table, table manipulation

Map customization (symbology)

Selection

Data editing

Export map

DEMO

Page 11: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Advanced Topics

Adding address data, or XY coordinates

Time Animation

3D visualization

Development based on ArcObject

DEMO

Page 12: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Agenda

GIS Introduction Spatial Analysis Geodatabase Web GIS Resources on Campus

Page 13: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Spatial Analysis

Overlay

Buffer Analysis

Dissolve

Network Analysis

Spatial Regression

Spatial Interpolation

Spatial Statistics

Model Builder and Python Scripting

Page 14: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Overlay1. Spatial Overlay:Spatial overlay is accomplished by joiningand viewing together separate data sets that share all or part of the same area.

The result of this combination is a new data set that identifies the spatial relationships.

Page 15: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Buffer Analysis

2. Buffer analysis:

Driving distance buffer: http://developers.arcgis.com/javascript/samples/fl_selection/

identifying areas surrounding geographic features

Page 16: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Spatial Analysis

3. DissolveAggregates features based on specified attributes.

Page 17: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Network Analysis4. Network Analysis

Major features: Routing to multiple stops Finding closest facilities Service area analysis Origin Destination (OD) cost matrix

DEMO

Page 18: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Spatial Relathionship

5. Spatial Regression• Geographically Weighted

Regression (GWR)A local form of linear regression used to model spatially varying relationships.

Exploratory Regression

Page 19: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Spatial Interpolation

6. Spatial Interpolation

- Use those sample points to predict values of variable of interest at all other unsampled locations.

Interpolation Method:

- Inverse Distance Weighted- Trend Surface- Natural Sampling- Splines- Kriging

Page 20: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Spatial Statistics

7. Spatial Statistics: analyzing spatial distributions, patterns, processes

Sample questions:• Is there spatial clusters?

– Analyze patterns

• Where are the clusters?/Where are the outliers? -- Mapping clusters

• Which features are most alike?-- Grouping analysis

• Access overall spatial pattern--Spatial auto-correlation

Page 21: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction – Spatial StatisticsIs there any spatial cluster?

Clustered vs. Dispersed(Average Nearest Neighbor)

Low cluster vs. High cluster(High/Low Clustering)

Page 22: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Where are the clusters?

Hotspot analysis(Getis-Ord Gi*)

Input fields

GIS Introduction – Spatial Statistics

Page 23: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Which features are most alike?Grouping features based on feature attributes and optional spatial/temporal constraints.

Maximize both within-group similarities and between-group differences by trying every combination of features.

GIS Introduction – Spatial Statistics

Page 24: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Access overall spatial pattern

Incremental Spatial Auto-correlation:• Measures spatial

autocorrelation for a series of distances.

• Z-scores reflect the intensity of spatial clustering.

• Statistically significant peak z-scores indicate the spatial scale promoting clustering are most pronounced.

GIS Introduction – Spatial Statistics

Page 25: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction –Model Builder & Python Scripting

Model Builder:

DEMO

Page 26: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS Introduction –Model Builder & Python Scripting

Python Basics:

• Platform:ArcGIS Python Window, IDE (Integrated development environment) such as PythonWin, with debugging tools.

• Can be run either in command line or as individual module.

• Help: User ArcGIS help system to find usage, command syntax and scripting examples.

• ArcPy

DEMO

Page 27: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Agenda

GIS Introduction Spatial Analysis Geodatabase Web GIS Resources on Campus

Page 28: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Geodatabase BasicsGIS Data in the

Geodatabase (GDB)• Attribute Table

• Feature Class

• Feature Dataset

• Cartographic

Representation

• Annotation

• Dimension

• Relationship Class

• Mosaic Dataset

• Raster Dataset

• Raster Catalog

• LiDAR Dataset

• Topology

• Geometric Network

• Terrain

• Locator

• Parcel Fabric

• Toolbox

• Attachments

• Subtypes/Domains

RDBMS

Enterprise GDBFile GDB

Multi-UserGDB

Single-UserGDB

Page 29: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

ArcGIS for Server & DatabasesFile Geodatabase or SDE…?

RDBMS

Multi-UserGDB

RDBMS

Multi-UserGDB

Single-UserGDB

Single-UserGDB

• No DBA• Static Data • Read Only applications• Map Caching• Can participate in 1 way replication

•DBA manages data•Require Versioning•Web Editing required•2 Way Replication workflows

Page 30: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Agenda

GIS Introduction Spatial Analysis Geodatabase Web GIS Resources on Campus

Page 31: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Web GIS – ArcGIS ServerImplemented as capabilities of

ArcGIS Server services

Map Service WMS, WCS, WFS, KML, WMTS

(10.1)

Image Service WMS, WCS, KML

GeoData Service WCS, WFS, KML

Geoprocessing Service WPS (10.1)

Page 32: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Service publishing workflowPublishing GIS Services to ArcGIS for Server

Share as service

Fix

Publish

Errors

Stage

Configure Properties Analyze

Service deployed

and started

Service Editor

No

Yes

Save an sd draft or discard

Exit

Page 33: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Common service capabilities

•Mapping Dynamic

Server needs to retrieve data Option to cache

• Tiled Mapping (cached) Pre-rendered tiles at different scales Improved performance

•Feature Access Serve feature geometry and symbology Allows for editing and querying

1:250,000

1:500,0001:1,000,000

Page 34: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Web GIS – ArcGIS Server APIs

Workflow:Data collection/compilation -> Creating map/geoprocessing in desktop ->Publish via ArcGIS Server -> Web APIs or Mobile SDKs

ArcGIS Server Rest Service Endpoint

Three flavors: Javascript Flex Silverlight

Page 35: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Web GIS – ArcGIS Server APIs

Javascript API Web App development (Mashup) Client side web app:

HTML + JavaScript + CSS Framework:

Dojo ArcGIS API for JavaScript

Page 36: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Agenda

GIS Introduction Spatial Analysis Geodatabase Web GIS Resources on Campus

Page 37: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Resources on Campus - Learning

GIS classes offered at Purdue:

ESRI virtual campus classes: http://www.esri.com/training/

Contact Nicole Kong ([email protected]) for course code.

ESRI Live Training Seminars :

Libraries Book Collection:

Library Support: [email protected], or [email protected]

GIS community at Purdue: (https://engineering.purdue.edu/ECN/mailman/listinfo/purduegis)

ESRI forum:

Page 38: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Resources on Campus - Software

ESRI educational license:ArcGIS Desktop, all extensions (including spatial analysis, 3D analysis,

geostatistics, etc.), ArcGIS Server, ArcSDE database, ArcPad, CityEngine, etc.

ESRI free student 1 year license:Contact Nicole Kong ([email protected]) for license.

ArcGIS Online, geocoding, ArcGIS for office:

Free products: QGIS, Google Earth.

Google Earth Pro.

GeoServer.

Page 39: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Resources on Campus - Data

GIS data LibGuide:Data by Theme

Data by State

Databases:SimplyMap

Proquest Statistical Dataset

Reference USA

Geodata Portal:Geodata @ Purdue (in construction)

Page 40: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Resources on Campus - Library

Technical support:

Data access:

Data sharing:

Data collection strategies:

Project planning:

Web GIS and mobile GIS development:

Page 41: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

GIS WORKSHOP FOR VACCINE

Nicole Kong ([email protected])GIS Specialist, Assistant Professor of Library Science

B. Dewayne Branch ([email protected])GIS and Data Curation Fellow

Page 42: GIS workshop for vaccine - oldsite.lib.purdue.edu · GIS WORKSHOP FOR VACCINE Nicole Kong (kongn@purdue.edu) GIS Specialist, Assistant Professor of Library Science B. Dewayne Branch

Exercise

Demo Exercise document Survey

http://mapsdev.lib.purdue.edu/WS/