Quick maps in R Melanie Frazier, NCEAS Presentation materials here:

Slides:



Advertisements
Similar presentations
Watercolor Effect in Photoshop Tutorial. Go to the File, click the Open tab and set your canvas of 1920 X 1200 pixels, in RGB mode.
Advertisements

Google APIs & Location Based Applications -Krishna Achanta
Get Started with GIS Mapping Part 2 of 3 Madhu Lakshmanan.
Boulder, Colorado USA May, 2004
BodyPaint 3D Basics Configuring and Using BodyPaint With Lightwave Mark Filanov.
1 Spatial Data What is Geographic Spatial Data? What are its Properties TWiST.
Intro to GGMAP Emmalee Dolfi. Ethical Implications of Spatial Analysis  Spatially displaying data can change how it’s interpreted  Locational privacy.
Sample Maps of Tanzania. Map #1: All ICAP-supported sites in Tanzania 1)Select Tanzania (or any other specific ICAP country) 2)Check the box indicating.
ABCD-GIS and ABCD-WWW combined meeting Survey of Web Mapping Projects Part 2 of 8: The “Hello World” web map, and how to get started web map mashing. Jeff.
Get Started with GIS Mapping Part 3 of 3 Madhu Lakshmanan.
The GMap class exports methods to manipulate the map's center and zoom level and to add and remove overlays (such as GMarker and GPolyline instances).
ArcEditor ArcInfo ArcView Display map, query & analyze spatial relationships, features & attributes Same functions as ArcView, plus abilty to create, &
Roundtrip Tickets Anywhere: Google Earth in Education Justin Karkow Discovery Education.
Thinking about GIS applications and your projects.
 iSpring is a PowerPoint to Flash Converter  Click here to Download iSpring – free Click here to Download iSpring  iSpring works with SlideBoom  SlideBoom.
MATH WORD WALL A quick “How-To” guide to success!.
Exploring Map Layers in Google Earth Georeferencing Images.
Google Maps API. Static Maps send an HTTP GET request receive an image (PNG, GIF, JPEG) no javascript needed encode params in URL example:
Presenter: Rich Lee Location Suitability Analysis New Burger stores in San Fernando Valley 2010 Fall 406 Final Project.
Mashups! Matt Rahr ECAT – University of Arizona. Technical Workshop  Three Sessions  1:00 – 1:30pm What is a Mashup? How it can spatially enable your.
Tutorial: Using ArcGIS Server and ESRI ArcGIS API for Javascript Peter Sforza March 7, 2013.
RgoogleMaps Norsk statistikermøte, Halden, 11. juni 2013 André Teigland Forskningssjef SAMBA Elisabeth Orskaug Thordis Thorarinsdottir.
The visualization of pollution data distribution in Taiwan, using Open Data and R BY CHENG CHANG LU & YU LAN CHIANG.
Dr. Martin Zhao Sept 4, Topics HTML and related tutorials on w3schools.com Related HTML tags Adding interesting features using JavaScript What is.
MapInfo Professional 11.0: getting started Xiaogang (Marshall) Ma School of Science Rensselaer Polytechnic Institute Friday, January 25, 2013 GIS in the.
I have download this from our website if you got this yellow highlighted message please click on “Enable Editing” with this text you cannot edit the template.
Midterm Activities: Due by Friday Process Journals must be in YOUR words Track 2 First finish Tutorial 2, then complete and print process journals for:
Gimp Selective Color Practice 5/21/09. Download and open picture.
A Quick Introduction to GIS
Advanced Spatial Methods in R
nfo/repcat/arcinfo/index.html Files here are in e00 format.
Drawing in 3D Rectangular Coordinates z x y. The key to plotting points in rectangular coordinates is to each coordinate as a vector, in the x, y and.
Creating a Google Doc A Quick Photo Tutorial. Sign in to Google Docs If you don’t already have an account, sign up for one, it’s FREE.
Presented by: Shahab Spring Introduction Data Analytics Plugins Learning Resources.
Spatial Analysis in R 06/09/2016 GUND institute for Ecological Economics University of Vermont Insu Koh Visualization in R.
Geo-referencing an aerial photo of Newton Park and overlay a vector layer HW Britz GISV431 & GEN 405.
# install.packages( "RCurl" ) # install RCurl if you have not done this already library( RCurl ) # package to read data from html files # copy the download.
Geospatial Data Abstraction Library(GDAL) Sabya Sachi.
Google Maps A tutorial on how to use Google Maps.
GEOCODING Fall 2016 Library Workshop.
Useful packages for visualisation, GIS analysis and more
A Look at Creating & Updating Point Files
Intro to Geospatial Data Science
Online Library Quick start guide
The Commute: The Battle of Finding Distance
Spatial Analysis in R Points, lines, polygons, & raster! 06/16/2016
Polymaps is a visualization java script library that requires SVG Data, A tile map as a base layer for a mash-up. This is not a stand alone product. It.
Quick Guide 1. Sign In 2. My Apps 3. Update Password 4. App Library
Examples of Data Vis Coding
Hire Toyota Innova in Delhi for Outstation Tour
Ggplot2 I EPID 799C Mon Sep
Downloading and Preparing GIS Precipitation Data Layers
Crash course in R – plotting maps
Adding Music to Your Google Slides Presentation
HEATHER HALL & ADRIENNE SPITZER
Other Features – Filter Options
The How to Guide to Using Google Drive
Transformations Example Draw the line Draw 1 at , ,
By: Bradley Sever & Catrina McDermott
Other Features – Filter Options
Smoke PITs How to locate, mark the location of a facility’s smoke pit(s), and download into GeoBase.
How to check out eBooks at RRHS.
In pairs, discuss what characteristics Olympic host cities should have
How to Make a Google Slideshow
Google Earth Scavenger Hunt
Google Books for Educators
Build the first 5 odd numbers – each one with different colored blocks
0º 5ºE 10ºE 15ºE 20ºE 25ºE 30º 5ºW 10ºW 15ºW 20ºW 25ºW 30ºW 5ºN 10ºN
Mapping packages Unfortunately none come with Anaconda (only geoprocessing is which does lat/long to Cartesian conversions). matplotlib.
Google Play Store Not Working on Mobile Data Go to Settings > Apps > All > Google Play services > Storage, then tap the Clear Cache button.
Presentation transcript:

Quick maps in R Melanie Frazier, NCEAS Presentation materials here: http://nceas.ucsb.edu/~frazier/RSpatialGuides/ggmap/ 1

And, you want to see where they are Have Lat/Long data? And, you want to see where they are Data from the EPA’s WestuRe project: http://www.epa.gov/wed/pages/models/WestuRe/WestuRe.htm

Many options: But we’ll stick with 2 library(plotKML) library(ggmap)

ggmap Part 1 Download the map raster Part 2 Overlay data onto raster Refer to Quickstart guide:

ggmap: Part 1 (getting the map) Specify coordinates - geocode myLocation <- “University of Washington” - Lat/Long myLocation <- c(lon=-95.36, lat=29.76) - Bounding box (lowerleftlon, lowerleftlat, upperrightlon, upperrightlat) myLocation <- c(-130, 30, -105, 50) [NOTE: glitchy for google maps]

can do any of the maps in “bw” ggmap: Part 1 (getting the map) B. Define map source, maptype, and color maptype = watercolor toner terrain source stamen terrain satellite roadmap hybrid google color can do any of the maps in “bw” osm (and, cloudmade)

Scale matters in regard to map source/type ggmap: Part 1 (getting the map) B. Define map source, maptype, and color Scale matters in regard to map source/type

ggmap: Part 1 (getting the map) B. get_map function provides a general approach for quickly getting maps myMap <- get_map(location = myLocation, source = “stamen”, maptype = “watercolor”, color = “bw”) Additional options such as “zoom” and “crop” ?ggmap

ggmap: Part 1 (getting the map) Sometimes get_map doesn’t provide the control needed to get the map you want. In this case, use the specific functions designed for the different map sources: get_googlemap get_openstreetmap get_stamenmap get_cloudmademap

ggmap: Part 2 (overlaying your data) A. Plot the raster ggmap(myMap) B. Get your lat/long point data: myData <- read.csv(“http://nceas.ucsb.edu/~frazier/RSpatialGuides/ggmap/EstuaryData.csv”) C. Add points (ggplot2 syntax) ggmap(myMap)+ geom_point(aes(x=estLongitude, y=estLatitude), data=myData, alpha=0.5, color=“darkred”, size=3)

ggmaps: Part 2

ggmaps: Part 2

ggmap: Additional options

plotKML

plotKML Load libraries: Tutorial: library(plotKML) library(sp) http://gsif.isric.org/doku.php?id=wiki:tutorial_plotkml Load libraries: library(plotKML) library(sp) Convert to spatial dataframe object: coordinates(myData) <- ~estLongitude+estLatitude Provide the projection (just copy this): proj4string(myData) <- CRS("+proj=longlat +datum=WGS84") Make the plot: plotKML(myData, colour="lnEstArea", balloon=TRUE)

Questions Presentation materials here: http://nceas.ucsb.edu/~frazier/RSpatialGuides/ggmap/ 16