Learn R Programming

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

RgoogleMaps (version 1.4.3)

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

4,664

Version

1.4.3

License

GPL

Maintainer

Last Published

November 7th, 2018

Functions in RgoogleMaps (1.4.3)

GetBingMap

download a static map from the Microsoft map tile server
qbbox

computes bounding box
AddAlpha

add alpha level to color that lacks one
PlotOnStaticMap

overlays plot on background image of map tile
XY2LatLon

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

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

plots polygons on map
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
bubbleMap

Create a bubble plot of spatial data on Google Maps
NYleukemia

Upstate New York Leukemia Data
columbus

Columbus OH spatial analysis data set
GetMap

download a static map from the Google server
IdentifyPoints

identify points by clicking on map
GetMap.bbox

GetMap bbox
updateusr

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

plots arrows or segments on map
PlotOnMapTiles

plots on map tiles by "stitching" them together
mypolygon

simple wrapper function to plot colored polygons
LatLon2XY

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

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

San Francisco crime data
MapBackground

get static Map from the Google server
degreeAxis

axis with degrees
getGeoCode

geocoding utility
GetMapTiles

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

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

translates an RGB image matrix to gray scale
ReadMapTile

Read a bitmap image stored in the PNG format
SpatialToPBS

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

plots text on map
plotmap

easy to use wrapper function
pennLC

Pennsylvania Lung Cancer
DF2SpatialPointsDataFrame

change data.frame to SpatialPointsDataFrame