GIS Tutorial 1 Lecture 4 Geodatabases. Outline  Data types  Geodatabases  Data table joins  Spatial joins  Field calculator  Calculate geometry.

Slides:



Advertisements
Similar presentations
KEYS TO SUCCESS DATA PREPARATION AND ORGANIZATION
Advertisements

School of Geography FACULTY OF ENVIRONMENT Working with Tables 1.
Importing GPS Data Lecture 13. EasyGPS  Free software for downloading waypoints  EasyGPS ( EasyGPS  Free software for downloading.
Ryan Hartley First District CREATING GIS DATA AND OTHER GIS TIPS AND TRICKS.
Return to Outline Copyright © 2009 by Maribeth H. Price 6-1 Chapter 6 Spatial Joins.
ArcGIS Geodatabase Miles Logsdon Spatial Information Technologies, UW Garry Trudeau - Doonesbury.
19 th Advanced Summer School in Regional Science An introduction to GIS using ArcGIS.
ArcCatalog and Geodatabases
©2007 Austin Troy Lecture 7: Introduction to GIS 1.Queries and table operations for a single layer in Arc GIS 2.Intro to queries in Access Lecture by Austin.
GIS Tutorial 1 Lecture 6 Digitizing.
GIS 1 Copyright – Kristen S. Kurland, Carnegie Mellon University GIS Lecture 9 Spatial Analysis.
GIS in a Nutshell with ArcGIS 10.2
Intro. To GIS Lecture 6 Spatial Analysis April 8th, 2013
ESRM 250 & CFR 520: Introduction to GIS © Phil Hurvitz, KEEP THIS TEXT BOX this slide includes some ESRI fonts. when you save this presentation,
Basics of thematic mapping in GIS (ArcMap) Kelly Clonts Presentation for UC Berkeley, D-Lab October 29 th, 2014.
Intro. To GIS Lecture 4 Data: data storage, creation & editing
GIS 1 Attribute Tables. GIS 2 Data table format Rectangular table with one value per cell - Columns (fields) are attributes - Rows are observations (data)
Lecture 4 Geodatabases. Geodatabases Outline  Data types  Geodatabases  Data table joins  Spatial joins  Field calculator  Calculate geometry 
Introduction to ArcGIS for Environmental Scientists Module 2 – Fundamentals Lecture 6 – Table Functions.
ArcGIS Overview Lecture 1: Software Layer characteristics Thematic maps.
GIS UPDATE? Lecture 17 Lab 8: Music Festival, Part 2 – Spatial Analysis.
Lecture 4 Data. Why GIS? Ask questions Solve a problem Support a decision Make Maps Involve others, share data, procedures, ideas.
The Attribute Table! Without the attribute table, a polygon is just a polygon, a point is a point The attribute table defines what points, lines, or polygons.
Geographic Information Systems Using ESRI ArcGIS 9.3 Advanced Editing: Attribute Table.
GIS 1 GIS Lecture 4 Geodatabases. GIS 2 Outline Administrative Data Example Data Tables Data Joins Common Datasets Spatial Joins ArcCatalog Geodatabases.
Exercise 1: Creating GIS data—points lines and polygons A very common method of creating vector data is to physically create these files through on-screen.
Attributes in ArcGIS. ArcGIS Attributes FID – ESRI’s internal identifier Shape – Actual spatial data.
Introduction to the Geodatabase. What is a Geodatabase? What are feature classes and feature datasets? What are domains Design a personal Geodatabase.
Copyright © 2006 by Maribeth H. Price 2-1 Chapter 2 Working with ArcMap.
GIS Tutorial 1 Lecture 9 Spatial Analysis.
GIS 1 GIS Lecture 4 Geodatabases Copyright – Kristen S. Kurland, Carnegie Mellon University.
Introduction to GeoDatabase Lecture
ArcCatalog and Geodatabases Francisco Olivera, Ph.D., P.E. Srikanth Koka Department of Civil Engineering Texas A&M University.
Arch: 383 Introduction to GIS Week 2 Introduction to GEOGRAPHIC INFORMATION SYSTEMS Can Kara Faculty of Architecture 2011 ARC 383.
Introducing ArcGIS Chapter 1. Objectives  Understand the architecture of the ArcGIS program.  Become familiar with the types of data files used in ArcGIS.
Seattle Monorail Impact Project A GIS Study on Impacts of the New Seattle Monorail By: Wiley Coffin, Kyle Crass, Kyle Freeman, Ken Hunziker, Tony Marti.
ATN GIS Support ArcGIS: ArcCatalog.
Intro to GIS | Summer 2012 Attribute Tables – Part 1.
ArcGIS: ArcCatalog. Agenda The ArcCatalog Interface General ArcCatalog ▫Navigating directories ▫Preview data ▫View metadata Advanced ArcCatalog ▫Modifying.
Geographic Data in GIS. Components of geographic data Three general components to geographic information Three general components to geographic information.
Geographic Information Systems Using ESRI ArcGIS 9.3 Arc Catalog File Management.
Return to Outline Copyright © 2009 by Maribeth H. Price 4-1 Chapter 4 Attribute Data.
Co-sponsored by the MIT Libraries and IS&T GIS Lab website: Advanced ArcGIS.
Lecture 7 Basic GIS Analysis Operations
NR 322: Editing Attributes Jim Graham Fall 2008 Chapter 6.
Geodatabase Kyung Hee University Geography Jinmu Choi 1.
Data Visualization and Best Practices Webinar. Overview Environmental Data Sources and Considerations  SDWIS, radon labs, local health departments, for.
Introduction to GIS Programming Final Project Submitted by Todd Lenkin Geography 375 Spring of 2011 American River College.
Lecture 9: Building a Geodatabase Jeffery S. Horsburgh CEE 5190/6190 Geographic Information Systems for Civil Engineers Spring 2016.
University of Texas, Arlington.
Key Terms Attribute join Target table Join table Spatial join.
A Look at Creating & Updating Point Files
Lab 1 Introduction to ArcGIS Feb 17, 2016
Mastering ArcGIS Attribute Data (Continued)
Types of geodatabases Introduction to GIS - Student notes
Hazards Planning and Risk Management INTRODUCTION TO ARCGIS
Hazards Planning and Risk Management INTRODUCTION TO ARCGIS
Raster and Vector Data.
GIS Lecture: Spatial Joins
Preliminaries: -- vector, raster, shapefiles, feature classes.
GIS Lecture: Geodatabases and Aerial Photography
ArcCatalog and Geodatabases
Feature Classes, Data File Formats in ArcGIS
GIS Lecture: Data.
Working Spatial Data File Geodatabase
GIS Lecture: Editing Data
ArcCatalog and Geodatabases
GIS Lecture: Data.
GIS Lecture: Data Tables
ArcCatalog and Geodatabases
Presentation transcript:

GIS Tutorial 1 Lecture 4 Geodatabases

Outline  Data types  Geodatabases  Data table joins  Spatial joins  Field calculator  Calculate geometry  ArcCatalog functions 2 GIS TUTORIAL 1 - Basic Workbook

DATA TYPES Lecture 4 3 GIS TUTORIAL 1 - Basic Workbook

Directly loadable data types  dBase (.dbf)  Text with comma (.csv) or tab-separated values (.txt)  Microsoft Access (.mdb)  Microsoft Excel (.xls) 4 GIS TUTORIAL 1 - Basic Workbook

Data table formats  First row must have attribute names with self-documenting labels  (e.g. Pop5To17, Area)  Usual naming convention  first character is a letter  remaining characters be any letters, digits, or the underscore character  All additional rows of a data table need to contain attribute values  None of the rows can be sums, averages, or other statistics of raw data rows 5 GIS TUTORIAL 1 - Basic Workbook

Data table formats  dBase field names  Maximum 10 characters 6 GIS TUTORIAL 1 - Basic Workbook

GEODATABASES Lecture 4 7 GIS TUTORIAL 1 - Basic Workbook

Geodatabase types Manages features and tables inside a database management system  File geodatabase  stores datasets in a folder of files  each dataset a file up to 1 TB in size  can be used across platforms  can be compressed and encrypted for read-only, secure use  ESRI’s recommended choice 8 GIS TUTORIAL 1 - Basic Workbook

Geodatabase types  Personal geodatabase  stores datasets in a Microsoft Access.mdb file  storage sizes between 250 and 500 MB  limited to 2GB  only supported on Windows  ArcSDE geodatabase  stores datasets in a number of optional DBMSs:  IBM DB2, IBM Informix, Microsoft SQL Server, Oracle, or PostgreSQL  unlimited size and users 9 GIS TUTORIAL 1 - Basic Workbook

New file geodatabase ArcCatalog 10 GIS TUTORIAL 1 - Basic Workbook

Import into geodatabase 11 GIS TUTORIAL 1 - Basic Workbook Shapefile features

Import into geodatabase  Tables 12 GIS TUTORIAL 1 - Basic Workbook

Export from geodatabase 13 GIS TUTORIAL 1 - Basic Workbook

Compact geodatabases  File and personal geodatabases  Reduces size and improves performance  Compact personal geodatabases > 250 MB.  Geodatabases with frequent data entry, deletion, or general editing  Open geodatabases in ArcMap cannot be compacted  remove any layers with a source table or feature class in that database from the TOC 14 GIS TUTORIAL 1 - Basic Workbook

Compress geodatabases  File geodatabases  Once compressed, a feature class or table is read-only and cannot be edited  Compression is ideally suited to mature datasets that do not require further editing  Compressed dataset can be uncompressed to return it to its original, read-write format 15 GIS TUTORIAL 1 - Basic Workbook

View geodatabases  Cannot identify names in Windows Explorer  Must use ArcCatalog 16 GIS TUTORIAL 1 - Basic Workbook

DATA TABLE JOINS Lecture 4 17 GIS TUTORIAL 1 - Basic Workbook

Data table joins  Putting two tables together to make one table  Join two tables one-to-one by row  Must have the same values and data types 18 GIS TUTORIAL 1 - Basic Workbook

Join example  Housing heating fuel study for U.S. Counties  Source: U.S. Census  Data table: Census SF3 table for heating fuel by county  Map Features: County polygons 19 GIS TUTORIAL 1 - Basic Workbook

Data table  Heating fuel table (Excel spreadsheet) 20 GIS TUTORIAL 1 - Basic Workbook

Data table  Heating fuel table data dictionary  H040001: Occupied housing units: House heating fuel; TOTAL Units  H040002: Occupied housing units: House heating fuel; Utility gas  H040003: Occupied housing units: House heating fuel; Bottled; tank; or LP gas  H040004: Occupied housing units: House heating fuel; Electricity  H040005: Occupied housing units: House heating fuel; Fuel oil; kerosene; etc.  H040006: Occupied housing units: House heating fuel; Coal or coke  H040007: Occupied housing units: House heating fuel; Wood  H040008: Occupied housing units: House heating fuel; Solar energy  H040009: Occupied housing units: House heating fuel; Other fuel  H040010: Occupied housing units: House heating fuel; No fuel used 21 GIS TUTORIAL 1 - Basic Workbook

Feature class  County polygons 22 GIS TUTORIAL 1 - Basic Workbook

Add data and features to map 23 GIS TUTORIAL 1 - Basic Workbook

Open attribute tables  Find common attribute to join 24 GIS TUTORIAL 1 - Basic Workbook

Data problem  FIPS has leading zero and is a TEXT field.  GEO_ID2 is a NUMBER field with no leading zeros. 25 GIS TUTORIAL 1 - Basic Workbook FIPS GEO_ID

Data solution  Make a new NUMBER field in Counties attribute table and use field calculator to populate new field from old 26 GIS TUTORIAL 1 - Basic Workbook

Data solution  New FIPS_NUM is same as GEO_ID2 and ready to join 27 GIS TUTORIAL 1 - Basic Workbook

Join tables 28 GIS TUTORIAL 1 - Basic Workbook

Join result  Heating fuel data is now listed for every county in the USCounties feature attribute table 29 GIS TUTORIAL 1 - Basic Workbook

Permanent joins  Joins are temporary and can be removed  Export data to make joins permanent 30 GIS TUTORIAL 1 - Basic Workbook

Choropleth map result 31 GIS TUTORIAL 1 - Basic Workbook

SPATIAL JOINS Lecture 4 32 GIS TUTORIAL 1 - Basic Workbook

Spatial join example  You have census block group centroids with housing fuel data  You want to know housing fuel data by neighborhoods  No attributes in common  Spatial join needed 33 GIS TUTORIAL 1 - Basic Workbook

Spatial joins  Points to polygons  Spatially joins points (block centroids) within polygons (neighborhoods)  Joins using “shape” (not attribute field) 34 GIS TUTORIAL 1 - Basic Workbook

Spatial joins  Right click polygon layer (neighborhoods) 35 GIS TUTORIAL 1 - Basic Workbook

Join result  New polygon feature 36 GIS TUTORIAL 1 - Basic Workbook

Join result  Counts and sums 37 GIS TUTORIAL 1 - Basic Workbook

Count result  Number of points in each polygon 38 GIS TUTORIAL 1 - Basic Workbook

Sum result  Every block group centroid has associated data  (e.g. H040004, heating electricity shown in labels) 39 GIS TUTORIAL 1 - Basic Workbook

Sum result 40 GIS TUTORIAL 1 - Basic Workbook  One neighborhood example  Central business district  4 block groups  Housing units with electricity fuel ( )  Sum = 799

Choropleth map result (sum) 41 GIS TUTORIAL 1 - Basic Workbook

Choropleth map result (sum) 42 GIS TUTORIAL 1 - Basic Workbook

Other spatial joins  Polygons to points  Example: ATM robberies (points) need neighborhood name 43 GIS TUTORIAL 1 - Basic Workbook

Polygon to point join result  Neighborhood name shows on each point 44 GIS TUTORIAL 1 - Basic Workbook

Other spatial joins  Points to points  Example: What is the distance of a burglary to the nearest commercial property? 45 GIS TUTORIAL 1 - Basic Workbook

Point to point join result  Distance to nearest commercial property shows on each burglary point 46 GIS TUTORIAL 1 - Basic Workbook

FIELD CALCULATOR Lecture 4 47 GIS TUTORIAL 1 - Basic Workbook

Sample functions  Performs numeric calculations  Populates field  Concatenates text data 48 GIS TUTORIAL 1 - Basic Workbook

Field calculator functions  Calculate acres to square miles 49 GIS TUTORIAL 1 - Basic Workbook

Field calculator functions  Populate field with county name GIS TUTORIAL 1 - Basic Workbook 50

Field calculator functions  Concatenate house number and street fields GIS TUTORIAL 1 - Basic Workbook 51

CALCULATE GEOMETRY Lecture 4 52 GIS TUTORIAL 1 - Basic Workbook

Polygon/point centroids  Advanced calculations for finding a polygon’s point centroid 53 GIS TUTORIAL 1 - Basic Workbook

Calculate XY fields  Add new X and Y fields in the attribute table GIS TUTORIAL 1 - Basic Workbook 54

Calculate XY fields  Calculate geometry for X field, repeat for Y GIS TUTORIAL 1 - Basic Workbook 55

XY field results  Results are X and Y values based on map properties (e.g. Long/Lat or XY feet) 56 GIS TUTORIAL 1 - Basic Workbook

Export XY coordinates 57 GIS TUTORIAL 1 - Basic Workbook

Add XY data table 58 GIS TUTORIAL 1 - Basic Workbook

Export as shapefile  XY events should be exported as permanent shapefile or feature class 59 GIS TUTORIAL 1 - Basic Workbook

Calculate area  Add area field and calculate geometry GIS TUTORIAL 1 - Basic Workbook 60

Calculate perimeter  Add perimeter field and calculate script 61 GIS TUTORIAL 1 - Basic Workbook

Calculate length  Add length field and calculate script 62 GIS TUTORIAL 1 - Basic Workbook

ARCCATALOG FUNCTIONS Lecture 4 63 GIS TUTORIAL 1 - Basic Workbook

Basic functions  Copy, paste, rename, etc. 64 GIS TUTORIAL 1 - Basic Workbook

View and edit properties  Projections, fields, etc. 65 GIS TUTORIAL 1 - Basic Workbook

View metadata 66 GIS TUTORIAL 1 - Basic Workbook

Edit metadata 67 GIS TUTORIAL 1 - Basic Workbook

Create new files  Geodatabases, tables, features, etc. 68 GIS TUTORIAL 1 - Basic Workbook

Summary  Data types  Geodatabases  Data table joins  Spatial joins  Field calculator  Calculate geometry  ArcCatalog functions 69 GIS TUTORIAL 1 - Basic Workbook