ReadMe.rtf 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. {\rtf1\ansi\ansicpg1252\cocoartf949
  2. {\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fnil\fcharset238 Monaco;}
  3. {\colortbl;\red255\green255\blue255;}
  4. \margl1440\margr1440\vieww8680\viewh10940\viewkind0
  5. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc
  6. \f0\b\fs48 \cf0 GRASS GIS\
  7. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
  8. \b0\fs28 \cf0 \
  9. \
  10. \ul Starting GRASS\ulnone - there are a few different ways to start GRASS:\
  11. \
  12. - Double-click GRASS.app.\
  13. \
  14. - Drag a mapset folder onto GRASS.app to start GRASS in that mapset.\
  15. \
  16. - In a Terminal, type (substitute the correct application name if a different version is installed), the mapset path is optional:\
  17. \
  18. \f1\fs24 open -a "GRASS-6.3.app" \{/path/to/db/location/mapset\}\
  19. \f0\fs28 \
  20. \
  21. GRASS.app opens a Terminal window to start GRASS in the normal commandline way. After starting the Terminal it quits, leaving GRASS running in the Terminal. While a GRASS session is running you can run GRASS.app again to start another session.\
  22. \
  23. On Panther and Tiger, X11 is also started regardless of the GUI you use. On Leopard and above, X11 is started when it's needed, not immediately.\
  24. \
  25. \
  26. \b Setup\
  27. \b0 \
  28. See GRASS {\field{\*\fldinst{HYPERLINK "http://grass.gdf-hannover.de/"}}{\fldrslt documentation}} for details on setup and use. See Apple's \ul Help Viewer\ulnone (from most any application's Help menu) for command documentation.\
  29. \
  30. By default the startup uses the included X11 Tcl/Tk for the GUI. If you have used GRASS before,
  31. \b it will pick up your preferences for GUI/Text
  32. \b0 , so you should make sure they are set correctly. So if the GUI doesn't start, check your GRASS_GUI setting.\
  33. \
  34. \b Note:
  35. \b0 if you use the Apple default
  36. \b bash
  37. \b0 shell, make sure you don't have a
  38. \f1\fs24 .cshrc
  39. \f0\fs28 init hanging around. This could be from a previous version of OS X, or installed software might add one for some reason. Some commands might not run correctly if this file exists, yet you are using bash, so delete it if it exists.\
  40. \
  41. If you don't like the
  42. \f1\fs24 xterm
  43. \f0\fs28 that opens when you start X11 (you don't need it since GRASS starts in the Terminal), do the following:\
  44. \
  45. On Panther or Tiger, edit
  46. \f1\fs24 /etc/X11/xinit/xinitrc
  47. \f0\fs28 and near the bottom add a
  48. \f1\fs24 #
  49. \f0\fs28 to the beginning of the
  50. \f1\fs24 xterm &
  51. \f0\fs28 line.\
  52. \
  53. On Leopard and above, type this in a Terminal:\
  54. \
  55. \pard\pardeftab720\ql\qnatural
  56. \f1\fs20 \cf0 defaults write org.x.X11_launcher app_to_run /usr/X11/bin/xlsclients
  57. \f0\fs28 \
  58. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
  59. \cf0 \
  60. Something must be set for app_to_run, or X11 will not function properly, and xlsclients is regarded as safe and inconspicuous.\
  61. \
  62. \
  63. After running GRASS the first time, you can change your preference for whether the GUI or Terminal-only starts by using g.gisenv.\
  64. \
  65. \f1\fs24 g.gisenv set="GRASS_GUI=val"\
  66. \f0\fs28 \
  67. Where
  68. \i val
  69. \i0 is '
  70. \f1\fs24 tcltk
  71. \f0\fs28 ' for the GUI or '
  72. \f1\fs24 text
  73. \f0\fs28 ' for a plain Terminal.\
  74. \
  75. \
  76. \b Addon Modules\
  77. \b0 \
  78. To install extra modules and user scripts, see the
  79. \f1\fs24 modbuild
  80. \f0\fs28 folder in
  81. \f1\fs24 /Library/GRASS/$VERSION
  82. \f0\fs28 . (
  83. \f1\fs24 $VERSION
  84. \f0\fs28 is the major.minor GRASS version.)\
  85. \
  86. \
  87. \b R
  88. \b0 \
  89. \
  90. Using R with GRASS.app needs a bit of simple setup. Install R for Mac OS X, at least v2.3.0. Install the GDAL R package from the GDAL framework (there are install instructions included with that), not from a repository. Remember to use a user level install location for extra packages.\
  91. \
  92. Next, install the
  93. \b maptools
  94. \b0 package from CRAN binary repository with the R.app Package Installer.\
  95. \
  96. Finally, use the Package Installer to install the
  97. \b spgrass6
  98. \b0 package from the CRAN source repository.\
  99. \
  100. See the GRASS {\field{\*\fldinst{HYPERLINK "http://grass.itc.it/statsgrass/grass_geostats.html"}}{\fldrslt stats}} page for info on how to use R with GRASS.\
  101. \
  102. \
  103. \b MPEG\
  104. \b0 \
  105. There are a few different ways to create animations in GRASS. xganim animates a series of rasters on the fly, and is useful for a quick check of an animation, but it requires Motif or Lesstif in X11 and this package may not include it. There is a TclTk version of xganim in the TclTk GUI.\
  106. \
  107. The OGSF GRASS library can be built with mpeg support using the ffmpeg libraries, this is used only in NVIZ. ffmpeg is a difficult one to build on any platform because it is in constant flux, and none of the binaries available include the libraries. Without ffmpeg, NVIZ can only generate a series of images which can then be run through any mpeg program. This package may have ffmpeg support.\
  108. \
  109. The last option built into GRASS, r.out.mpeg, starts with rasters and generates an mpeg1 video using an external program mpeg-encode (aka ppmtompeg). The two problems with this are: mpeg1 is low quality, and you can't use it on an NVIZ image sequence, just rasters. A copy of ppmtompeg may be included in the GRASS application package.\
  110. \
  111. There is also a completely external option. There are many mpeg encoding programs available. Pick one of your choice and feed the NVIZ image sequence to that outside of GRASS. {\field{\*\fldinst{HYPERLINK "http://ffmpegx.com/"}}{\fldrslt ffmpegX}} is a handy package ready-made for Mac OS X. It includes commandline binaries for ffmpeg AND many other encoders, including the popular mencoder. You can either use the GUI, or run them from the Terminal - all the individual programs are in the app package's Resources folder, except a couple external ones in the ffmpegX Application Support.\
  112. \
  113. \
  114. \b GPS\
  115. \b0 \
  116. A copy of gpsbabel may be included for v.in.gpsbabel to use. If not, you need to install a separate GPSBabel application. Serial ports (both old-style and USB) on OS X are named a little different than most 'nix systems, and they will all go thru USB, including old RS-232 serial. You need to use the
  117. \f1\fs24 cu.*
  118. \f0\fs28 ports. All ports are in
  119. \f1\fs24 /dev
  120. \f0\fs28 .\
  121. \
  122. Old RS-232 serial will have to go thru a Serial-USB converter, like the Keyspan USA-19W. These will usually have a name like
  123. \f1\fs24 USA19QW3d1P1.1
  124. \f0\fs28 , or
  125. \f1\fs24 /dev/cu.USA19QW3d1P1.1
  126. \f0\fs28 .\
  127. \
  128. To figure out your GPS port, you can try the following. With the GPS (including a serial-USB adaptor, if needed for your GPS)
  129. \i not
  130. \i0 connected, type this in a Terminal:\
  131. \
  132. \f1\fs24 ls /dev/cu.*\
  133. \f0\fs28 \
  134. Then connect the GPS (with the serial-USB adaptor, if needed), and type that
  135. \f1\fs24 ls
  136. \f0\fs28 command again. Note what was added, that should be the port to use (with
  137. \f1\fs24 /dev/
  138. \f0\fs28 prefixed to it).\
  139. \
  140. \
  141. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
  142. \fs24 \cf0 \'a9 2006-2008 by the GRASS Development Team\
  143. This program is free software under the GNU General Public License (>=v2).\
  144. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
  145. \fs28 \cf0 \
  146. \
  147. - William Kyngesburye\
  148. \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
  149. {\field{\*\fldinst{HYPERLINK "mailto:kyngchaos@kyngchaos.com"}}{\fldrslt \cf0 kyngchaos@kyngchaos.com}}
  150. \fs24 \
  151. {\field{\*\fldinst{HYPERLINK "http://www.kyngchaos.com"}}{\fldrslt
  152. \fs28 http://www.kyngchaos.com/}}
  153. \fs28 \
  154. }