Create a Flow Map in MapViewer

KB no longer maintained - MapViewer is a Legacy Product. Legacy Products are still supported, but no longer receive new features or updates. Many of MapViewer's features have been moved to Surfer. Please contact with any questions.

Flow maps show the movement of people, commodities, animals, or other data from one location to another. These maps show data based on routes of travel and vary line thickness to show amount of travel. The greater the movement, the thicker the line. MapViewer can draw lines from centroid to centroid to create a flow map, or associate a data file with a base map of polylines to create a flow map design.

Example of a Pin map

How the starting and ending points are defined depends on two factors.  The first is the Primary ID's of the map boundary file and the second is whether you want to connect boundary curves or centroids.

The Connect centroids method connects boundary object centroids based upon starting and ending primary IDs. You can connect the centroids of polygons, polylines, or points. This example will walk through how to create a flow map connecting points.

First, a Pin map is created first using a data file that contains the XY locations of your points, and a PID for each point. Then, the Pin map is converted to a Flow map by loading in a data file that contains a Beginning PID, Ending PID, and Value columns. The PIDs should match the PIDs in the boundary or point file.

Attached below are two data files to use with the steps below for an example:

  1. Click Map | Create Map | Pin. Select pin.DAT and click Open.
  2. With the Pin Map selected, click Map | Create Map | Flow. The Pin Map is converted to a Flow Map.
  3. In the Property Manager, click the General tab,
  4. Click the Open File button in the Data file field.
  5. Navigate to flow.DAT and click Open.
  6. The flow lines are created. You can edit the line properties on the Map tab of the Property Manager.

To create a flow map that connects boundary polygons, you can use these steps:

  1. Click Map | Create Map | Flow.
  2. In the Import dialog, select the vector file containing the boundaries and click Open.
  3. In the Import Options dialog, make changes to the attributes if needed and then click OK.
  4. In the Open Data File dialog, select the data file and click Open.
  5. In the Property Manager, click the General tab.
  6. Select the appropriate data columns for the Start PID field, End PID field, and Variable field
  7. In the Property Manager, click the Map tab
  8. Set the Method field to Connect centroids.
  9. Adjust the remaining settings as desired. For additional information about the available options, see the Flow Map help page by clicking Help | Contents and navigating to Map Types | Flow Map.

Updated October 12, 2018


Was this article helpful?
12 out of 22 found this helpful



Please sign in to leave a comment.