Using MapWindow GIS with MMP Tools

  1. Introduction To MapWindow GIS
  2. Installing MMP Tools and MapWindow GIS
  3. Before You Start

  4. Creating a Farm Project
  5. Drawing Fields

  6. Adding Soils
  7. Drawing Sensitive Features and Manure Application Setbacks
  8. Drawing Conservation Practices
  9. Measuring Distances
  10. Creating Maps

  11. Importing Fields from a GPS or Generic Shapefile
  12. Importing Fields from a Toolkit XML File

  13. Exporting Field Data to MMP
  14. Exporting Conservation Plan to XML
  15. Exporting GIS Data to XML
  16. Exporting Layers to a Mobile GIS
  17. Exporting Field Data to Irris Scheduler

  18. Using USGS Aerial Photos
  19. Tips and Tricks
  20. The Advanced Menu


1. Introduction to MapWindow GIS

MapWindow GIS (www.mapwindow.org) is a free GIS that you can use without needing to have ArcView or ArcGIS. Once you've added the MMP Tools plug-in to MapWindow, you can follow the instructions below and use MapWindow to do the following: Important! Before you start, make sure you have an aerial photo of your fields. You can quickly locate your fields using this University of Missouri Web-based "clipper" application to zoom in on your farm and clip out and download an aerial photo of the fields: http://clipper.missouri.edu. Tip: Use the mouse wheel to zoom in on your farm. Click, hold and drag the mouse to pan the map.


2. Installing MMP Tools and MapWindow GIS

When you install MMP Tools, you can let it install MapWindow GIS for you.
  1. Start the MMP Tools installer and follow the instructions.
  2. If you don't already have MapWindow GIS installed on your computer, make sure the "MapWindow GIS Common Files" component is selected. If you already have MapWindow GIS installed, be sure to uncheck this component.
  3. MapWindow requires Microsoft's .NET Framework Version 2.0. If you don't have .NET 2.0 installed and you select to install MapWindow, the installer will take you to Microsoft's Web site, where you can download the .NET installer.
    Tip: To determine whether you have .NET 2.0 installed, start MMP and in the About box click the Information About Installed Software link. If you have .NET Framework installed, you'll see .NET Framework at the bottom of the report. Make sure you have 2.0 or later installed.
Notes:

Uninstalling MMP Tools and MapWindow GIS

If you need to remove MMP Tools from your computer:
  1. Open Windows Control Panel.
  2. Double-click Add or Remove Programs.
  3. If you installed the MapWindow GIS Common Files with MMP Tools, select this item from the list. This will remove both MapWindow GIS and MMP Tools. If you installed MMP Tools into an existing MapWindow installation, select the MMP Tools for MapWindow GIS item. This will remove only MMP Tools.

3. Before You Start

  1. If you want to look at an example farm project before you start, open the example in Users > Public > Public Documents (Windows 7) or Documents and Settings > All Users > Shared Documents (Windows XP). Choose File | Recent Projects and select the example.

  2. At a minimum, make sure you have an aerial photo of your farm. The easiest way to do this is to use the Missouri clipper app. This Web app will also provide a topographic layer and soils layer. Choose MMP Tools | Clipper Web App | Get Base Layers for New Project to go directly to this Web site from within MapWindow.

    Tip: Once you've created a farm project, you can return to the farm in the clipper Web app using MMP Tools | Clipper Web App | Go to Current Project's Farm. This can be useful if you need a larger clipped area or want to update your project with the latest base layers.

  3. Terminology

    A "layer" is either a shapefile or an image (photo) file. "Base layers" are layers that are provided for you by the clipper Web app or other data source. Examples of base layers include the photo, topo and soils layers -- you don't create these layers yourself.

    A "shapefile" is a file of points, lines or polygons with an .shp extension (there will also be an .shx file and a .dbf file and usually a .prj file). A shapefile is often referred to as a "vector" layer.

    An "image" file contains a photo in a commonly used format like JPEG, GeoTiff, or MrSid. An image file will have a .jpg, .tif or .sid extension. These image files will also have a "world" file with a .jgw, .tfw or .sdw extension that tells the GIS where the image is located in the world. An image file is often referred to as a "raster" layer.

    If you use the clipper Web app, it creates a .jpg file and a .jgw file with "doqq" in the files' name to indicate that the aerial photo is part of a "digital orthophoto quarter quadrangle". The clipper Web app also creates a .jpg file and a .jgw file containing the USGS topographic map and includes "drg" in the files' name to indicate that the scanned topo image is a "digital raster graphic". In addition, the clipper Web app creates an .asc grid file with "dem" in the file's name to indicate that it contains "digital elevation model" data and a shapefile with "wbd" in the files' names to indicate the shapefile contains "watershed boundary dataset" data. When you create a farm project from a clipper .zip download, MMP Tools renames these files to the more readable "photo", "topo", "dem" and "watershed", respectively.


4. Creating a Farm Project

  1. Once you've installed MMP Tools and MapWindow GIS, start MapWindow. There are three ways to start MapWindow:
  2. Now pull down the MapWindow Plug-ins menu and make sure the following plug-ins are checked:
  3. If you clipped and downloaded an aerial photo of your farm as recommended above using the clipper Web app, choose MMP Tools | New Farm Project | From Clipper Zip File.

  4. If you obtained the aerial photo of your farm some other way, choose MMP Tools | New Farm Project | Blank Farm Project.
Tips:

5. Drawing Fields

  1. To begin drawing fields, make sure fields is selected under Data Layers.
  2. Click the Add New Shape button (+shp) on the toolbar.
  3. Use the left mouse button to click around the boundary of your first field, finally clicking the right mouse button when all done drawing the field. Remember that only left clicks are part of the field boundary -- right clicking only tells MapWindow that you're done drawing and does not add that click's point to the field boundary.
  4. Enter the field name when prompted. You can also enter an optional subfield name. Make sure that each field's name-subfield name combination is unique. You can't have two fields with the same name in MMP.
  5. Repeat these steps for other fields.
Tips:

6. Adding Soils

Important! If you created your project with MMP Tools | New Farm Project | From Clipper Zip File, the project should already have a soils layer. If you created your project with MMP Tools | New Farm Project | Blank Project, or if your project does not have a soils layer, you can add soils manually, as follows.

If you have an unclipped county-wide soil survey shapefile that you downloaded from the Soil Data Mart, you can clip a portion of it to use with your project:

  1. Make sure you've drawn at least one field.
  2. Choose MMP Tools | Add Layer | Soils Layer - Clip Before Adding.
  3. Navigate to where you unzipped your Soil Data Mart download and select the shapefile that starts with "soilmu_a".
  4. Enter the file name to use for the clipped soils layer that will be created. By default this will be "soils.shp".
  5. Enter the distance to clip beyond the outermost field boundary.
  6. Clipping may take a few moments. When complete, the clipped soil layer will be added to your project.
If you have a clipped soil survey shapefile, you can add it to your project with MMP Tools | Add Layer | Soils Layer - Already Clipped.

Tips:


7. Drawing Sensitive Features and Manure Application Setbacks

Geographic features come in three shapes: You create a layer for each type of geographic feature you need.
  1. To add a feature layer, choose MMP Tools | Add Layer, then choose the type of feature layer (point, line, polygon) depending on what type of shape you want to draw, then enter the name to use for the new layer.
  2. Make sure the feature layer is selected under Data Layers, then draw the features (+shp button on the toolbar). Drawing line and polygon features is similar to drawing fields. To draw a point feature, just click once where the feature is located.
  3. Enter the new feature's name when prompted.
  4. Enter the manure application setback distance from the feature, or enter 0 if no setback is needed for the feature.
  5. If the feature is considered water in the state's phosphorus loss risk assessment (for example, in a phosphorus index), be sure to check the Feature Is Considered Water box.
Tips:

8. Drawing Conservation Practices

Conservation practices come in three shapes: You create a layer for each type of practice you need.
  1. To add a practice layer, choose MMP Tools | Add Layer, then choose the type of practice layer (point, line, polygon) depending on what type of shape you want to draw, then enter the name to use for the new layer.
  2. Make sure the practice layer is selected under Data Layers, then draw the practices (+shp button on the toolbar). Drawing line and polygon practices is similar to drawing fields. To draw a point practice, just click once where the practice is located.
  3. Enter the new practice's name when prompted.
  4. Enter the NRCS conservation practice code.
  5. Enter the manure application setback distance from the practice, or enter 0 if no setback is needed for the practice.
  6. If the practice is considered water in the state's phosphorus loss risk assessment (for example, in a phosphorus index), be sure to check the Feature Is Considered Water box.
Tips:

9. Measuring Distances

You can add special layers that you can use to draw lines between points and determine the following distances: Here are the steps for measuring distances:
  1. Choose MMP Tools | Add Layer, then choose the type of distance layer (water, storage, slope length). MMP Tools will add the new distance layer.
  2. Make sure the distance layer is selected under Data Layers, then draw the distance line (+shp button on the toolbar). Click somewhere inside the field that you want a distance for, then draw a line to what you're measuring. For example, to measure distance to water from the edge of a field, click on the field boundary, or just inside it, at the field's nearest point to water, then click along the flow path, finally right-clicking to signal that you're done drawing.
Tips:

10. Creating Maps

  1. To print a map, choose File | Print.

  2. To export a map, choose Edit | Export | Map.

  3. To copy a map to the Windows clipboard, choose Edit | Copy | Map.
Important! After inserting a map and its scale bar into a Word document, make sure that both images have the same scale. Right-click each image in Word and check to make sure that the Scale setting in the Format Picture dialog is the same for both images.


11. Importing Fields from a GPS or Generic Shapefile

If you have a shapefile that contains the boundaries (shapes) of your fields, you can import them into a farm project to avoid redrawing the fields with MapWindow. This shapefile might have been created by a GPS or other mapping device or by other GIS software.
  1. Once you've created a farm project, choose MMP Tools | Import | Fields from Shapefile and select the field shapefile to import (.shp extension).
  2. MMP Tools will import all shapes in the shapefile and insert them as new fields in the fields layer.
Tips:

12. Importing Fields from a Toolkit XML File

If a farm operation has an NRCS Conservation Plan, the producer can request a Customer Service Toolkit XML export file (.xml extension) from the local NRCS field office containing the operation's conservation plan. The field office will use Toolkit's Tools | Export Customer Data command to create the XML file. If you have software that hosts the NRCS Conservation Plugin, you may be able to export this conservation plan XML file yourself. Refer to your software's documentation for more information.
  1. Once you've created a farm project, choose MMP Tools | Import | Fields from Toolkit XML File and select the XML file to import (.xml extension).
  2. When prompted, select one or more conservation plans to import and choose how you want the imported fields to be named.
  3. MMP Tools will import all "land unit" shapes from the XML file and insert them as new fields in the fields layer.
Tips:

13. Exporting Field Data to MMP

  1. Choose MMP Tools | Export | Create MMP Plan to create a new MMP plan file (.mmp extension) or choose MMP Tools | Export | Update MMP Plan to update an existing MMP plan file.
  2. Enter the new plan file's name or select an existing plan file.
  3. MMP Tools will export the field data to the plan file and open the plan file in MMP.
Tips:

Using MapWindow data in other programs


14. Exporting Conservation Plan to XML

  1. Choose MMP Tools | Export | Conservation Plan to XML File to create a new XML file (.consplan.xml extension).
  2. Enter the name to use for the XML file.
  3. MMP Tools will export each field and its conservation practices in a format that can be used by MMP when generating a CNMP document if you don't have a Toolkit XML file.
Important! The conservation plan that MMP Tools creates is only a draft plan and does not contain the practice narratives that a conservation plan would normally contain.


15. Exporting GIS Data to XML

You can export all of a project's field, feature and conservation practice shapes to a single XML file for submitting with a nutrient management plan.
  1. Choose MMP Tools | Export | GIS Data to XML File to create a new XML file (.gis.xml extension).
  2. Navigate to where the project's MMP plan file is located, then enter the name to use for the XML file.
Tip: If you want MMP to include the XML file in the .zip submit file it creates, be sure to use the same name as the project's MMP plan file. And be sure to create the file in the MMP plan file's folder or move it there later. For more information, refer to MMP's help for its Tools dialog's Export tab.


16. Exporting Layers to a Mobile GIS

iGIS

You can export selected layers to a zip file that can be loaded into iGIS on an iPad, iPhone or iPod touch (http://www.geometryit.com/igis). This provides a way to view and use your GIS layers on a mobile device.

  1. In MapWindow, choose MMP Tools | Export | Layers to iGIS Zip File and create your .igis.zip file from selected layers.
  2. Connect your iOS device to your computer, start iTunes, select the device, click Apps (at top), scroll down and select iGIS, then click Add and select your .igis.zip file. iTunes will copy the .igis.zip file to your iOS device.
  3. In iGIS, touch Data, touch the plus button (+) on the Data panel, select USB, then select your .igis.zip file and set its projection (see tips below). Imported shapefiles will now be listed in Data if you want to see them.
  4. Create a new project in iGIS (touch the + Project button), setting its projection (see tips below).
  5. Add a new layer to the project in iGIS (touch the project's "gear" button), selecting from the list of imported shapefiles, then set layer properties (color, etc.).
Tips:

GISRoam

You can export selected layers to files that can be loaded into GISRoam on an iPad, iPhone or iPod touch (http://gisroam.com). This provides a way to view and use your GIS layers on a mobile device.

  1. In MapWindow, choose MMP Tools | Export | Layers to GISRoam Files and select the layers to export. Each layer will be exported to a file with a .poly, .line or .point extension depending on the type of layer. Exported files will be created in the farm project folder.
  2. Connect your iOS device to your computer, start iTunes, select the device, click Apps (at top), scroll down and select GISRoam, then click Add and select your .poly, .line and/or .point files. iTunes will copy the files to your iOS device.
  3. In GISRoam, import each file on the DataConnect tab under LocalConnect Shapefiles.
  4. Imported shapefiles will now be listed on the My Data tab. Turn on the layers you want to see, optionally changing their display properties (color, etc.).
Tips:

17. Exporting Field Data to Irris Scheduler

You can export data for any field to an Irris Scheduler file for doing irrigation and nitrogen scheduling (www.purdue.edu/agsoftware/irrigation).

  1. In MapWindow, make sure the fields layer is selected.
  2. Click the Select button (arrow) on the toolbar.
  3. Click the field you want to export to select it.
  4. Choose MMP Tools | Export | Irris Scheduler File for Field.
  5. Enter a name for the exported .irr file to create.
  6. If you have Irris Scheduler installed, MMP Tools will start it and open the exported file.

18. Using USGS Aerial Photos

If the aerial photo returned by the clipper Web app does not appear to be up-to-date, you might try clipping an aerial photo with the USGS "The National Map Viewer" Web site: http://nationalmap.gov/viewer.html.

In many states you'll be able to clip recent, high-resolution, color images. Here are some brief instructions on how to clip a photo on the USGS site:

  1. Zoom in on your area of interest, similar to the way you zoom in with the clipper Web app.
  2. Click the Imagery button at the top of the map to display a color aerial photo.
  3. When you've zoomed in to the area that you want to clip, click the Download Data icon on the toolbar and select the bounding box option.
  4. Drag the bounding box so it includes the area you want.
  5. In the Available Data dialog that pops up, check Orthoimagery and click Next.
  6. Check the JPG orthoimagery product and click Next.
  7. On the left, click Checkout, enter your e-mail address and then click Place order.
  8. You should receive an e-mail within a minute or so with instructions on how to download the data once it's complete.
Once the image .zip file has been downloaded from the USGS Web site:
  1. Choose MMP Tools | Add Layer | Aerial Photo and select the .zip file. MMP Tools will extract the .jpg and .jgw files from the .zip file, then copy them to your farm project's folder and add the image to the project.
  2. If your farm project already has an aerial photo, you can uncheck or remove it under Data Layers.

19. Tips and Tricks

Mapping non-contiguous fields

Sometimes an operation may farm fields that are not located near each other. For example, an operation may rent another farm down the road or land in another part of the county. In these situations, you may not be able to show all fields legibly on the same map. Although MapWindow and MMP Tools can accommodate multiple aerial photos in the same farm project and you can switch between photos in MapWindow, if you're using the clipper Web app to obtain the aerial photo and other layers for each group of fields separately, it might be easier just to create a separate MapWindow farm project for each group of fields.

Tip: If you create multiple MapWindow farm projects for a single operation, you can still export the fields from all projects to a single MMP plan. Use MMP Tools | Export | Create MMP Plan with the first project to add its fields to a new plan. With the other projects, use MMP Tools | Export | Update MMP Plan, selecting the MMP plan file created for the first project, to add their fields to the same plan. Just be sure that the fields are uniquely named across all of the operation's farm projects.

Drawing a pivot field

You can add a circular pivot field as follows:
  1. Use the "Add regular shape" button on the toolbar to add the pivot field. Select Circle and enter the pivot radius (radius must be in meters -- divide feet by 3.281 to get meters). Then click where the center of the pivot should be. Enter the field name when prompted (e.g., "Pivot").
  2. Important! Add Regular Shape dialog will now be hidden, so bring it up from taskbar and click Done to close it.
  3. If necessary, select the pivot field and use the "Move existing shapes" button on the toolbar to drag it into place if you didn't get it centered acurately within the field.
  4. Optionally, you can add in the field's "corners" (area outside of pivot circle) as a separate field. Just use the Add New Shape button (+shp) on the toolbar to draw the field's boundary around the pivot circle. MMP Tools will clip the pivot field out of the surrounding field, leaving just the corners.
  5. Tip: MapWindow's Labeler centers field labels inside their fields. With a pivot field and its corners field, the labels may overlap. To hide the corners field's label, blank out the FIELD_LBL and ACRES_LBL values for the corners field in MapWindow's Attribute Table Editor, then relabel the fields.

Drawing a field with a "hole"

If there's a non-crop area or another field completely inside a field, you can omit this area from the field as follows:
  1. Draw the hole area or inside field first. If you want the hole area to be labeled on the map, but it's not a field, consider drawing it as a feature instead of as a field.
  2. Draw the outside field around the first field.
  3. If you drew the hole area as a field, but it's not, you can delete it by selecting it (arrow on toolbar), then clicking the Remove Shape button (-shp on toolbar).

Drawing a filter strip with a specified width

You can manually draw filter strips and other polygons with a specified width as follows. Note that you if you have filter strips (or other practices) already digitized, you can just import them with Import | Practices from Shapefile.
  1. Turn on topo map display.
  2. Add a dummy line feature layer.
  3. Add a dummy feature and trace the topo's blue line, entering a setback equal to the filter strip width (this assumes that the filter strip is on both sides of the blue line water if it runs through field).
  4. Add a polygon practice layer.
  5. Add a practice and trace the dummy feature's setback polygon, entering a name for the practice (e.g., Filter Strip), its practice code (e.g., 393), and 0 for setback.
  6. Remove the dummy feature layer and the dummy feature's setback polygon. Delete the dummy feature layer's underlying shapefile.

Viewing additional soils data

By default, MapWindow labels soils with just the soil map unit symbol. If your soils layer was created by the clipper Web app, you can view more information about a particular soil as follows:

Shapefiles and image files

Most of the layers in a MapWindow farm project are shapefiles. Aerial photos and topo maps are image files. You can't edit image files in MapWindow. You can edit virtually any data in a shapefile with MapWindow or other GIS software. However, just because you can edit a shapefile doesn't mean you should. Here is a list of shapefile data that you should never edit with MapWindow's Attribute Table Editor:

Managing your projects

Use the MMP Tools | Manage Project commands to manage your projects:

20. The Advanced Menu

The Advanced menu contains several groups of commands, as follows:


Last updated: July 20, 2015

Copyright © 2008-2015 Purdue Research Foundation.