Learn R Programming

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

RgoogleMaps (version 1.2.0.6)

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

10,585

Version

1.2.0.6

License

GPL

Maintainer

Markus Loecher

Last Published

April 30th, 2014

Functions in RgoogleMaps (1.2.0.6)

GetMap

download a static map from the Google server
TextOnStaticMap

plots text on map
qbbox

computes bounding box
NYleukemia

Upstate New York Leukemia Data
getGeoCode

geocoding utility
ReadMapTile

Read a bitmap image stored in the PNG format
mypolygon

simple wrapper function to plot colored polygons
PlotOnStaticMap

overlays plot on background image of map tile
DF2SpatialPointsDataFrame

change data.frame to SpatialPointsDataFrame
columbus

Columbus OH spatial analysis data set
GetMap.bbox

GetMap bbox
RgoogleMaps-package

Overlays on Google map tiles in R
PlotPolysOnStaticMap

plots polygons on map
bubbleMap

Create a bubble plot of spatial data on Google Maps
AddAlpha

add alpha level to color that lacks one
pennLC

Pennsylvania Lung Cancer
ColorMap

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

plots arrows or segments on map
MapBackground

get static Map from the Google server
Tile2R

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

identify points by clicking on map
degreeAxis

axis with degrees
MaxZoom

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

translates an RGB image matrix to gray scale
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
LatLon2XY

computes the coordinate transformation from lat/lon to map tile coordinates
GetMap.OSM

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

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

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