MapWindow 6.0 Modeler By: Brian Marchionni (Presented by Ted Dunsford)

Preview:

DESCRIPTION

MapWindow 6.0 Modeler By: Brian Marchionni (Presented by Ted Dunsford). Idaho State University September 2009. Brian Marchionni. From Montreal Canada B.S. Computer Science M.S. GIS at ISU. Graduated!. Design Structure. MapWindow Modeler Architecture. MapWindow 6 Architecture. - PowerPoint PPT Presentation

Citation preview

1 of 27

MapWindow 6.0 Modeler

By: Brian Marchionni

(Presented by Ted Dunsford)

Idaho State University

September 2009

2 of 27

Brian Marchionni

From Montreal CanadaB.S. Computer ScienceM.S. GIS at ISU

3 of 27

Design Structure

MapWindow 6 Architecture MapWindow Modeler Architecture

4 of 27

Designing with Interfaces

• Skeleton for a class– All classes implementing interface are

interchangeable– Easily allows third party developers to extend

functionality

5 of 27

ITool Interface

6 of 27

IParameter Interface

7 of 27

Functionality

8 of 27

Calculate Areas Example

• Step 1: Add Data

9 of 27

Double Click Calculate Areas

10 of 27

Select input and output

This dialog is generated automatically based on the ITool.

11 of 27

Dialog Layout

12 of 27

Multiple Parameters

Null Value Not OK

Value OK

13 of 27

Status View During Execution

14 of 27

Results

15 of 27

Tool Sources

• Direct Implementation of ITool interface

• Run-time generation of ITools using IToolProvider– Wrapped non-native code

• Data conversion, interoperability

– Web services

16 of 27

Sample ITool Code/// <summary>/// A tool to generate IDW rasters from point data/// </summary>public class mwIDW : MapWindow.Tools.ITool{ /// <summary> /// A UniqueName Identifying this Tool, if another tool with /// the same UniqueName exists this tool will not be loaded /// </summary> string ITool.UniqueName { get { return ("MapWindow Inverse Distance Weighting"); }}

/// <summary> /// Returns the name of the tool /// </summary> string ITool.Name { get { return ("IDW"); }}

...}

17 of 27

Existing GIS Modeling Env.

Scientific Workflow Models

• OpenMI

• STELLA

• Kepler

Geospatial Workflow Models

• Sextante

• ESRI Model Builder

• IDRISI Macro Modeler

18 of 27

Comparison: stream delineation

19 of 27

Comparison

Green is ArcGIS ModelBuilder, Purple is Sextante modeler and Blue MapWindow Modeler.

20 of 27

Click To Launch Modeler

21 of 27

Drag a Tool

22 of 27

Set up Inputs & Outputs

Double Click

Set Inputs And Outputs

23 of 27

Drag a Second Tool

24 of 27

Previous Output is in list

25 of 27

Steps Are Now Linked

Click To Run

26 of 27

Save the Model For Later

27 of 27

Thank you

Questions?

Recommended