Https://geocompr.robinlovelace.net/adv-map.html Maps 1 EPID 799C Fall 2018.

Slides:



Advertisements
Similar presentations
Week 1: Introduction to GIS
Advertisements

Frank DeSimone Senior MicroStation Application Engineer
GUS: 0262 Fundamentals of GIS
Review of Key Geographic Concepts and Principals Nancy Lemay, University of Ottawa Barbara Znamirowski, Trent University Jenny Marvin, Guelph University.
Unit One: GIS Concepts In this unit… ► What is GIS? ► Types of GIS data ► What can you do with GIS? ► ArcGIS 9 license levels ► Basics of the ArcGIS 9.
NR 422: GIS Review Jim Graham Fall What is GIS? Geographic Information System? Geographic Information Science? A system that provides the ability.
19 th Advanced Summer School in Regional Science An introduction to GIS using ArcGIS.
ArcCatalog and Geodatabases
Problem with GIS Data Lots of different, related files Results in data that is: –Hard to find and share and of questionable quality Need: –Containers for.
Basic Concepts of GIS January 29, What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial.
Rebecca Boger Earth and Environmental Sciences Brooklyn College.
Civil Engineering Applications of GIS. Reg Souleyrette, Ph.D., P.E. Eric R. Green, GISP, PE, MSCE Tony Fields, GIS Analyst.
Basic GIS Functions and Spatial Stats in
NR 322: Organizing Data Jim Graham Fall GIS Data Flow Project, resample Processing Processed Data Original Data Final data And maps.
Introduction to Spatial Analysis and Spatial Modeling
Different kinds of data Example of Elevation Topographic DEM (Digital Elevation Model)
GIS concepts, skills and tools
Data Interoperability Basics Bruce Harold & Dale Lutz.
Attributes in ArcGIS. ArcGIS Attributes FID – ESRI’s internal identifier Shape – Actual spatial data.
Intro to GIS and ESRI Trainers: Randy Jones, GIS Technician, Douglas County Jon Fiskness, GISP GIS Coordinator, City of Superior.
Introduction to ArcGIS
Geographical Information Systems. Software which can be used in GIS ArcGIS Desktop Map Window Quantum GIS uDig.
Introducing ArcGIS Chapter 1. Objectives  Understand the architecture of the ArcGIS program.  Become familiar with the types of data files used in ArcGIS.
LBR & WS LAB 1: INTRODUCTION TO GIS.
Build a database V: Create forms for a new Access database Overview: A window into your data So far in this series of courses, you’ve built tables, relationships,
Intro to GIS & Pictometry Trainers: Randy Jones, GIS Technician, Douglas County Jon Fiskness, GISP GIS Coordinator, City of Superior.
Geographic Information Systems
Geographic Information Systems Using ESRI ArcGIS 9.3 Arc Catalog File Management.
DATA Spatial Data – where things are Non Spatial Data or Attribute Data – What things are Data in a computer database are managed and accessed through.
Topic 10- GIS layers to web
GIS Data Models III GEOG 370 Instructor: Christine Erlien.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
Uploading Data Matthew Hanson  GeoNode made up of several components  Web Framework – Django  OGC Server – GeoServer  Database – PostGIS.
GIS data formats GIS/CAD5. GIS data „Direct“ spatial data Spatial information is stored within datasets Data representation – Vector data – Raster data.
GIS Data Shape files, Rasters, Coordinate Systems, ArcGIS.
Problem with GIS Data Lots of different, related files Results in data that is: –Hard to find and share and of questionable quality Need: –Containers for.
Lecture 2: GIS Fundamentals  Data layers  Feature classes  GIS data properties  Data types –vector and raster  Scale  Accuracy and precision.
Chapter 1: GIS Data Outline Representing the world as a map Coordinate systems Map scale Data quality issues About ArcGIS.
GIS and High efficiency routing
University of Texas, Arlington.
Rayat Shikshan Sanstha’s Chhatrapati Shivaji College Satara
Each entity of land has spatial information!
Geog. 314 Working with tables.
Key Terms Attribute join Target table Join table Spatial join.
A Look at Creating & Updating Point Files
Migrating Data to the Parcel Fabric Solution
INTRODUCTION TO GEOGRAPHICAL INFORMATION SYSTEM
Physical Structure of GDB
Introduction to GIS.
Geographic Information Systems
Introduction to ArcGIS
Maps 1 EPID 799C Fall 2017.
Raster and Vector Data.
Preliminaries: -- vector, raster, shapefiles, feature classes.
GTECH 709 GIS Data Formats GIS data formats
Geographic Information Systems
Feature Classes, Data File Formats in ArcGIS
Specifics on Digitizing and More tips on a Layout
Learn R! GIS.
Rocco Panciera - UNICEF
ArcCatalog and Geodatabases
LA GIS Council Presentation January 20, 2005
ឧបករណ៍ផលិតផែនទី.
Maps 2 EPID 799C Fall 2017 To code along today:
Sokna Sek – MOH/DPHI Leng Ing – MOH/DPHI Sat Chap – MOH/DPHI
Geoprocessing Sample Tools for Lidar Data Management
Geographic Search & Display Updates & Development Plans
Processing Well Data Points to be Used in Google Earth
ArcCatalog and Geodatabases
Working with Temporal Data
Presentation transcript:

https://geocompr.robinlovelace.net/adv-map.html Maps 1 EPID 799C Fall 2018

To follow along Load objects from today’s rdata file (may need to install some packages!) Download and install QGIS

Today Wednesday Basic map concepts Basic spatial code Starter spatial analysis Example map projects

Why make maps (use GIS)? Easy communication. Improve models. Link data.

Types of GIS Data – Points (1/4)

Types of GIS Data - Lines (2/4)

Types of GIS Data – Polygons (3/4)

Types of GIS Data – Raster (4/4)

ESRI (ArcGIS) = The SAS of GIS We won’t use ArcGIS, but it is important to understand because: The most common GIS data format (shapefile) has been inherited from ArcGIS. QGIS (which we will use) is an open-source equivalent to ArcGIS. Due to marketing, investment, certification, etc. you will see a lot of work done in ArcGIS. The file format is a nice introduction to spatial data.

Shapefiles – 90’s relic Most common GIS data format Information stored across many files: .shp geometry feature information (i.e. counties) .shx index of features .dbf attributes of each geometry (i.e. population) .prj projection information .shp.xml metadata (documentation) Imagine if Word documents were split into 5 files…

Geometry Features (.shp) Actually just a list of coordinate sets Software connects each set into a polygon (1,3) X Y 0 0 0 2 1 3 2 2 (0,2) (2,2) (0,0)

Geometry projection (.prj) The earth isn't flat, but maps are! How do the coordinates “stretch” to the earth? TWO Basic Types: Geographic (“GPS”) Latitude/longitude Pseudo-spherical Projected (“Survey”) Feet/meters Rectangular

Geometry attributes (.dbf) Just a regular dataset Each row is a polygon in dataset ID Area Toxins Cases 0 12 1000 10 1 99 0 1 2 120 200 5 3 54 50 2

ESRI/ArcGIS Junk (don't delete!) Shapefile index (.shx) Helps ArcGIS do queries faster Metadata (.shp.xml) Data source, notes, etc. Other (also in .shp) Presence of holes in features Bounding box (maximum map extent) Shape type (point, line, polygon)

Using QGIS Point-and-click; nice for making maps (start in R)

Let’s take a quick look! Open QGIS and a new project Drag the county shapefile from the map pack in That’s it!

The sp package in R Packs GIS data into an addressable object (with @) You can also use [ ] notation to subset SpatialPointsDataFrame @ @ @ proj4string polygons data bbox $ $ plotOrder var1 var2

Working with spatial data With rgeos and rgdal installed, common data commands will be intuitively translated! plot(myshape) myshape$var1 myshape[1:2,] myshape[myshape$var1==FALSE,] Sp objects work like any other object: mile3 <- gbuffer(myshape,3*5280) cents <- gcentroid(myshape)

Note: There’s a new structure in town! Simple features (sf) spec – just a dataframe! The spatial information is stored as another “variable’ Not quite as efficient in some ways, but easier to work with. Can use overload dplyr functions like spatial-aware left_join() and group_by(). We’ll transition to this today. Suggest doing as much spatial work with sf objects as you can.

Let’s Try!