Learn R Programming

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

RgoogleMaps (version 1.2.0.5)

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

License

GPL

Maintainer

Markus Loecher

Last Published

September 28th, 2013

Functions in RgoogleMaps (1.2.0.5)

GetMap.OSM

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

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

GetMap bbox
IdentifyPoints

identify points by clicking on map
MaxZoom

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

overlays plot on background image of map tile
TextOnStaticMap

plots text on map
PlotPolysOnStaticMap

plots polygons on map
Tile2R

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

Read a bitmap image stored in the PNG format
RgoogleMaps-package

Overlays on Google map tiles in R
LatLon2XY.centered

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

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

axis with degrees
NYleukemia

Upstate New York Leukemia Data
SpatialToPBS

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

plots arrows or segments on map
columbus

Columbus OH spatial analysis data set
updateusr

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

get static Map from the Google server
RGB2GRAY

translates an RGB image matrix to gray scale
pennLC

Pennsylvania Lung Cancer
XY2LatLon

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

computes bounding box
mypolygon

simple wrapper function to plot colored polygons
GetMap

download a static map from the Google server
getGeoCode

geocoding utility
bubbleMap

Create a bubble plot of spatial data on Google Maps
AddAlpha

add alpha level to color that lacks one
DF2SpatialPointsDataFrame

change data.frame to SpatialPointsDataFrame