123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
- <HTML>
- <HEAD>
- <META name="Author" content="Markus Neteler/GRASS Development Team">
- <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
- <TITLE>GRASS Quickstart</TITLE>
- <link rel="stylesheet" href="grassdocs.css" type="text/css">
- </HEAD>
- <BODY bgcolor="#ffffff">
- <img src="grass_logo.png" alt="GRASS logo"><hr align=center size=6 noshade>
- <!-- stored in CVS in: lib/init/helptext.html -->
- <H1>GRASS Quickstart</H1>
- <h2>Geographic Resources Analysis Support System</h2>
- Commonly referred to as GRASS, this is a Geographic Information System
- (GIS) used for geospatial data management and analysis, image
- processing, graphics/map production, spatial modelling, and
- visualization. GRASS is currently used in academic and commercial
- settings around the world, as well as by many governmental agencies
- and environmental consulting companies.
- <h2>Introduction</h2>
- GRASS data are stored in a directory referred to as DATABASE
- (also called "GISDBASE"). This directory has to be created
- with <tt>mkdir</tt> or a file manager, before starting to work
- with GRASS. Within this DATABASE, the projects are organized
- by project areas stored in subdirectories called LOCATIONs.
- <p>
- A LOCATION is defined by its coordinate system, map projection and
- geographical boundaries. The subdirectories and files defining a
- LOCATION are created automatically when GRASS is started the first
- time with a new LOCATION.
- <p>
- Each LOCATION can have many MAPSETs. Each MAPSET is a LOCATION's
- subdirectory. New MAPSET can be added at GRASS startup. To remove a
- MAPSET, remove it's directory using your file manager or by <br>
- <tt>rm -rf /path/to/the/mapset_to_delete</tt>. The 'wxgrass' graphical
- user interface provides options to rename/remove LOCATIONs and MAPSETs.
- <p>
- <IMG SRC="help_loc_struct.png" ALT="[GRASS Location structure]">
- <BR>
- <i>Fig. 1: GRASS Location structure</i>
- <p>
- One motivation to maintain different MAPSETs is to store maps
- related to project issues or subregions. Another motivation is to
- support simultaneous access of several users to the map layers
- stored within the same LOCATION, i.e. teams working on the same
- project. For teams a centralized GRASS DATABASE would be defined
- in a network file system (e.g. NFS). Besides access to his/her own
- MAPSET, each user can also read map layers in other users' MAPSETs,
- but s/he can modify or remove only the map layers in his/her own
- MAPSET.
- <p>
- You can learn more about mapsets and how to seamlessly access maps
- found in another MAPSET of the same LOCATION in the
- <a href="g.mapsets.html">g.mapsets</a> documentation.
- <p>
- When creating a new LOCATION, GRASS automatically creates a special
- MAPSET called PERMANENT where the core data for the project can be
- stored. Data in the PERMANENT MAPSET can only be added, modified or
- removed by the owner of the PERMANENT MAPSET; however, they can be
- accessed, analyzed, and copied into their own MAPSET by the other
- users. The PERMANENT MAPSET is useful for providing general spatial
- data (e.g. an elevation model), accessible but write-protected to all
- users who are working in the same LOCATION as the database owner.
- To manipulate or add data to PERMANENT, the owner would start
- GRASS and choose the relevant LOCATION and the PERMANENT MAPSET. This
- mapset also contains the DEFAULT_WIND file, which holds the default
- region boundary coordinate values for the location (which all users
- will inherit when they start using the database). Additionally, in
- all mapsets a WIND file is kept, for storing the current boundary
- coordinate values and the currently selected raster resolution. Users
- have the option of switching back to the default region at any time.
- <h2>Creating a GRASS database</h2>
- To create the GRASS database:
- <OL>
- <LI> Find a place on your disk where you have write access and that
- has enough diskspace to hold your decompressed data.</LI>
- <LI> Create a subdirectory that will hold the general GRASS database
- (e.g. <tt>mkdir /data/grassdata</tt> or
- <tt>mkdir /home/yourlogin/grassdata</tt>).</LI>
- </OL>
- <P>
- Sample data such as the Spearfish or the North Carolina sample datasets
- may be downloaded from
- <A HREF="http://grass.osgeo.org/download/data.php">http://grass.osgeo.org/download/data.php</A>
- and placed in this new database directory.
- <P>
- <h3>A) Create New Location with text screen</h3>
- Click on the "Create New Location" button, which will take you to a
- text screen on which you can enter a new location name, and then
- continue by pressing "ESC"-"RETURN" - i.e. press (NOT hold) the ESC key,
- and then press the RETURN key on your keyboard.
- <P>
- Next you will need to assign parameters to the location such
- as the coordinate system and datum you want to use, the project area's
- boundary coordinates, and the default resolution for raster data:
- <UL>
- <LI> Start by chosing between, X,Y, Latitude-Longitude, UTM, or
- "other" coordinate system. This choice depends on your data and the
- use you will make of it.</LI>
- <LI> You are then prompted for a single line of text describing the
- project area, for example "Topo Map of the Alps".</LI>
- </UL>
- <P>
- Next you are requested for some more information about the projection.
- Note that the prompts vary from projection to projection, an example follows:
- <UL>
- <LI> (if you chose "D - Other Projection") "specify projection name":
- "list" gives you the list of all available projections, examples are
- "tmerc" for Transverse Mercator, "lcc" for Lambert Conformal Conic,
- "moll" for Mollweide, etc.
- <LI> specify datum name: again use "list" to get a list of available
- datums, examples are "wgs84", "nad27", "eur79", etc.
- <LI> Enter Central Parallel: 0 if you want the Equator as the
- central parallel
- <LI> Enter Central Meridian: 0 if you want the Greenwich meridian as
- central meridian
- <LI> Enter Scale Factor at the Central Meridian
- <LI> Enter plural form of map units: for example, meters
- </UL>
- <P>
- The next step is the description of the project area's boundary coordinates
- and the definition of the default raster resolution:
- <P>
- The default raster resolution (GRID RESOLUTION) has to be chosen
- according to your needs. Generally, it is advisable to work in steps of
- 0.25 (0.25, 0.5, 1.75, 2.00, 12.25 etc.). This resolution does not
- concern vector and site data since these are stored with their exact
- coordinate values. Note that every raster map may have its own
- resolution. You can leave this screen with "ESC"-"RETURN" and then
- if everything is correct accept the list of parameters that appears.
- <P>
- You will then be back to the startup screen to enter the mapset's
- name (if not already entered). Another "ESC"-"RETURN" will finally
- let you leave this screen. This mapset is created within the new
- location by answering "yes" to the next question. The mapset will
- use the parameters of the location (such as the region and resolution
- definitions) as its default parameters.
- <P>
- Now the project area, i.e. the location including a mapset, has been
- created. You have "arrived" in the GRASS system and can start working
- within this new location.
- <h3>B) Create New Location with text screen</h3>
- The "wxgrass" graphical user interface provides a graphical "Location Wizard"
- instead which let's you easily create a new LOCATION. You will be
- guided through a series of dialogues to browse and select
- predefined projections (also via EPSG code) or to define individual
- projections. The rules to define the resolution as described above
- also apply here.
- <H2>Further Reading</H2>
- Please have a look at the GRASS web site for tutorials and books:
- <A HREF="http://grass.osgeo.org/gdp/index.php">http://grass.osgeo.org/gdp/index.php</A>.
- <H2>See also</H2>
- <a href="grass7.html">GRASS 7 launch manual page</a>
- <br>
- <a href="index.html">GRASS 7 Reference Manual</a>
- <p><i>Last changed: $Date$</i>
- <HR>
- <P><a href=index.html>Help Index</a>
- <P>© 2008 <a href="http://grass.osgeo.org">GRASS Development Team</a></P>
- </BODY>
- </HTML>
|