Last chance! 50% off unlimited learning
Sale ends in
The projInfo
function lists known values and descriptions for PROJ.4 tags for tag in c("proj", "ellps", "datum", "units")
; getPROJ4VersionInfo
returns the version of the underlying PROJ.4 release, getPROJ4libPath
returns the value of the PROJ_LIB environment variable, projNAD
detects the presence of NAD datum conversion tables (looking for conus).
projInfo(type = "proj")
getPROJ4VersionInfo()
getPROJ4libPath()
projNAD()
GDAL_OSR_PROJ()
GDALis3ormore()
PROJis6ormore()
new_proj_and_gdal()
A data frame with a name and description column, and two extra columns for the "ellps" and "datum" tags.
One of these tags: c("proj", "ellps", "datum", "units")
Roger Bivand Roger.Bivand@nhh.no
The output data frame lists the information given by the proj application with flags -lp, -le, -ld or -lu. From PROJ 6, "datum"
is not available. From PROJ 7.1.0, "units"
returns the conversion factor as numeric, not character.
getPROJ4VersionInfo()
projInfo()
projInfo("ellps")
projInfo("units")
Run the code above in your browser using DataLab