Learn R Programming

⚠️There's a newer version (1.5.3) of this package.Take me there.

RgoogleMaps (version 1.2.0.4)

Overlays on Google map tiles in R

Description

This package serves two purposes: (i) Provide a comfortable R interface to query the Google server for static maps, and (ii) Use the map as a background image to overlay plots within R. This requires proper coordinate scaling.

Copy Link

Version

Install

install.packages('RgoogleMaps')

Monthly Downloads

3,122

Version

1.2.0.4

License

GPL

Maintainer

Markus Loecher

Last Published

September 4th, 2013

Functions in RgoogleMaps (1.2.0.4)

GetMap.bbox

GetMap bbox
RGB2GRAY

translates an RGB image matrix to gray scale
ReadMapTile

Read a bitmap image stored in the PNG format
pennLC

Pennsylvania Lung Cancer
qbbox

computes bounding box
LatLon2XY.centered

computes the centered coordinate transformation from lat/lon to map tile coordinates
LatLon2XY

computes the coordinate transformation from lat/lon to map tile coordinates
PlotOnStaticMap

overlays plot on background image of map tile
degAxis

axis with degrees
GetMap

download a static map from the Google server
GetMap.OSM

Query the Open Street Map server for map tiles instead of Google Maps
XY2LatLon

computes the centered coordinate transformation from lat/lon to map tile coordinates
mypolygon

simple wrapper function to plot colored polygons
MaxZoom

computes the maximum zoom level which will contain the given lat/lon range
PlotArrowsOnStaticMap

plots arrows or segments on map
updateusr

Updates the 'usr' coordinates in the current plot.
IdentifyPoints

identify points by clicking on map
RgoogleMaps-package

Overlays on Google map tiles in R
NYleukemia

Upstate New York Leukemia Data
Tile2R

simple utility to offset and scale XY coordinates with respect to the center
MapBackground

get static Map from the Google server
PlotPolysOnStaticMap

plots polygons on map
SpatialToPBS

converts spatial objects as defined in package sp to simpler PBSmapping type dataframes
TextOnStaticMap

plots text on map
ColorMap

Plot Levels of a Variable in a Colour-Coded Map
AddAlpha

add alpha level to color that lacks one
columbus

Columbus OH spatial analysis data set