# Introduction to GRASS GIS
0. Course Organisation 1. Database model 2. Commands 3. User interface 4. GRASS GIS exercise
## Course organisation ### Assignment 2 is due this Friday. - Indicate which repository should be graded in this [issue](https://courses.gistools.geog.uni-heidelberg.de/fossgis/home/-/issues/13)
### Group project - Post your preferred groups of 2 for the group project in this [issue](https://courses.gistools.geog.uni-heidelberg.de/fossgis/home/-/issues/12)
### Assignment 3 is now online - https://courses.gistools.geog.uni-heidelberg.de/fossgis/fossgis_assignment_03 - Deadline: **Friday, 29.11.** - Post your preferred groups of 2 for assignment 3 in this issue by **Friday, 15.11.**: https://courses.gistools.geog.uni-heidelberg.de/fossgis/home/-/issues/14
### Any questions or problems?
## Database model
### Database - A normal directory which contains the data you process using GRASS GIS.
### Location - A location is a directory with data related to a certain geographic location or a certain project. - A location is defined by its coordinate reference system and geographical boundaries. - All data within one location must have the same coordinate reference system.
### Mapset - A location contains mapsets. - Each mapset contains data related to a specific task or user. - A user can only work in one mapset at a time. - Every location contains a PERMANENT mapset. - The PERMANENT mapset is accessible from all mapsets, data in other mapsets is not accessible
### Danger Zone **Do not edit files within a location outside of GRASS GIS to avoid corrupting the data!** However, you can copy a location folder to share it with someone else.
### Create a new project and add data in the data tab
### Region The region (marked in red) defines the geographic extent within which data is processed.
### Region The region can be printed and changed using the command `g.region` The **region** is defined by - the geographical projection - the geographical extent - the spatial resolution of cells (only relevant for raster data)
## GRASS GIS Commands
### Commands in GRASS GIS are separated into groups, e.g.
### Documentation of each module → [https://grass.osgeo.org/grass84/manuals/index.html](https://grass.osgeo.org/grass84/manuals/index.html)
### Execute commands from the GRASS GIS command line
### Execute commands from the GRASS GIS console
### Execute commands using graphical user interface
### Execute commands using graphical user interface
### Data of the mapsets are displayed in the "Data" tab
- Click the **"reload" button** after you have processed data to update this view. - Double click data sets to visualise them in the map display window.
### Display Layers in the Map Display window All layers in the "Layers" tab are visualised in the Map Display window. You can have several Map Display windows.
### Resources - [GRASS GIS 8.4 Manual](https://grass.osgeo.org/grass84/manuals/index.html) - [GRASS GIS introduction video](https://www.youtube.com/watch?v=ZeS7GT_Zlqg) - [Video Playlist: Getting Started with GRASS GIS](https://www.youtube.com/watch?v=56xkXMd9XBM&list=PLycBDiXWmuxnfLUjs1wkm6WvYsazeLZ0K)
## GRASS GIS exercise - Work on the exercises at http://fossgis.courses-pages.gistools.geog.uni-heidelberg.de/home/content/topics/06_grass/exercise.html