proj: CRS of various PROJ.4 projections

Description Usage Arguments Value Author(s) See Also Examples

Description

coordinate reference system (CRS) Object for several proj4 character strings. posm and pll are taken directly from OpenStreetMap::osm and longlat.

Usage

1
2
3
4
5
putm(long, zone = mean(long, na.rm = TRUE)%/%6 + 31)

posm()

pll()

Arguments

long

Vector of decimal longitude coordinates (East/West values). Not needed of zone is given.

zone

UTM (Universal Transverse Mercator) zone, see e.g. https://upload.wikimedia.org/wikipedia/commons/e/ed/Utm-zones.jpg. DEFAULT: UTM zone at mean of long

Value

sp::CRS objects for one of:
- UTM projection with given zone
- Open street map (and google) mercator projection
- Latitude Longitude projection

Author(s)

Berry Boessenkool, berry-b@gmx.de, Aug 2016

See Also

projectPoints, degree

Examples

1
2
3
4
5
6
posm()
str(posm())
posm()@projargs
pll()
putm(5:14) # Germany
putm(zone=33) # Berlin

OSMscale documentation built on May 2, 2019, 8:35 a.m.