WritePRJ.R 487 B

1234567891011
  1. WritePRJ <-
  2. function(Path)
  3. {
  4. prj <- paste('PROJCS["Sinusoidal",GEOGCS["GCS_Undefined",DATUM["Undefined",',
  5. 'SPHEROID["User_Defined_Spheroid",6371007.181,0.0]],PRIMEM["Greenwich",0.0],',
  6. 'UNIT["Degree",0.0174532925199433]],PROJECTION["Sinusoidal"],',
  7. 'PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],',
  8. 'PARAMETER["Central_Meridian",0.0],UNIT["Meter",1.0]]',
  9. sep = "")
  10. write(prj, file = Path)
  11. }