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())

Arguments

where

The directory into which data files will be installed.

overwrite

Use NA to overwrite if newer or TRUE to overwrite completely.

quiet

Use TRUE to suppress status messages

Value

TRUE if files were downloaded and installed, FALSE otherwise

Examples

# will download ~600 MB! if (FALSE) { libproj_install_proj_data() }