Learn R Programming

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

RgoogleMaps (version 1.2.0.2)

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.2

License

GPL

Maintainer

Markus Loecher

Last Published

August 26th, 2012

Functions in RgoogleMaps (1.2.0.2)

Tile2R

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

axis with degrees
LatLon2XY

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

simple wrapper function to plot colored polygons
MapBackground

get static Map from the Google server
GetMap.OSM

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

add alpha level to color that lacks one
RgoogleMaps-package

Overlays on Google map tiles in R
LatLon2XY.centered

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

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

Pennsylvania Lung Cancer
GetMap

download a static map from the Google server
NYleukemia

Upstate New York Leukemia Data
updateusr

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

Read a bitmap image stored in the PNG format
SpatialToPBS

converts spatial objects as defined in package sp to simpler PBSmapping type dataframes
GetMap.bbox

GetMap bbox
columbus

Columbus OH spatial analysis data set
RGB2GRAY

translates an RGB image matrix to gray scale
PlotPolysOnStaticMap

plots polygons on map
PlotArrowsOnStaticMap

plots arrows or segments on map
PlotOnStaticMap

overlays plot on background image of map tile
MaxZoom

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

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

plots text on map
qbbox

computes bounding box
degreeAxis

axis with degrees
DF2SpatialPointsDataFrame

change data.frame to SpatialPointsDataFrame
IdentifyPoints

identify points by clicking on map
getGeoCode

geocoding utility
bubbleMap

Create a bubble plot of spatial data on Google Maps