Difference between revisions of "Unit AM4 Basic analytical operations"

From OSGeo
Jump to navigation Jump to search
m (New page: == 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 regio...)
 
m (→‎Examples: transclude qgis example)
 
(One intermediate revision by the same user not shown)
Line 31: Line 31:
 
## 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.
 
## 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.
  
[[Buffer with QGIS]]
+
==Examples==
 +
=== [[Buffer with QGIS]] ===
 +
{{:Buffer_with_QGIS}}
 +
 
 
== Observations ==
 
== Observations ==
 
# notes about what the student should notice about the results...
 
# notes about what the student should notice about the results...

Latest revision as of 19:45, 24 March 2010

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

Buffering a Multiple Point Shapefile

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.

Examples

Buffer with QGIS

Exercise using QGIS

This exercise uses the above method as it applies directly in QGIS. Other projects will be welcome to add their own example exercises as well.

TODO: Add screenshots

  1. Launch 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 200. This will be 200 metres.
    3. Set the Output shapefile by pressing Browse button. Navigate to the data folder and enter the new filename as busstops_200m_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.
  6. Reorder the layers so the resulting buffer polygons layer is on the bottom of the layer stack. Click and drag the busstops_200m_buffer.shp layer to beneath busstopsall.

Observations

  1. notes about what the student should notice about the results...


Overlay

Neighbourhoods

Map Algebra