To access all pages and datasets consider registering first. Already registered? Login here. Forgot your password?

Change Font Size

Change Screen

Change Profile

Change Layouts

Change Menu Styles

Cpanel

GEOSTAT News

Stay informed on our latest news!

Syndicate content

GEOSTAT tutorials

Download GEOSTAT recordings

GEOSTAT software

Software iconList of FOSS software used in this course and installation instructions. Follow these instructions to prepare and customize the software before the beginning of the course.

Literature used

ASDAR bookList of books / lecture notes used in this course. See also: CRAN Task View: Analysis of Spatial Data.

Events

« August 2014 »
MonTueWedThuFriSatSun
123
45678910
11121314151617
18192021222324
25262728293031

Introduction to GRASS GIS

Location: to be assigned depending on the registrations

Objective: Introduction to GRASS GIS: from history and background to statistical modules and GRASS+R
General description: The tutorial will begin with a general introduction to GRASS with a few exercises to get familiar with GRASS. Emphasis will be put on some important concepts of GRASS: locations, computational regions and vector topology. The amount of exercises will then increase from session to session, ending with GRASS – R interaction.
Required back-ground knowledge: GIS and spatial data processing, statistics.
Software / R packages required: GRASS 6.4.1, 6.4.2 or 6.5, R.

Videos of presentations are now available!

- Download binaries: winGRASS 6.4.2 snapshot full installer or LinuxGRASS 6.4.2 snapshot (64bit) installer or MacOSX-GRASS 6.4.1. installer
- Download source code: GRASS 6.4.2svn from SVN for own compilation + Compile and Install instructions


9:00–10:30 GRASS GIS Intro, getting started - Markus Neteler
Summary: GRASS history and background; GRASS database concept (GISDBase, Location, Mapset); computational region in GRASS; raster format intro and principles of raster processing; vector format intro and principles of vector processing; data import/export; raster/vector reprojection. Exercises: data import/export, computational regions for raster processing, vector topological cleaning.

10:30–11:00 Coffee break;

11:00–12:30 Overview of the functionality in GRASS, exercises with selected modules - Markus Neteler
Summary: GRASS command structure; 3D visualisation; scripting in GRASS; statistical modules for raster maps, vector maps, and combining raster and vector maps. Each part will be accompanied by exercises.

12:30–14:00 Lunch break;

14:00–15:30 Lecture cont'ed - Markus Neteler + GRASS GIS exercises - Markus Metz
Summary: GRASS - R interaction.

15:30–15:45 Coffee break;

15:45–17:00 exercises - Markus Metz
Summary: exercises continued; open analysis session.

 

Literature:

AttachmentSize
nc_boundary_county.tgz6.28 MB
elev_ncstate_500m_tif.zip1.8 MB
meuse.zip5.51 MB
meuse.R23.43 KB
nc_spm_08_geostat.tgz7.29 MB
meuse_scripts.zip1.66 KB
GRASS_geostat_landau_2011_intro.pdf4.47 MB
GRASS_geostat_landau_2011_exercise.pdf345.69 KB
5
Your rating: None Average: 5 (1 vote)

Comments (6)

Bulk import of ASTER GDEM via command line

Put all AST*.zip files into one directory.  
Then, in the GRASS GIS shell terminal, cd into this directory and run:
 
# unzip all files in a loop:
for map in `ls A*.zip` ; do unzip $map ; done
 
# import and set elevation color table
for map in `ls AST*/AST*num.tif` ; do
     r.in.gdal input=$map out=`basename $map .tif` -o
     r.colors `basename $map .tif` color=elevation
done
 
# set computational region to include all imported maps (the list of DEM names we retrieve automatically):
g.region rast=`g.mlist rast pattern="AST*"` -p
 
Now you can display and analyse the ASTER GDEM maps. If you want to mosaik the DEM tiles into one single map, use r.patch:
r.patch input=`g.mlist rast pattern="AST*"` output=complete_ASTER_GDEM
r.colors complete_ASTER_GDEM color=elevation
 

Using GDAL and OGR tools

Find here two blog pages with many examples:

for loop for bulk ASCII Grid import

Here the shell "for" loop which we used during the course:
cd /path/to/meuse/
for map in `ls *.asc` ; do r.in.gdal input=$map out=`basename $map .asc` -o ; done
 
To find more material about shell programming, see here: http://grass.osgeo.org/wiki/GRASS_and_Shell

Thank you for bringing more

Thank you for bringing more information to this topic for me. Im truly grateful and really impressed. Shop Vac

Using R in a GRASS Session on MS-Windows

Please check at http://grass.osgeo.org/wiki/R_statistics how to use R within a running GRASS Session on MS-Windows.

Compilation of GRASS 65 / GRASS 7 on MacOS X

 Advanced users may be interested in getting the development versions of GRASS 6 (version 6.5) and GRASS 7. This is only possible if you have installed the Apple Developer Tools on your machine, and the KingChaos frameworks required for the GRASS 6 binary (http://www.kyngchaos.com/software/frameworks). Once these are installed, get the GRASS source code (http://trac.osgeo.org/grass/wiki/DownloadSource) and open a terminal window.

Source configuration can be initialized like this: (from the command line)

export NAD2BIN=/Library/Frameworks/PROJ.framework/Programs/nad2bin

./configure \
--without-motif --without-glw --without-odbc --without-cairo --without-readline --without-postgres \
--with-opengl=aqua --enable-sysv --with-x --with-cxx \
--with-freetype --enable-largefile --with-wxwidgets \
--prefix=/Applications --enable-macosx-app --with-macosx-archs=i386 \
--with-includes=/usr/include \
--with-libs=/usr/lib \
--with-proj-includes=/Library/Frameworks/PROJ.framework/unix/include \
--with-proj-libs=/Library/Frameworks/PROJ.framework/unix/lib \
--with-proj-share=/Library/Frameworks/PROJ.framework/Versions/4/Resources/proj \
--with-tiff-includes=/Library/Frameworks/UnixImageIO.framework/Versions/C/unix/include \
--with-tiff-libs=/Library/Frameworks/UnixImageIO.framework/Versions/C/unix/lib \
--with-png-includes=/Library/Frameworks/UnixImageIO.framework/Versions/C/unix/include \
--with-png-libs=/Library/Frameworks/UnixImageIO.framework/Versions/C/unix/lib \
--with-sqlite \
--with-sqlite-includes=/Library/Frameworks/SQLite3.framework/Versions/3/unix/include \
--with-sqlite-libs=/Library/Frameworks/SQLite3.framework/Versions/3/unix/lib 

 

Adjust the configuration above to taylor GRASS to your needs, i.e. add postgresql support etc.

 
If configure finished without error, compile and install the software with:
make && sudo make install
 
See the macos specific README within the GRASS source code for further discussion of the process.

 

You are here