Canada’s Natural Resources – Now and for the Future Using Open Source to analyze Canada’s National Forest Inventory. Chris West and Brian Low Pacific Forestry.

Slides:



Advertisements
Similar presentations
A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC.
Advertisements

Images Images are a key component of any multimedia presentation.
Geographic Information Systems GIS Data Models. 1. Components of Geographic Data Spatial locations Attributes Topology Time.
Geographic Information Systems
NSF DUE ; Module 4.3. NSF DUE ; GeoTEd Partners Module name and number.
WFM 6202: Remote Sensing and GIS in Water Management © Dr. Akm Saiful IslamDr. Akm Saiful Islam WFM 6202: Remote Sensing and GIS in Water Management Akm.
Raster Based GIS Analysis
Group 3 Akash Agrawal and Atanu Roy 1 Raster Database.
Introduction to GIS and ArcGIS How a GIS works Introduction to ArcGIS The ArcGIS Interface.
For Mapping Biodiversity Data Data Management Options.
West Hills College Farm of the Future. West Hills College Farm of the Future Where are you NOW?! Precision Agriculture – Lesson 3.
Raster Data in ArcSDE 8.2 Why Put Images in a Database? What are Basic Raster Concepts? How Raster data stored in Database?
Geography & Technology. 1.Geographic Information Systems 2.Global Positioning System 3.Aerial Photographs 4.Satellite Imagery.
You have just been given an aerial photograph that is not registered to real world coordinates. How do you display the aerial with other data layers that.
GIS 200 Introduction to GIS Buildings. Poly Streams, Line Wells, Point Roads, Line Zoning,Poly MAP SHEETS.
Geographic Information Systems : Data Types, Sources and the ArcView Program.
PROCESS IN DATA SYSTEMS PLANNING DATA INPUT DATA STORAGE DATA ANALYSIS DATA OUTPUT ACTIVITIES USER NEEDS.
NPS Introduction to GIS: Lecture 1
Introduction to GIS and ArcGIS How a GIS works Introduction to ArcGIS.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Dr. David Liu Objectives  Understand what a GIS is  Understand how a GIS functions  Spatial data representation  GIS application.
ESRM 250 & CFR 520: Introduction to GIS © Phil Hurvitz, KEEP THIS TEXT BOX this slide includes some ESRI fonts. when you save this presentation,
Open Source Databases and GIS
GIS Analysis. Questions to answer Position – what is here? Condition – where are …? Trends – what has changed? Pattern – what spatial patterns exist?
Rebecca Boger Earth and Environmental Sciences Brooklyn College.
Community Information Database (CID) Presented by: Carl Sauriol Rural Research and Analysis Rural and Co-operatives Secretariat.
Chris Cummings.  Traffic cameras recording targets and retrieving them  Cameras track targets and the data needs to be recorded, but how are you supposed.
GIS Lecture 1 Introduction to GIS Buildings. Poly Streams, Line Wells, Point Roads, Line Zoning,Poly MAP SHEETS.
Fundamentals of GIS Lecture Materials by Austin Troy except where noted © 2008 Lecture 13: Introduction to Raster Spatial Analysis Using GIS-- By.
Welcome to Mapping Tom Sellsted – City of Yakima, Washington Vladimir Strinski – Hitech Systems.
Delivery of Forecasted Atmospheric Ozone and Dust for a Public Health Decision-Support System-Architecture and Functionality William B. Hudspeth, Jeff.
Preparing Data for Analysis and Analyzing Spatial Data/ Geoprocessing Class 11 GISG 110.
ESRM 250 & CFR 520: Introduction to GIS © Phil Hurvitz, KEEP THIS TEXT BOX this slide includes some ESRI fonts. when you save this presentation,
GIS2: Geo-processing and Metadata Treg Christopher.
MSc in Geoinformatics – Managing Energy, Resources, Environment Teacher Training Dushanbe, – TEMPUS This project has.
The OpenGIS Consortium Geog 516 Presentation #2 Rueben Schulz March 2004.
How do we represent the world in a GIS database?
Introduction to Raster Spatial Analysis Using GIS-- Introduction to GIS Raster Query Map Calculation Zonal statistics Terrain functions Viewshed.
Introduction of Geoprocessing Topic 7a 4/10/2007.
A.Batchimeg GDAL Geospatial Data Abstraction Library GDAL Geospatial Data Abstraction Library
Generating vector data and statistics from the Stamp survey Dr Humphrey Southall & Dr Brian Baily University of Portsmouth.
Raster Concepts.
Vegetation Mapping An Interagency Approach The California Department of Forestry and Fire Protection and the USDA Forest Service Mark Rosenberg: Research.
Fundamentals of GIS Lecture Materials by Austin Troy except where noted © 2008 Lecture 13: Introduction to Raster Spatial Analysis Using GIS-- By.
GIS Data Structures How do we represent the world in a GIS database?
Texas State Technical College DISCOVER! Cartesian Product Cover all the bases.
NR 143 Study Overview: part 1 By Austin Troy University of Vermont Using GIS-- Introduction to GIS.
© Phil Hurvitz, Introduction to Geographic Information Systems and their Potential Uses as Management Tools in Commercial Shellfish Farming Introduction.
A Quick Introduction to GIS
1 Overview Importing data from generic raster files Creating surfaces from point samples Mapping contours Calculating summary attributes for polygon features.
Introduction of Geoprocessing Lecture 9. Geoprocessing  Geoprocessing is any GIS operation used to manipulate data. A typical geoprocessing operation.
Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.
W W W. R E F R A C T I O N S. N E T Chris Hodgson –Spatial object models using PostGIS, Hibernate, and the JTS Topology Suite.
Definition of Spatial Analysis
Introduction of Geoprocessing Lecture 9 3/24/2008.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
Spatial Data Models Geography is concerned with many aspects of our environment. From a GIS perspective, we can identify two aspects which are of particular.
Module 2: Authoring Basic Reports. Overview Creating a Basic Table Report Formatting Report Pages Calculating Values.
WELLS AND TIME SERIES DATA. Framework Temporal Aquifers & Wells.
Lecture 18: Spatial Analysis Using Rasters Jeffery S. Horsburgh CEE 5190/6190 Geographic Information Systems for Civil Engineers Spring 2016.
Geospatial Data Abstraction Library(GDAL) Sabya Sachi.
Intermountain West Data Warehouse - Western Air Quality Study
Spatial Models – Raster Stacy Bogan
Database Management  .
Evaluating Land-Use Classification Methodology Using Landsat Imagery
Review- vector analyses
NPS Introduction to GIS: Lecture 1 Based on NIMC and Other Sources.
Spatial Analysis with Raster Datasets-1
Presentation transcript:

Canada’s Natural Resources – Now and for the Future Using Open Source to analyze Canada’s National Forest Inventory. Chris West and Brian Low Pacific Forestry Centre Canadian Forest Service Natural Resources Canada

Canada’s Natural Resources – Now and for the Future Who we are (1)  Canada’s new National Forest Inventory (NFI) is designed to assess and monitor the extent, state and sustainable development of Canada’s forests.

Canada’s Natural Resources – Now and for the Future Who we are (2)  Canada’s National Forest Information System (NFIS Canada) is an inter-governmental initiative that is funded jointly by the Federal, Provincial, and Territorial Governments of Canada.  Working together with its partners, NFIS provides authoritative information/data about sustainable forest management in Canada.

Canada’s Natural Resources – Now and for the Future Canada’s Forest Sector Facts  Canada has 10% of the world’s forests.  41% of Canada’s surface area is forest or other wooded lands.  In 2004, the forest sector contributed $36.8 billion to the Canadian Economy (3.1% of Canada’s GDP)  (Facts taken from “Important Facts on Canada’s Natural Resources” 2005)

Canada’s Natural Resources – Now and for the Future FOSS Technologies  Open Source Technologies utilized include:  Mapserver / Proj4.  Linux  Apache  PostgreSQL  PostGIS.  GDAL suite of tools.  GeoTools / JTS  Java / Eclipse

Canada’s Natural Resources – Now and for the Future Project Overview  NFI employs a “plot-based design consisting of permanent observational units located on a national grid.”  Repeated measurements are conducted over a set time frame and changes in these plots are summarized and reported over time.  NFI is designed to “be able to provide quantitative information on Canada’s Forests and related resources.”

Canada’s Natural Resources – Now and for the Future NFI Data  At least 25,000 2km by 2km plots with six layers/themes of data per plot consisting of:  Land Cover photo interpreted (Vector Polygons).  Land Use photo interpreted (Vector Polygons).  Land Ownership photo interpreted (Vector Polygons).  Land Protected Status photo interpreted (Vector Polygons).  Canadian Terrestrial Ecozones (Vector WMS).  Land Cover classified from satellite (Raster).

Canada’s Natural Resources – Now and for the Future NFI Data Layers Visual

Canada’s Natural Resources – Now and for the Future Spatial Analysis  Required for NFI reporting.  Needs to support area queries at a national level down to queries at a much finer level.  Generally deal with spatial operations that include the “by” or “within” (union or intersection) spatial operands operating on area.

Canada’s Natural Resources – Now and for the Future A Sample of NFI Reporting Questions  What is the total forested area within a specified region?  What is the area of forested types within a specified region?  What is the area of forest type by age within a specified region?  What is the area of forest types by protection status within a specified region?

Canada’s Natural Resources – Now and for the Future Issues to overcome 1.Spatial analysis requires thousands upon thousands of spatial overlays. 2.Mixed raster and vector data make spatial overlays difficult. 3.Large amounts of attribute data are stored in external databases. 4.Data collection is conducted over a long period of time, requiring spatial analysis to be done at regular intervals.

Canada’s Natural Resources – Now and for the Future General Approach 1.Load vector NFI spatial data into a Spatial Database (PostGIS). 2.Resample 2km by 2km NFI plots to 5m by 5m cells (Mapserver, SLD, GDAL, custom code). 3.Load resampled data into a RDBMS (PostgreSQL). 4.Run simple SQL queries to generate NFI reports.

Canada’s Natural Resources – Now and for the Future Step 1: Load Spatial Data  Load NFI vector plot data into PostGIS.  UTM Zones were created to partition the data  Mapserver used to publish data as raster images (OGC WMS).

Canada’s Natural Resources – Now and for the Future Resample plot data (1)  Mapserver is used as a “Vector to raster” engine to create raster images of an NFI plot layer and an NFI plot grid. Each NFI plot has a corresponding “grid file”  A 5m by 5m uniquely colored grid (160,000 cells) was created.  The grid files are aggregated into UTM zones using ogrtindex. The index files are referenced in a Mapfile.

Canada’s Natural Resources – Now and for the Future Resample plot data (2) Mapserver Grid Image Plot Image Plot Layer Spatial Data (PostGIS + SLD) Grid Data

Canada’s Natural Resources – Now and for the Future Resample plot data (3)  The WMS getmap requests contains the bounding box of 2100 m by 2100 m with a width of 2100 pixels and a height of 2100 pixels.  The request returns a one metre resolution image.  Each 5m by 5m cell in the grid has 25 pixels.

Canada’s Natural Resources – Now and for the Future Resample plot data (4)  A service was created to take the images and resample them.  This approach allowed spatial data to be stored in a text file.

Canada’s Natural Resources – Now and for the Future Resample plot data (5)  Simple Overlay example with two four pixel images: Image 1 Image 2 Overlay 1,1 0,0 1,0 1,1 1,0 0,1 Output file red, green, 2 blue, black, 1 blue, yellow, 1

Canada’s Natural Resources – Now and for the Future Resample plot data (6)  The output CSV file is resampled to find the highest number of pixels for each grid cell. The resulting document contains 160,000 rows (one for each 5m by 5m cell) consisting of each resampled colour pair.  The colour representing the plot layer in each record is replaced by its unique polygon identifier.

Canada’s Natural Resources – Now and for the Future Example of Resampling 5m Grid Image (5X5 pixels) Land cover Image (5X5 pixels) Raster Overlay Output file green,blue,10 green,yellow,7 green,pink,8

Canada’s Natural Resources – Now and for the Future Resampled 5X5 Cell green,blue,10 green,yellow,7 green,pink,8 Raster Overlay Output Resampling Process green,blue

Canada’s Natural Resources – Now and for the Future Load Resampled data into PostgreSQL  Resampled data gets loaded into one table in PostgreSQL.

Canada’s Natural Resources – Now and for the Future SQL Queries to Generate NFI Reports  Because the spatial data and the attribute data are both located in a RDBMS, SQL queries can be written to handle the “by” and “within” spatial operands.

Canada’s Natural Resources – Now and for the Future Example Cell Summaries Generation Query  The SQL statement adds the following records in the CELL_SUMMARIES table: SELECT DISTINCT 'plot1_pelo' as TILE_THEME_ID, c1.theme_value c2.theme_value c3.theme_value c4.theme_value as THEME_VALUE, count(*) as VALUE_COUNT FROM cell_values c1, cell_values c2, cell_values c3, cell_values c4 WHERE c1.tile_theme_id = 'plot1_landcover' AND c2.tile_theme_id = 'plot1_landuse' AND c3.tile_theme_id = 'plot1_ownership' AND c4.tile_theme_id = 'plot1_protectedstatus' AND c1.cell_num = c2.cell_num AND c2.cell_num = c3.cell_num AND c3.cell_num = c4.cell_num GROUP BY c1.theme_value,c2.theme_value,c3.theme_value,c4.theme_value;

Canada’s Natural Resources – Now and for the Future Sample Output  Sample output from query.

Canada’s Natural Resources – Now and for the Future Why this Approach  Allows the combination of vector and raster data to be spatially analyzed.  Allows user to do spatial queries using SQL.  Utilizes the power of a RDBMS.  Allows spatial data to be easily joined (SQL) to attribute data.  Easily scalable because open source software is used.

Canada’s Natural Resources – Now and for the Future Acknowledgments  Canadian Council of Forest Ministers (CCFM)  Canadian Forest Service, Natural Resources Canada (CFS, NRCan)  National Forest Inventory staff including:  Mark Gillis  Katja Power  Alex Song  Past Contributors:  Robin Quenet  Rick Morrison

Canada’s Natural Resources – Now and for the Future References  Low, B. (2005). ExPAND Expanding Primary Attributes for National Decision Making, M.Sc. Thesis University of Victoria.  Gillis et al. (2004). About NFI.  Natural Resources Canada (2005). Important Facts on Canada’s Resources.

Canada’s Natural Resources – Now and for the Future Questions???