Book Image

Learning R for Geospatial Analysis

By : Michael Dorman
Book Image

Learning R for Geospatial Analysis

By: Michael Dorman

Overview of this book

Table of Contents (18 chapters)
Learning R for Geospatial Analysis
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
External Datasets Used in Examples
Cited References
Index

Appendix A. External Datasets Used in Examples

Most of the code examples in this book use data from external files. To reproduce the examples, you are encouraged to download these files from the book's website and then copy them to a single directory on the hard drive. In the example code, the files are assumed to reside in C:\Data. To use a different directory, the examples code should be modified accordingly.

The external files in this book's examples, in an alphabetical order of first filenames, are listed in the following table:

Dataset

Associated files

Description

Daily meteorological data for Albuquerque International Airport

338284.csv

GHCND_documentation.pdf

Daily climatic records from the Albuquerque International Airport, New Mexico, United States meteorological station. Downloaded from the NOAA Climate Data Online website at http://www.ncdc.noaa.gov/cdo-web. Accessed May 2014.

Monthly meteorological data for Spain

343452.csv

GHCNDMS_documentation.pdf

Monthly climatic records from meteorological stations in Spain. Downloaded from the NOAA Climate Data Online website at http://www.ncdc.noaa.gov/cdo-web. Accessed May 2014.

US Census data

CO-EST2012-Alldata.csv

CO-EST2012-alldata.pdf

US Census County Population Change 2012 data. Downloaded from the United States Census Bureau at https://www.census.gov/popest/data/counties/totals/2012/CO-EST2012-alldata.html. Accessed May 2014.

Administrative areas of England and Wales

CTYUA_2013_EW_BFE.docx

CTYUA_DEC_2013_EW_BFE.dbf

CTYUA_DEC_2013_EW_BFE.prj

CTYUA_DEC_2013_EW_BFE.sbn

CTYUA_DEC_2013_EW_BFE.sbx

CTYUA_DEC_2013_EW_BFE.shp

CTYUA_DEC_2013_EW_BFE.shp.xml

CTYUA_DEC_2013_EW_BFE.shx

Shapefile of administrative area boundaries in England and Wales. Downloaded from the Office for National Statistics at https://geoportal.statistics.gov.uk. Accessed May 2014.

GPS log

GPS_log.gpx

GPS track record from a trip in Lahav and Dvira forests. Downloaded from a GPS device.

OpenStreetMap Shapefile of buildings in Haifa

haifa_buildings.cpg

haifa_buildings.dbf

haifa_buildings.prj

haifa_buildings.qpj

haifa_buildings.shp

haifa_buildings.shx

A polygonal Shapefile of buildings based on OpenStreetMap data (http://www.openstreetmap.org). Accessed May 2014.

OpenStreetMap Shapefile of natural areas in Haifa

haifa_natural.cpg

haifa_natural.dbf

haifa_natural.prj

haifa_natural.qpj

haifa_natural.shp

haifa_natural.shx

A polygonal Shapefile of natural areas, based on OpenStreetMap data (http://www.openstreetmap.org). Accessed May 2014.

Portion of Landsat satellite image of central Israel obtained on October 15, 1998

landsat_15_10_1998.tif

A six-band raster, corresponding to Landsat bands 1-5 and 7. Image taken on October 15, 1998. Downloaded from http://earthexplorer.usgs.gov/ and preprocessed to obtain reflectance values.

Portion of Landsat satellite image of central Israel obtained on October 4, 2000

landsat_04_10_2000.tif

A six-band raster, corresponding to Landsat bands 1-5 and 7. Image taken on October 4, 2000. Downloaded from http://earthexplorer.usgs.gov/ and preprocessed to obtain reflectance values.

Portion of Landsat satellite image of central Israel obtained on September 11, 2003

landsat_11_09_2003.tif

A six-band raster, corresponding to Landsat bands 1-5 and 7. Image taken on September 11, 2003. Downloaded from http://earthexplorer.usgs.gov/ and preprocessed to obtain reflectance values.

OpenStreetMap Shapefile of buildings in London

london_buildings.CPG

london_buildings.dbf

london_buildings.prj

london_buildings.shp

london_buildings.shx

A polygonal Shapefile of buildings based on OpenStreetMap data (http://www.openstreetmap.org). Accessed May 2014.

OpenStreetMap Shapefile of natural areas in London

london_natural.CPG

london_natural.dbf

london_natural.prj

london_natural.shp

london_natural.shx

A polygonal Shapefile of natural areas based on OpenStreetMap data (http://www.openstreetmap.org). Accessed May 2014.

A portion of NDVI images of central Israel from MODIS satellite data from February 18, 2000 to April 6, 2012

modis.tif

A 280-band raster,with NDVI images for the period February 18, 2000 to April 6, 2012. Data obtained from the MODIS product MOD13A1. Downloaded from http://earthexplorer.usgs.gov/.

Dates of acquisition of images in each layer in modis.tif

modis_dates.csv

Table with supplementary information (dates) regarding each layer in modis.tif.

A sample raster file for demonstration in Chapter 1, The R Environment

rainfall.tif

Annual rainfall amount in northern and central Israel, interpolated from meteorological stations data.

Digital Elevation Model (DEM) layer of Spain

spain_elev.tif

DEM data from the SRTM dataset (see http://srtm.csi.cgiar.org/). Downloaded through R and preprocessed by reprojection, masking, and aggregation to 900 meters resolution.

GADM Shapefile of the USA counties with FIPS codes

USA_2_GADM_fips.cpg

USA_2_GADM_fips.dbf

USA_2_GADM_fips.prj

USA_2_GADM_fips.qpj

USA_2_GADM_fips.shp

USA_2_GADM_fips.shx

Polygons corresponding to the second level administrative division (counties) of the USA with several attributes such as county names and Federal Information Processing Standards (FIPS) code.