R/libproj-install-proj-data.R
libproj_install_proj_data.Rd
Since PROJ 7.0, the data files used to convert between horizontal and vertical datums
are packaged separately. You can access these files as needed using the PROJ
networking capability (e.g., with libproj_configure(network_enabled = TRUE)
) or
you can download them all at once. This function searches for the latest release
from the PROJ-data.
libproj_install_proj_data( where = libproj_default_data_dir(), overwrite = NA, quiet = FALSE ) libproj_has_proj_data(where = libproj_default_data_dir())
where | The directory into which data files will be installed. |
---|---|
overwrite | Use |
quiet | Use |
TRUE
if files were downloaded and installed, FALSE
otherwise
# will download ~600 MB! if (FALSE) { libproj_install_proj_data() }