createPrjFile: Create a '.prj' file

View source: R/gis.R

createPrjFileR Documentation

Create a .prj file

Description

In cases where a shapefile is missing its associated .prj file.

Usage

createPrjFile(
  shpFile,
  urlForProj = "http://spatialreference.org/ref/epsg/nad83-utm-zone-11n/prj/"
)

Arguments

shpFile

The filename of a shapefile to add .prj

urlForProj

The url from which to fetch the projection, e.g., "http://spatialreference.org/ref/epsg/nad83-utm-zone-11n/prj/".


PredictiveEcology/pemisc documentation built on Sept. 19, 2022, 7 p.m.