Learn R Programming

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

RgoogleMaps (version 1.2.0.7)

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,215

Version

1.2.0.7

License

GPL

Maintainer

Markus Loecher

Last Published

January 21st, 2015

Functions in RgoogleMaps (1.2.0.7)

GetMap.OSM

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

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

add alpha level to color that lacks one
ColorMap

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

plots arrows or segments on map
columbus

Columbus OH spatial analysis data set
GetMap

download a static map from the Google server
LatLon2XY.centered

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

Pennsylvania Lung Cancer
PlotPolysOnStaticMap

plots polygons on map
XY2LatLon

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

Create a bubble plot of spatial data on Google Maps
PlotOnStaticMap

overlays plot on background image of map tile
NYleukemia

Upstate New York Leukemia Data
ReadMapTile

Read a bitmap image stored in the PNG format
getGeoCode

geocoding utility
RGB2GRAY

translates an RGB image matrix to gray scale
RgoogleMaps-package

Overlays on Google map tiles in R
SpatialToPBS

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

plots text on map
qbbox

computes bounding box
DF2SpatialPointsDataFrame

change data.frame to SpatialPointsDataFrame
mypolygon

simple wrapper function to plot colored polygons
updateusr

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

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

identify points by clicking on map
MapBackground

get static Map from the Google server
degreeAxis

axis with degrees
GetMap.bbox

GetMap bbox
LatLon2XY

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