g.setproj.html 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>g.setproj - GRASS GIS manual</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  6. <link rel="stylesheet" href="grassdocs.css" type="text/css">
  7. </head>
  8. <body bgcolor="white">
  9. <img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade>
  10. <h2>NAME</h2>
  11. <em><b>g.setproj</b></em> allows the user to create the PROJ_INFO and the
  12. PROJ_UNITS files to record the projection information associated with a
  13. current location.
  14. <br>
  15. <h2>SYNOPSIS</h2>
  16. <b>g.setproj</b>
  17. <h2>DESCRIPTION</h2>
  18. Allows a user to create a PROJ_INFO file in the PERMANENT mapset of the
  19. current location. PROJ_INFO file is used to record the projection information
  20. associated with the specified mapset.
  21. <h2>NOTES</h2>
  22. The user running <em>g.setproj</em> must own the PERMANENT
  23. mapset and it must be currently selected.
  24. It is highly recommended to run <em>g.setproj</em> after
  25. creating a new location so that conversion programs (such
  26. as <em>v.proj</em>) can be run.
  27. <p>The user will be prompted for the projection name.
  28. Most projections are supported. The
  29. <a href="https://proj.org/">PROJ</a> abbreviations for the names are
  30. used with two exceptions, viz. 'll', for latitude / longitude geographic
  31. co-ordinates, and 'stp', for the State Plane Co-ordinate system (used in the
  32. USA).
  33. <p>After the projection name, the user will be asked for a geodetic datum. If
  34. no datum transformation support is needed, the question may be answered with no,
  35. and no datum will be specified in the PROJ_INFO file. If this is the case
  36. the user must specify the ellipsoid (model of the curvature of the earth) to
  37. be used, otherwise it is determined by the datum being used.
  38. <p>If the datum or ellipsoid required are not
  39. listed within this program, the user/administrator may add the definition
  40. to the files datum.table, datumtransform.table and ellipse.table in the
  41. <tt>$GISBASE/etc/proj</tt> directory.
  42. <p>Depending on the projection selected, the user will then be prompted for
  43. the various other parameters required to define it.
  44. <p>
  45. The projections of aea, lcc, merc, leae, leac, and
  46. tmerc will generate a request to the user for the prime meridian and standard
  47. parallel for the output map.
  48. <h2>SEE ALSO</h2>
  49. <em><a href="g.proj.html">g.proj</a></em>,
  50. <em><a href="m.proj.html">m.proj</a></em>,
  51. <em><a href="r.proj.html">r.proj</a></em>,
  52. <em><a href="v.proj.html">v.proj</a></em>,
  53. <em><a href="https://proj.org">PROJ</a> site</em>
  54. <p><b>Further reading</b>
  55. <ul>
  56. <li> A guide to <a href="http://erg.usgs.gov/isb/pubs/MapProjections/projections.html">Map Projections</a> by USGS
  57. <li> <a href="https://www.asprs.org/asprs-publications/grids-and-datums">ASPRS Grids and Datum</a>
  58. <li> <a href="http://www.mapref.org">MapRef - The Collection of Map Projections and Reference Systems for Europe</a>
  59. <li> <a href="http://geotiff.maptools.org/proj_list/">Projections Transform List</a> (PROJ)
  60. </ul>
  61. <h2>AUTHORS</h2>
  62. Irina Kosinovsky,
  63. U.S. Army Construction Engineering
  64. Research Laboratory<br>
  65. Morten Hulden, morten at untamo.net - rewrote module and added 121 projections <br>
  66. Andreas Lange, andreas.lange at rhein-main.de - added prelimnary map datum support
  67. </body>
  68. </html>