kurt menke, gisp

24
Kurt Menke, GISP GRASS GIS Geographic Resources Analysis Support System

Upload: anka

Post on 17-Jan-2016

37 views

Category:

Documents


0 download

DESCRIPTION

GRASS GIS Geographic Resources Analysis Support System. Kurt Menke, GISP. GRASS GIS. What is it? A robust Open Source GIS that runs on a wide variety of computer platforms including Windows, Linux, and Macintosh OS X. GRASS Factoids: • Originally developed by the U.S. Army Construction - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Kurt Menke, GISP

Kurt Menke, GISP

GRASS GISGeographic Resources Analysis Support System

Page 2: Kurt Menke, GISP

GRASS GIS

What is it?

A robust Open Source GIS that runs on a wide variety of computer platforms including Windows, Linux, and Macintosh OS X.

Page 3: Kurt Menke, GISP

GRASS Factoids:• Originally developed by the U.S. Army ConstructionEngineering Research Laboratories (USA-CERL) between 1982 and 1995• Open Sourced in 1997• Over 1 million lines of code, developed by an international team of contributing programmers and organizations.• Over 350 geoprocessing functions• Currently at version 6.4.1

Page 4: Kurt Menke, GISP

GRASS Evolution GRASS has evolved greatly over the last several years Historically only available for LINUX It's only with version 6 that it's been available to Windows users Like ArcInfo it was originally purely commandline software Part of the move to Windows has been the development of a GUI – graphical user interface The full power of the package is still reserved for commandline users

Page 5: Kurt Menke, GISP

GRASS Evolution

Has a different vocabulary and workflow which takes getting used to

Is very modular Consisits of many commands This allows for automation of geoprocessing through standard scripting languages (shell scripts, python, perl, etc.)

Page 6: Kurt Menke, GISP

Examples - Cartography

Page 7: Kurt Menke, GISP

Examples 3D Visualization

Page 8: Kurt Menke, GISP

Examples - Image Processing

Page 9: Kurt Menke, GISP

Vector Analysis…GRASS isn’t just for rasters anymore

Networks

Charts Buffers

Page 10: Kurt Menke, GISP

GRASS Databases, LOCATIONs and MAPSETs?

These are the foundation of data organization in GRASS These cause the most confusion to beginners Must be set up before you begin working Essentially a hierarchy of folders

Page 11: Kurt Menke, GISP

GRASS Database

Simply a folder where GRASS LOCATIONS and MAPSETS are stored

Page 12: Kurt Menke, GISP

LOCATIONsLOCATIONs:Simply foldersRepresent a geographic extent of interestContains data sets that should all be in the same coordinate system!Every LOCATION has a PERMANENT directory which stores some basic information about the whole LOCATIONPERMANENT can be a good place to store base filesYou can think of a LOCATION as a data library for a region of interest Almost like a geodatabase

Page 13: Kurt Menke, GISP

MAPSETs MAPSETS Technically they are subfolders under any LOCATION. For example, PERMANENT is a MAPSET Conceptually similar to Feature Datasets They are workspaces in which you can organize GIS data thematically, geographically, by project or by user.

Every GRASS session runs under the name of a MAPSET. A MAPSET may be a geographical subset or as large as the parent LOCATION.

Page 14: Kurt Menke, GISP

MAPSETs cont….MAPSETS cont…In a networked environment with several users working within the same LOCATION, MAPSETS can play a special role.

Can be set up so that users may only select (and thus modify) a MAPSET that they own (i.e., have created). However, data in all MAPSETS for a given LOCATION can be read by anyone (unless prevented by file permissions).

The "PERMANENT" MAPSET typically contains the read-only base maps like the elevation model, while the other LOCATIONs are readable and writable by their owners.

The "PERMANENT" MAPSET also contains some information about the LOCATION itself that is not found in other MAPSETS (projection info etc.), thus it must exist in every LOCATION.

Page 15: Kurt Menke, GISP

GRASS Database LOCATION

MAPSETS

Page 16: Kurt Menke, GISP

RUNNING GRASSWhen first running GRASS, you have to identify a GRASS GIS Database folderThe you have to define or load a LOCATIONIt contains the data as well as projection definitions

If starting from scratch on a new projectYou need to identify a folder as your GRASS DatabaseThen you must create a folder for your LOCATION, i.e. My_ProjectDefine the spatial reference for data in that LOCATION as well as the spatial extent.

Page 17: Kurt Menke, GISP

RUNNING GRASS

Page 18: Kurt Menke, GISP

GRASS DATAGRASS requires that all data be imported into a GRASS database. It can read and import a wide variety of datasets via GDAL/OGR.

Data is stored as GRASS vectors and GRASS rasters which are themselves file formats.

If starting a new project - once you've established your Database, LOCATIONS and MAPSETS - you need to import your data. You'll do that in Lab 5.

Page 19: Kurt Menke, GISP

GRASS REGIONSLike an environmental setting in ArcGIS

The region defines the geographic area in which GRASS should work. It is characterized by several parameters: - Spatial reference (e.g. UTM, latitude-longitude, etc) - Spatial extent, i.e. the North/South/East/West limits of

the area covered - The number of columns and number of rows for the data - Resolution, i.e. the spatial extent divided by the number of rows (N-S resolution), & columns (E-W resolution).

Page 20: Kurt Menke, GISP

GRASS REGIONSThe default values of these parameters for a given LOCATION are stored in the DEFAULT_WIND file in the PERMANENT MAPSET of that LOCATION.

Page 21: Kurt Menke, GISP

GRASS REGIONsWhy do we care about the REGIONs? Display:Display: if the REGION is set to a smaller extent than the data you're working with, the display command will only show the portion of the map that is within the REGION. Export:Export: the data export commands will work within the REGION Analysis and Resolution:Analysis and Resolution: will be effected by REGION settings. REGIONS are how you control raster resolution.

Ideally, the default REGION of a LOCATION should encompass the entire area covered by all the maps in that LOCATION.

Page 22: Kurt Menke, GISP

Resources

Page 23: Kurt Menke, GISP

Resources

Documentation - ManualsDocumentation - Manualshttp://grass.osgeo.org/wiki/GRASS_Documents

ListservListservhttp://lists.osgeo.org/mailman/listinfo/grass-user

WikiWikihttp://grass.osgeo.org/wiki/Main_Page

Page 24: Kurt Menke, GISP

Lab 4 – Intro to GRASS GIS

Using wxPython GUIthere is one other GUI...tck/tkPlus a commandline – text interface

wxPython is a GUI toolkit for the Python programming language. This is what the GUI is written in...thus the name

You'll learn how to start GRASS and do some basic things