osm_crs: CRS for OpenStreetMap

Description Usage Arguments Details Value Examples

View source: R/as-sp.R

Description

Coordinate Reference System used in OpenStreetMap.

Usage

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

Arguments

crs

A valid proj4 string

Details

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

Value

A CRS object

Examples

1
2

Example output

Loading required package: XML
Loading required package: RCurl
Loading required package: geosphere

Attaching package:osmarThe following object is masked frompackage:utils:

    find

Loading required package: sp
CRS arguments: +proj=longlat +datum=WGS84 +no_defs 
[1] "CRS"
attr(,"package")
[1] "sp"

osmar documentation built on May 1, 2019, 7:33 p.m.

Related to osm_crs in osmar...