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 an SNMP Operation
  12. Importing Fields from a GPS or Generic Shapefile
  13. Importing Fields from a Toolkit XML File

  14. Exporting Field Data to MMP
  15. Exporting Fields and Practices to XML

  16. Using USGS Aerial Photos and Elevation Data
  17. Tips and Tricks


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 the aerial photo you need: http://projects.cares.missouri.edu/snmp/nrcsdata/aoilist.asp. 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 the latest MapWindow GIS installed on your computer, make sure the "MapWindow GIS Common Files" component is selected. If you already have the latest 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. If it says 2.0 (followed by some digits), you have 2.0 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 C:\Documents and Settings\All Users\Shared Documents. 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 soils layer and topographic layer. Choose MMP Tools | Use Clipper to Get Layers to go directly to this Web site from within MapWindow.

  3. Terminology: A "layer" is either a shapefile or an image (photo) file. A "shapefile" is a file of points, lines or polygons with an .shp extension (there will also be a .shx file and a .dbf file and usually a .prj file).

    An "image" file contains a photo in a popular 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.

    If you use the clipper 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 also creates a .jpg file and a .jgw file with the USGS topographic map and includes "drg" in the files' name to indicate that the scanned topo image is a "digital raster graphic". When you create a farm project from a clipper download, MMP Tools renames the photo and soils files for readability.


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 Missouri clipper 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 or MMP Tools | New Farm Project | From SNMP Operation, the soils should already have been added to the project. 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: In this section, you will create a layer for each type of 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.
Tips:

8. Drawing Conservation Practices

Conservation practices come in three shapes: In this section, you will 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.
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 an SNMP Operation

If you have an operation that you laid out with SNMP GIS version 1.1 for ArcView 3.x, you can import it into MapWindow:
  1. Choose MMP Tools | New Farm Project | From SNMP Operation.
  2. Navigate to the SNMP operation's folder and select its snmp.apr file.
  3. Navigate to where you want to create the new MapWindow farm project folder, then enter a name for the folder.
  4. MMP Tools will create a new farm folder and project, then import the SNMP operation's field boundaries and names, as well as any soils, features and setbacks, and conservation practices.
Notes:

12. 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:

13. Importing Fields from a Toolkit XML File

If the operation has an NRCS Conservation Plan, your producer can request a Customer Service Toolkit XML export file (.xml extension) from the local NRCS field office containing the producer'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 can 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:

14. 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


15. Exporting Fields and Practices to XML

  1. Choose MMP Tools | Export | Fields and Practices 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.

16. Using USGS Aerial Photos and Elevation Data

If the aerial photo returned by the Missouri clipper does not appear to be up-to-date, you might try clipping an aerial photo from the USGS "Seamless Server" Web site: http://seamless.usgs.gov/website/seamless/viewer.htm.

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 the area of interest, similar to the way you zoom in with the Missouri clipper app.
  2. On the right, under Display, you can expand Places (Names) and check GNIS Cities (with Labels) to see town and city names.
  3. Also under Display, you can expand Orthoimagery and check the NAIP 1m image to display a color aerial photo.
  4. When you've zoomed in to the area that you want to clip, switch from Display to Download.
  5. Under Download, uncheck the default 1" NED Elevation data. If you want to generate a contour lines layer, check the 1/3" NED Elevation data.
  6. Also under Download, expand Orthoimagery and check the NAIP 1m image.
  7. On the left, under Downloads, click the Define Rectangular Download Area tool and draw a rectangle around the area you want to clip.
  8. When the Request Summary Page is displayed, click the Download button for your clipped image or elevation data. (Note that if the image you selected earlier is not available for your area, this will be indicated here - you can then close the window and select a different image under Download.)
  9. After a minute or two, you'll be prompted to save the download .zip file to your local computer.
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 .tif and .tfw 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.
Once the elevation data .zip file has been downloaded from the USGS Web site:
  1. Choose MMP Tools | Add Layer | Contour Lines Layer and select the .zip file. MMP Tools will extract the elevation data files from the .zip file, then create a contour lines layer and add it to the project.
  2. If you want to label the contour lines, choose MMP Tools | Relabel Layer.

17. 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 Missouri clipper app to obtain the aerial photo and other layers for each group of fields separately, it might be easier just to create a separate 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 manually draw a circular pivot field as follows:
  1. Draw the entire field as a rectangle and enter the ID for the "field" that contains just the pivot corners (e.g., "Corners").
  2. Add a dummy polygon practice layer.
  3. Use the "Add regular shape" button to add a dummy practice polygon. Select Circle and enter the pivot radius (currently radius must be in meters), then click on the middle of the rectangular field's first label line. Enter a dummy name for the practice and 0 for the practice code and setback.
  4. Close the regular shape dialog.
  5. Remove the dummy practice layer and delete its underlying shapefile.
  6. Select the fields layer and use the "Add regular shape" button to add the pivot field. Select Circle and enter the same pivot radius as before and click on same place as before. Enter the field ID (e.g., "Pivot").
  7. Close the regular shape dialog.
  8. 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 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 farm project are shapefiles. Aerial photos and topo maps are image files. You can't edit image files. 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 Projects commands to manage your projects:

Last updated: Jan. 14, 2009

Copyright © 2008-2009 Purdue Research Foundation.