Learn R Programming

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

RgoogleMaps (version 1.4.2)

Overlays on Static Maps

Description

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

5,124

Version

1.4.2

License

GPL

Maintainer

Last Published

June 8th, 2018

Functions in RgoogleMaps (1.4.2)

IdentifyPoints

identify points by clicking on map
GetBingMap

download a static map from the Microsoft map tile server
LatLon2XY

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

change data.frame to SpatialPointsDataFrame
GetMapTiles

download map tiles from specified map tile servers such as openstreetmap or Google
PlotOnStaticMap

overlays plot on background image of map tile
GetOsmMap

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

plots arrows or segments on map
GetMap

download a static map from the Google server
SpatialToPBS

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

plots on map tiles by "stitching" them together
RgoogleMaps-package

Overlays on Google map tiles in R
AddAlpha

add alpha level to color that lacks one
MaxZoom

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

plots polygons on map
ColorMap

Plot Levels of a Variable in a Colour-Coded Map
LatLon2XY.centered

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

GetMap bbox
NYleukemia

Upstate New York Leukemia Data
TextOnStaticMap

plots text on map
RGB2GRAY

translates an RGB image matrix to gray scale
MapBackground

get static Map from the Google server
updateusr

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

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

Read a bitmap image stored in the PNG format
columbus

Columbus OH spatial analysis data set
degreeAxis

axis with degrees
XY2LatLon

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

Create a bubble plot of spatial data on Google Maps
mypolygon

simple wrapper function to plot colored polygons
pennLC

Pennsylvania Lung Cancer
qbbox

computes bounding box
plotmap

easy to use wrapper function
getGeoCode

geocoding utility
incidents

San Francisco crime data