MapWindow Home
Search MapWindow.org


  • Home
    • Download
    • Why MW
    • FAQ
    • Contact
  • Products
    • MapWindow
    • ActiveX
    • Plug-ins
  • Software Dev
    • Sample Code
    • Scripts
    • Source
    • Bugs
    • Support
    • Languages
  • Site Tools
    • Forums
    • Tutorials
    • Mailing Lists
    • Team
    • Site Stats
    • Links
  • Get Stuff
    • Buy a CD
    • Buy a T-Shirt
    • MW Book
    • ActiveX Book
    • Donate
    • Buy Support
  • Documentation
    • MWGIS App. User Guide
    • GISTools User Guide
    • MW Plug-ins Dev. Guide
    • MWGIS ActiveX Dev. Guide
    • MWGeoProc Dev. Guide

Tutorials

From MapWindow GIS

Jump to: navigation, search

Contents

  • 1 MapWindow GIS Application Tutorials
  • 2 MapWindow GIS Application Video Tutorials Developed by Leszek Pawlowicz
    • 2.1 Other videos
  • 3 Getting Started Writing MapWindow Plug-ins
  • 4 Getting Started Using the MapWinGIS ActiveX Control
  • 5 ActiveX Guides by Germán Carrillo from GeoTux team (Spanish)
  • 6 Additional Resources
  • 7 General GIS Resources

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

  • Intro to MapWindow - Viewing Shapefiles (from FreeGeoTools Blog)
    • Google Video

Getting Started Writing MapWindow Plug-ins

  • MapWindow Plug-in Development Tutorial
  • Download sample MapWindow plug-in source code

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

  • MapWindow Plug-in Development Tutorial
  • Download sample MapWindow ActiveX control project source code


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

  • Construcción de un visor de Shapefiles con herramientas libres: http://geotux.tuxfamily.org/recursos/blogs/VisorMapWindow/Visor_de_Shapefiles_con_herramientas_libres.pdf
  • Creación de un archivo instalador para el visor de Shapefiles: http://geotux.tuxfamily.org/recursos/blogs/InstaladorVisor/Instalador_Visor.pdf
  • Filtro por atributos para el visor de Shapefiles: http://downloads.tuxfamily.org/tuxgis/geoblogs/filtro_por_atributos/Filtro_por_Atributos_MapWinGIS.pdf
  • Herramienta para identificar objetos espaciales en el Visor de Shapefiles de MapWinGIS: http://downloads.tuxfamily.org/tuxgis/geoblogs/identify/MapWinGIS_IdentificarObjetosEspaciales.pdf

Additional Resources

  • MapWindow Discussion Forums
  • MapWindow Online Documentation


General GIS Resources

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

  • AGI GIS Dictionary
  • ESRI GIS Dictionary
Retrieved from "http://www.mapwindow.org/wiki/index.php/Tutorials"

Category: Tutorials

Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in / create account
  • What links here
  • Related changes
  • Upload file
  • Special pages
  • Printable version
  • Permanent link

Geospatial Software Lab

Copyright © 2008 - MapWindow Open Source Team
( last updated: November 12 2008.)
Home | Donate | Download | MapWindow GIS Desktop | MapWinGIS.ocx | Plug-ins | Contact | Lists | Bugs | Sample Code | Documentation
Code Repository | Open Source License | Discussion Forum | Wiki | Join the Team | Site Statistics | Links