Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or...

47
Overview Dennis L. Johnson

Transcript of Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or...

Page 1: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Overview

Dennis L. Johnson

Page 2: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

What is GIS?

• Geographic Information System• Geographic implies of or pertaining to the

surface of the earth• Information implies knowledge of or

collection of some form of data• and finally, a system implies some form of

organization, arrangement, etc.. Perhaps a framework?

Page 3: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

GIS Components

• Overview Components:– Data

– Maps/Views/Layouts

– Spatial Analysis

• Physical Components– software

– hardware

– data

– users

– need/application

Page 4: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

GIS Software

• Many types• Around for > 30 years• Only really prevalent for ~20 yrs?• We will be using ArcView by ESRI• Also ArcInfo by ESRI• GIS software is loosely defined• Some more applicable to certain tasks - ERDAS

for example.

Page 5: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Hardware

• Software may dictate hardware in some cases

• Generally:

• computer

• database

• printers and plotters, etc....

Page 6: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Data

• From many sources

• field collected

• spatial in nature

• point, line, polygons, grids

• METADATA!!!!!!!

Page 7: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Users

• Very wide range

• some users, some doers, etc...

• some want pictures

• some want answers

• some want to do analysis

• know your audience!

• know your needs!

Page 8: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Applications

• What is the desired final product?

• Will the tasks be repeated over and over?

• Or is this a one time application?

Page 9: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

What does a GIS do?

• Input data

• Manage data

• Manipulate data

• Perform analyses

• Produce output - maps, charts, a single number?

Page 10: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Let’s jump right to Arcview

• Organizes your data into a PROJECT

• A PROJECT contains:

• views, tables, charts, layouts, and scripts.

• Each of the above components also contains so-called components.

• Notice that I did not mention DATA!!!!!

Page 11: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Views

• Display themes or geographic data

• A view has an area for displaying the theme and an area for the “table of contents” - or what views are presently loaded.

Page 12: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.
Page 13: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Tables

• Display tabular data or the descriptive attributes of the elements in the data set.

Page 14: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.
Page 15: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Charts

• Display data graphically

• Different than the map type displays

Page 16: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.
Page 17: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Layouts

• The whole shebang?!?!?!

• Put it all together

Page 18: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Scripts

• Small computer programs

• Allow repeatability.....

• AVENUE

• Extensions

Page 19: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Database Structures

Page 20: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Database Structures

• The database structures allow very powerful relationships:

• one-to-one - site one is a corn field - one site --> one land use..

• One-to-many - Many sites are corn fields.... Corn fields are code #1 and in another file - code #1 is corn field!

• Many-to-many - a site may have several research quadrates, which in turn has many point sampling sites, which in turn has multiple species.....!!!!

Page 21: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Relational Database Management Systems

• Use ROWS or RECORDS

• and PRIMARY KEYS

• Let’s look at an example.....

Page 22: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

A relational database...Quadrat # Collector Date Site no.

1 Smith 6/10/96 22 Jones 7/1/96 53 Johnson 8/5/97 1

Quadrat # Species # Lat Long.1 3 35.19 72.401 4 35.18 72.362 2 35.21 72.51

Species # Name Type1 Conomyrma insana Generalist2 Pogomomyrmex rugosusSpecialist3

Page 23: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Basic Data Structures

• Points

• Lines

• Polylines

• Polygons

• Raster Data

Page 24: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Points

• A single X,Y coordinate pair...

• Location in space is provided...

• May now be attributed

• What types of data may be best represented by a point?

Point #1 - X,Y

Page 25: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Lines

• Connected Points• Multiple X,Y coordinate pairs.• 2 points make up a line• What do 3 points make up?• What types of attributes can you add to a line?• A collection of lines in a complex form may be

called a NETWORK.• What is best represented with a LINE?

Page 26: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Polygons

• What differentiates a polygon from a line?

• What type of attributes can we think of for a polygon?

• What is best represented by a polygon?

Page 27: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Raster Data Structures

• A gridded approach.

• Each grid cell is a constant value

• Grid cells are generally a constant size or shape

Page 28: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Raster, cont...

• What are some advantages?

• Disadvantages?

• What might we represent with RASTER structures?

• How might you convert a point, line, polygon to raster?

Page 29: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

FEATURES

These points, lines, polygons are called features....

We will leave raster data alone for a while..

Page 30: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Feature Representation

• We represent the features in space with coordinates....

• We may attribute them.

• In order to define relationships (spatially) - or between and among themselves...

• We must provide topology.

Page 31: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Topology

• Best illustrated rather than stated...

Nodes: from node and to node - what does this imply?

Page 32: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Topological Model

Using FROM NODES and TO NODES, I can assign direction and left and right attributes - this requires and additional file!

Topological models are essential for some of the advanced GIS tasks..

1

2

Page 33: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

ArcView

• Shapefiles - the native file structure

• Non-topological!

• Are used to store geometric and attribute information

Page 34: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Shapefiles - multiple files

• .shp - feature geometry

• .shx - index of the geometry

• .dbf - dBASE file for attributes

• may also see:

• .sbn, .sbx, .fbn, .fbx, ain, .aih

• and : .prj

• and : .xml

Page 35: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

What’s a Project?P ro jec t C om p on e n ts

V ie w sV ie w 1V ie w 2

T a b lesT a b le 1T a b le 2

C h a rtsC h a rt 1C h a rt 2

L a yo u tL ayo u t 1L ayo u t 2

P ro je ctX X X X X .a pr

Project may contain several types of “documents”

Page 36: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

A Project is also a file - .apr

Page 37: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

3 Main Parts of a Project

• Documents - provide different means of visualizing and interacting with your data: views, tables, layouts, script editors, and charts.

• GUI’s - Document User Interfaces (DocGUIs) define the controls used to interact with the documents. DocGUIs may be system defined or local to the project.

• Scripts - are written in Avenue and perform various tasks in ArcView.

Page 38: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

The parts of a project are actually “objects” or often “classes”

How many have heard of Object Oriented Programming?

Page 39: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

!Note!

I did not say that a project contains DATA!

Page 40: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

In fact... A project file refers to data

Path: c:/temp/quinter/gravidfemales.shp

Page 41: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

The files are in a directory

Page 42: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

That directory is generally called:

The WORKSPACE

Page 43: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Recap the PROJECT

• The project (a file) contains information about the “documents” (tables, charts, views, etc..) that are associated with the project.

• It does not contain data!• Rather it refers to the data in the WORKSPACE.• The default WORKSPACE is often the “temp”.

Page 44: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Points to be made

• If you DELETE the project - you do not delete the data.

• If you DELETE the data the project is still there (in theory) but not in reality! WHY?

Page 45: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

This is what happens

The project file was looking for a theme called “hlshd7”

Page 46: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

A Common Pitfall

• You work and create a theme or 2 and SAVE the project. Everything looks fine.

• You even shut down ArcView and start it back up again at the same computer and it works fine.

• Later that week - you are working on the project and you fire up ArcView and:

Page 47: Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.

Ughhh - the sequence begins...

“Dr. Johnson - I did everything you said and this is the message I got....”

I know he never told me aboutthat workspace thing!