Learn R Programming

osmar (version 1.1-7)

osm_crs: CRS for OpenStreetMap

Description

Coordinate Reference System used in OpenStreetMap.

Usage

osm_crs(crs = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +towgs84=0,0,0")

Arguments

crs
A valid proj4 string

Value

A CRS object

Details

The default value is the WGS84 Ellipsoid which is used in GPS, therefore it is used in OpenStreetMap.

Examples

Run this code
osm_crs()
  class(osm_crs())

Run the code above in your browser using DataLab