Functions to perform GIS operations in R.