ropensci/maptools

Name: maptools

Owner: rOpenSci

Description: CRAN Task View for mapping tools

Created: 2014-11-10 19:51:56.0

Updated: 2017-01-18 14:34:25.0

Pushed: 2016-04-04 17:58:35.0

Homepage:

Size: 98

Language: Makefile

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

CRAN Task View: Mapping tools and services

Maintainer: Contact: Jeff Hollister, Scott Chamberlain, hollister.jeff at epa.gov Karthik Ram, Hadley Wickham, Ben
Marwick, Cory Nissen


This task view contains information about mapping and visualizing spatial data in R. The base version of R does not ship with many tools for mapping spatial data. Thankfully, there are an increasingly large number of tools for doing so, both with just R or javascript libraries. A list of available packages and functions is presented below, grouped by the type of activity. If you have any comments or suggestions for additions or improvements for this taskview, go to Github and submit an issue, or make some changes and submit a pull request. If you can't contribute on Github, send Jeff an email. If you have an issue with one of the packages discussed below, please contact the maintainer of that package. This task view is focused on mapping spatial data and less so on the foundations of working with spatial data in R. That material is covered in detail in the Spatial Task View. There is some overlap between the two task views, but an effort has been made to reduce redundancy so that these task views compliment one another.

Mapping tools in R
Visualization
Projecting Data

Coordinates for spatial data can come in many different flavors with different units, datum, projections, and more. Many of the tools will visualize your data regardless of the native coordinate reference system; however, most (all?) of the javascript libraries assume some flavor of latitude-longitude, thus if your data are projected they need to be transformed back to geographic coordinates prior to mapping. For most mapping and visualization efforts unprojected data (often displayed in Web Mercator/EPSG::3857) is fine; however, if accurate area, length, or distance measurements are required through interacting with the map, then projections need to be considered. A discussion of projections and coordinate systems is beyond the scope of this task view. To learn more a good starting place is NCEAS' Overview of Coordinate Reference Systems in R. This more general discussion of projection from the USGS is also good.

Once you know that you need to transform you data there are several options:

Geocoding

Geocoding is the process of converting address or place name information into geographic coordinates. Most of these have somewhat restricted Terms of Service(TOS). Be sure to read those carefully prior to use. Links for the TOS are provided.

Map Data

There are *many* possible sources and formats of data to use as base layers, so this list will most certainly be incomplete. Details for reading and writing most types of spatial data are already included in the Analysis of Spatial Data Task View, thus this list will focus on additional sources or features not discussed in that task view.

CRAN packages:
Related links:

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.