Learn R Programming

stplanr (version 0.4.0)

reproject: Reproject lat/long spatial object so that they are in units of 1m

Description

Many GIS functions (e.g. finding the area)

Usage

reproject(shp, crs = crs_select_aeq(shp))

Arguments

shp

A spatial object with a geographic (WGS84) coordinate system

crs

An optional coordinate reference system (if not provided it is set automatically by crs_select_aeq()).

See Also

Other geo: bbox_scale, buff_geo, crs_select_aeq, decode_gl, gclip, geo_bb_matrix, geo_bb, mapshape_available, mapshape, quadrant

Examples

Run this code
# NOT RUN {
data(routes_fast)
rf_aeq <- reproject(routes_fast[1:3, ])
rf_osgb <- reproject(routes_fast[1:3, ], 27700)
# }

Run the code above in your browser using DataLab