Preliminaries: -- vector, raster, shapefiles, feature classes.

Slides:



Advertisements
Similar presentations
Get Started with GIS Mapping Part 2 of 3 Madhu Lakshmanan.
Advertisements

School of Geography FACULTY OF ENVIRONMENT Working with Tables 1.
Tables Recall A view displays features A feature is a geographic component of a theme and must have attributes to have significant meaning......
Importing GPS Data Lecture 13. EasyGPS  Free software for downloading waypoints  EasyGPS ( EasyGPS  Free software for downloading.
Creating a County ArcMap with Fiscal Year Conservation Practice Locations David Hoover ASTC, Idaho 2007 DC Meeting.
RGS-IBG Online CPD course in GIS Exploring ArcGIS Session 5.
Concepts of Database Management Sixth Edition
Concepts of Database Management Seventh Edition
Lecture 16: Data input 1: Digitizing and Geocoding By Austin Troy University of Vermont Using GIS-- Introduction to GIS.
Fundamentals of GIS Materials by Austin Troy © 2008 Lecture 18: Data Input: Geocoding and Digitizing By Austin Troy University of Vermont NR 143.
Chapter 2 Querying a Database
Intro to ArcGIS Kate Dougherty, Geosciences & Maps Librarian Tutorial created for version 10.1 in February 2013.
Intro. To GIS Lecture 6 Spatial Analysis April 8th, 2013
@ 2007 Austin Troy. Geoprocessing Introduction to GIS Geoprocessing is the processing of geographic information. Perform spatial analysis and modeling.
Access Tutorial 3 Maintaining and Querying a Database
Rebecca Boger Earth and Environmental Sciences Brooklyn College.
Habitat Analysis in ArcGIS Use of Spatial Analysis to characterize used resources Thomas Bonnot
Introduction to ArcGIS for Environmental Scientists Module 2 – Fundamentals Lecture 6 – Table Functions.
Selecting and Displaying Features. Why do you need to select features? Why do you need to select features? Selection methods Selection methods Select.
Preparing Data for Analysis and Analyzing Spatial Data/ Geoprocessing Class 11 GISG 110.
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.
GIS 1 GIS Lecture 4 Geodatabases. GIS 2 Outline Administrative Data Example Data Tables Data Joins Common Datasets Spatial Joins ArcCatalog Geodatabases.
Fundamentals of GIS Materials by Austin Troy © 2008 Lecture 18: Data Input: Geocoding and Digitizing By Austin Troy University of Vermont.
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.
Martin Dodge Practical 2, 24th March 2004, pm Social Science Research Methodologies.
Concepts of Database Management Seventh Edition
GIS 1 GIS Lecture 4 Geodatabases Copyright – Kristen S. Kurland, Carnegie Mellon University.
ArcGIS: ArcMap Tables. Agenda Opening tables The interface Working with columns Working with records Making selections Advanced table tools ▫Add fields.
Data Queries Selecting features in ArcMap Data queries  Important part of a GIS project Can be a part of your data preparation or final analysis  Data.
Pasewark & Pasewark 1 Access Lesson 3 Creating Queries Microsoft Office 2007: Introductory.
School of Geography FACULTY OF ENVIRONMENT Querying with ArcGIS.
NSF DUE ; Wen M. Andrews J. Sargeant Reynolds Community College Richmond, Virginia.
Selecting features in ArcMap
Introduction to Geographic Information Systems Fall 2013 (INF 385T-28620) Dr. David Arctur Research Fellow, Adjunct Faculty University of Texas at Austin.
How to join a table to arcmap Using the MUKEY and MUIID.
Learning the Basics of ArcMap 3.3 Updated 4/27/2010 Using Arc/View pt. 1 1.
Geocoding Chapter 16 GISV431 &GEN405 Dr W Britz. Georeferencing, Transformations and Geocoding Georeferencing is the aligning of geographic data to a.
Geocoding Chapter 16 GISV431 &GEN405 Dr W Britz. Georeferencing, Transformations and Geocoding Georeferencing is the aligning of geographic data to a.
Introduction to GIS Programming Final Project Submitted by Todd Lenkin Geography 375 Spring of 2011 American River College.
Lecture 18: Spatial Analysis Using Rasters Jeffery S. Horsburgh CEE 5190/6190 Geographic Information Systems for Civil Engineers Spring 2016.
GEOCODING Fall 2016 Library Workshop.
Key Terms Attribute join Target table Join table Spatial join.
A Look at Creating & Updating Point Files
Module 4: Building Reports
GIS Institute Center for Geographic Analysis
Chapter 4 Attribute Data.
WOCAT Mapping methodology
Demo #5: creating a point shapefile from Excel tables
Mastering ArcGIS Attribute Data (Continued)
Attribute Extraction.
Relational Algebra Chapter 4, Part A
Spatial Data Processing
Microsoft Office Access 2003
Location and Attribute Queries
Tutorial 3 – Querying a Database
Graphical Interface for Queries
Module 5: Data Cleaning and Building Reports
Hazards Planning and Risk Management
Hazards Planning and Risk Management
Preparing raster files for Condatis
Microsoft Office Access 2003
Relational Algebra Chapter 4, Sections 4.1 – 4.2
Learning the Basics of ArcMap 3.3 Updated 4/27/2010
GIS Institute Center for Geographic Analysis
Spreadsheets, Modelling & Databases
Vector Geoprocessing.
Guidelines for Microsoft® Office 2013
Sokna Sek – MOH/DPHI Leng Ing – MOH/DPHI Sat Chap – MOH/DPHI
GIS Institute Center for Geographic Analysis
Joining Your Data to a Map
Presentation transcript:

Preliminaries: -- vector, raster, shapefiles, feature classes

Mapping Tabular Data

Problem: The available data is somehow not in the right form to create the map you want. Too much irrelevant data? Data is not spatial? -- has coordinates? -- has addresses? -- has neither, but . . . . Spatial data is on the wrong spatial units or you need to combine two spatial datasets?

Data Prep Techniques Too much irrelevant data? query or “select” a subset of the data Data table is not spatial? -- has coordinates? -- has addresses? -- has neither, but . . . . plot XY coordinates geocoding “join” data table to a matching shapefile Spatial data is on the wrong spatial units or you need to combine two spatial datasets? “spatial join” two GIS layers based on location

GIS Data Queries

Why subset? . . . . Your answer will help decide on a method. Geographic extent is greater than needed for a small study area. Highlight a subregion for cartographic purposes. Perform analysis on a subregion.  Use simple point and click select.  Shift-click allows you to draw a box and select its contents. Control-click lets you choose several separated features.

Point and click Select also works in the attribute table. fields (attributes) Records (each corresponds to a feature) how many selected records field values Records can be sorted according to the values in a field.

Subset based on attributes instead of physical location. limit to certain years limit to certain populations include or remove features with certain characteristics eliminate bad values Subset based on a combination of attributes.  Use “Select by Attribute.”

Calculator interface helps build a SQL expression to query the table. list of fields list of available values logical operators Compose an expression.

Screened out 572 bathrooms that required a key or payment. We could pare this subset down even further.

Data selection is ephemeral. While the selection is active, tools run on the layer will only operate on the selected features. To make several different selections or to set a symbology for a selection, you can “create layer from selected features” by Right-Click > Selection > Create Layer from Selected Features. To keep a permanent copy of the selected subset for re-use, export it as a shapefile by Right-Click > Data > Export.

Mapping Aspatial Data

Some interesting data are not available as GIS shapefiles or feature classes. The most common format is .csv – a simple text list with values separated by commas. If the file has fields for latitude and longitude (or X and Y coordinates), we can map the records as points. Decide whether the coordinates are lat/lon or something else. Lat/lon values are between -180 and 180. Large numbers indicate meters or feet.

An events layer is also ephemeral unless you export it. Most tools will not run on an events layer.

What if there are no latitudes and longitudes given What if there are no latitudes and longitudes given? Or if we don’t want the information as points?  IF we have a geographic layer (vector) AND IF the values in some field from the non-spatial table exactly match values from a field in the attribute table for the geographic layer  THEN we can “join” the two tables.

The other table gets chopped apart and matched to the target layer. This is the right-hand table, called the join layer. When joining data, one table stays intact. This is the left-hand table, called the target layer. After the join, records from the target layer get extra columns containing the relevant information from the join table.

The fields that match exactly are called the join key.

New fields from joined table, nulls where there was no match. Joined tables are also ephemeral, and joins are easy to remove. If you will need to use the joined layer repeatedly, be sure to export. *Note that this join was “one-to-one.” The states layer still has 51 records. Where there were duplicates, the first record was chosen. There are ways to join one-to-many and many-to-one.

Spatial Joins

Sometimes it can be helpful to join two spatial layers together, based on the spatial locations of their features. For example, it might be useful to know which county each mine is in. Or, we might want to know which counties have a mine and how many.

In ArcMap, the join dialog box has a spatial option In ArcMap, the join dialog box has a spatial option. There is also a toolbox tool for Spatial Join. When the points are used as the target layer (left-hand), new fields are added showing which county each falls in. This join is many-to-one -- several mines are joined to the same county, with duplicate copies of the county record.

When the county polygons are used as the target layer, new choices have to be made. New fields are added to the counties, including a count of how many cat litter mines each county contained, and most unhelpfully, the average zip code and coordinates of the mine. Be careful when you ask for statistics!! This join is one-to-many, where the many mines are summarized to one value per county.

The “count” field allows us to symbolize the map to show the abundance of cat litter mines by county. *Note: in ArcMap, the output of a Spatial Join is durable – a new saved shapefile.