Download latest proj-data from https://download.osgeo.org/proj/proj-data-1.7.tar.gz
Extract data to a known path. A good option and the default for PROJ on Windows would be $LOCALAPPDATA/proj/
. Another option which is the default for the sf package on Windows is the R library instance of the installation of sf ./proj directory file.path(find.package("sf"), "proj")
. On Mac/Linux the default are the proj share directories in /usr/local/share/proj
or ~/.local/share/proj
.
Restart your R session, reload {sf}
Append the path to your proj-data from step 2 to your search paths. You may want to add this to your .Rprofile.
sf::sf_proj_search_paths(c(sf::sf_proj_search_paths(), "C:/Users/Andrew.G.Brown/AppData/Local/proj/")
If you re-install sf your existing data will be replaced with the package bundle. So, if you use your R library instance as the data location you will need to put your proj data back in place after each install. If you use your local application data / "share" folder then the files can persist between installs.
?best_proj_pipeline
before and after setting the search path to point at your complete data package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.