Tutorials

From MapWindow GIS

Jump to: navigation, search

Contents

MapWindow GIS Application Tutorials

  • MapWindow GIS 4.5 Getting Started With MapWindow - ARABIC LANGUAGE - By Wisam E. Mohammed, GIS Expert, Ph.D., Public Commission for the Protection of Marine Resources, Environment & Wildlife, Kingdom of Bahrain (pdf format - 8MB)
  • MapWindow GIS Quick Start Developed with Gary Watry and Tom Croft (pdf format)
  • MapWindow GIS Tutorial, Lesson 1 (pdf format)
  • MapWindow GIS Tutorial, Lesson 2 (pdf format)
  • MapWindow GIS 4.3 Full Tutorial (pdf format)


MapWindow GIS Application Video Tutorials Developed by Leszek Pawlowicz

Lsczek Pawlowicz has developed a variety of instructional videos on how to use MapWindow GISincluding:

  • Shapefile Viewing With MapWindow GIS Part I
  • Shapefile Viewing With MapWindow GIS Part II
  • Shapefile Viewing With MapWindow GIS Part III
  • Shapefile Manipulation With MapWindow GIS
  • Shapefile Editing With MapWindow GIS I
  • Shapefile Editing With MapWindow GIS II
  • Shapefile Attribute Tables With MapWindow GIS Part I
  • Shapefile Attribute Tables With MapWindow GIS Part II

Other videos

Getting Started Writing MapWindow Plug-ins

Note: According to a user (J.Badenhorst) the tutorial is missing an important step. Apparently you need to add this line to instantiate a new toolbar before adding your buttons: MapWin.Toolbar.AddToolbar("sPathAnalyzer")

If you happen to find any more errors or corrections to any tutorials on this page, please login to the Wiki (or create an account) and post your changes/fixes here.

Notes: I finished the tutorial but I would like to give a few tips if you are a first time user.

1) Adding the icon: The easiest way is to use an existing icon. Then right-click on the project name in solution explorer and hover on add. Then click on existing item (make sure that the 'files of type' is set to 'all files'), and choose your icon. click on the icon in the solution explorer. In the properties, set 'build action' to 'embedded resource'. This is very important, if it is not set as an embedded resource, MapWindow will not see it inside the class.

2)Form: btnOK_Click sub: I changed the following line and put it outside the if statement. If it is not done, the DialogResult is never OK and the if in LoadLayers is never true. So, change: Me.DialogResult = Windows.Forms.DialogResult.None, to Me.DialogResult = Windows.Forms.DialogResult.OK and take it outside the if statement.

3)LoadLayers: I put a declaration of a layer under the declarations of DEMpath and Pathpath: Dim lyr As MapWindow.Interfaces.Layer, and in the place of: g_MapWin.Layers.Add(DEMpath), I added: lyr = g_MapWin.Layers.Add(Pathpath)

                   lyr.LineOrPointSize = 3
                   lyr.Color = System.Drawing.Color.Red

This just makes the lines thicker and more visible.

Hope this helps future MapWindow users.

Getting Started Using the MapWinGIS ActiveX Control


ActiveX Guides by Germán Carrillo from GeoTux team (Spanish)

Additional Resources


General GIS Resources

Here are some GIS dictionaries which are a valuable reference when learning GIS:

Personal tools