Difference between revisions of "Education Material Development"

From OSGeo
Jump to navigation Jump to search
m (starting examples)
Line 1: Line 1:
 
== Unit AM4 Basic analytical operations ==
 
== Unit AM4 Basic analytical operations ==
  
=== Exercise Data ==
+
=== Exercise Data ===
  
 
'''Type of Data'''
 
'''Type of Data'''
 +
Four simple datasets are used for these examples including 3 vector and at least one raster data file.  Each file should generally overlap the region of the other files so that comparison operations can be done in the exercises:
 +
# points - several dozen points roughly grouped together
 +
# lines - a simple network of lines would be ideal
 +
# areas - one or more polygons
 +
# raster - with some simple grouped classes, not too noisy and similar in appearance to points, lines or areas.
  
  
 
'''Specific Examples'''
 
'''Specific Examples'''
 +
All examples in this instance of the training are from the North Carolina demonstration dataset shapefiles and grids.
 +
# points - bus stop locations - ''busstopsall.shp''
 +
# lines - stream network - ''streams.shp''
 +
# areas - lakes - ''lakes.shp''
 +
# raster:
 +
## a single point-like feature class - ''facility.grd''
 +
## road linework - ''roadsmajor.grd''
  
 
=== Buffers ===
 
=== Buffers ===
 +
 +
'''Method'''
 +
# open GIS application
 +
# add shapefile or raster layer to the map view
 +
# zoom to the extent of the layer
 +
# select ''buffer'' geoprocessing tool
 +
# enter required parameters and options:
 +
## ''input layer'' - the layer that the buffer operation will be applied to
 +
## ''output layer'' - the new file that will be created and include the buffer features.
 +
## ''distance'' - the distance from the input features that the buffer will be created at
 +
## options - including the option to ''dissolve'' the resulting features by merging the buffer features together instead of retaining the individual buffer lines of overlapping buffer perimeters.
 +
 +
'''Exercise using QGIS'''
 +
# open QGIS
 +
# Load the data layer.  Using menus at top of screen select '''LAYER -> Add Vector Layer'''
 +
## Press '''Browse''' button
 +
## Navigate to the folder holding the sample datasets and select '''busstopsall.shp''' and press '''Open''' button
 +
## QGIS will automatically zoom to the extent of the bus stop features
 +
# Run the buffer process from the menu: '''TOOLS -> Geoprocessing Tools -> Buffer(s)'''
 +
## Set the '''Input vector layer''' to '''busstopsall'''
 +
## Enter '''Buffer distance''' of '''20'''.  This will be 20 metres.
 +
## Set the '''Output shapefile''' by pressing '''Browse''' button.  Navigate to the data folder and enter the new filename as '''busstops_20m_buffer.shp'''.  Press '''Save''' button to select that filename.
 +
## Press '''OK''' button to run the process.
 +
# After running, the system asks '''Would you like to add the new layer to the TOC?''' select '''Yes''' and the resulting shapefile will be added as a layer in your map view.
 +
# Buffer(s) window remains open.  Press '''Close''' to close the window.
  
  

Revision as of 13:00, 5 November 2009

Unit AM4 Basic analytical operations

Exercise Data

Type of Data Four simple datasets are used for these examples including 3 vector and at least one raster data file. Each file should generally overlap the region of the other files so that comparison operations can be done in the exercises:

  1. points - several dozen points roughly grouped together
  2. lines - a simple network of lines would be ideal
  3. areas - one or more polygons
  4. raster - with some simple grouped classes, not too noisy and similar in appearance to points, lines or areas.


Specific Examples All examples in this instance of the training are from the North Carolina demonstration dataset shapefiles and grids.

  1. points - bus stop locations - busstopsall.shp
  2. lines - stream network - streams.shp
  3. areas - lakes - lakes.shp
  4. raster:
    1. a single point-like feature class - facility.grd
    2. road linework - roadsmajor.grd

Buffers

Method

  1. open GIS application
  2. add shapefile or raster layer to the map view
  3. zoom to the extent of the layer
  4. select buffer geoprocessing tool
  5. enter required parameters and options:
    1. input layer - the layer that the buffer operation will be applied to
    2. output layer - the new file that will be created and include the buffer features.
    3. distance - the distance from the input features that the buffer will be created at
    4. options - including the option to dissolve the resulting features by merging the buffer features together instead of retaining the individual buffer lines of overlapping buffer perimeters.

Exercise using QGIS

  1. open QGIS
  2. Load the data layer. Using menus at top of screen select LAYER -> Add Vector Layer
    1. Press Browse button
    2. Navigate to the folder holding the sample datasets and select busstopsall.shp and press Open button
    3. QGIS will automatically zoom to the extent of the bus stop features
  3. Run the buffer process from the menu: TOOLS -> Geoprocessing Tools -> Buffer(s)
    1. Set the Input vector layer to busstopsall
    2. Enter Buffer distance of 20. This will be 20 metres.
    3. Set the Output shapefile by pressing Browse button. Navigate to the data folder and enter the new filename as busstops_20m_buffer.shp. Press Save button to select that filename.
    4. Press OK button to run the process.
  4. After running, the system asks Would you like to add the new layer to the TOC? select Yes and the resulting shapefile will be added as a layer in your map view.
  5. Buffer(s) window remains open. Press Close to close the window.


Overlay

Neighbourhoods

Map Algebra