Spatial Reference System

st_set_crs(x, value)

st_setsrid(x, value)

Arguments

x

numeric, character, or object of class sf or sfc

value

one of (i) character: a valid proj4string (ii) integer, a valid EPSG value (numeric), or (iii) a list containing named elements proj4string (character) and/or epsg (integer) with (i) and (ii).

Details

st_setsrid is postgis compatible