Summary – Plotting Origin Destination Matrix In Gis The Easy Way.

Instructions provided describe how to Plot Origin Destination matrix in Gis in an easy way.

Two Steps:

  1. Prepare the Data needed for Plotting in GIS.
  2. Import data into QGIS

Note : If you are facing any difficulty following this tutorial please download the sample files from the link below

Download Sample Files used in this Tutorial

Procedure

Prepare the Data needed for Plotting in GIS

GIS0009-2018.02.18-Origin-Destination-Matrix-In-Gis-The-Easy-Way-1

Prepare the Origin Destination Matrix

Prepare the Origin Destination Matrix

The Origin Destination matrix should have three things.

  1. Name of Location.
  2. Code of Each Location.
  3. Compiled entries from Survey.
Prepare the Lat Long file for each location

Prepare the Lat Long file for each location

Prepare the Lat Long file for each location

The Lat Long File Should have

  1. Latitude
  2. Longitude

for the particular point.

Prepare the Label file for each location

Prepare the Label file for each location

Prepare the Label file for each location

The Label File Should have

  1. Label

for the particular point.

Note : If you are facing any difficulty following this tutorial please download the sample files from the link below

Download Sample Files used in this Tutorial

Import data into QGIS

Install flowmapper plugin if you have not installed it till now

Install flowmapper plugin if you have not installed it till now

Install flowmapper plugin if you have not installed it till now
  1. From ‘Plugins’ menu Select ‘Manage and Intall Plugins’.
  2. Search for ‘Flowmapper’ and Select the Plugin.
  3. Click install Plugin to finally install it.
Convert data to Required Format

Convert data to Required Format

Convert data to Required Format
  1. Save the file to Requred filetype.
  2. Delete the extra content from the file and keep just the content of matrix.
  3. From ‘File’ menu select ‘Save as’.
  4. From save as type select ‘Text(Tab Delimited)(*.txt)’.
  5. Click ‘Save’.
These are Required filetype for QGIS Flowmapper

These are Required filetype for QGIS Flowmapper

These are Required filetype for QGIS Flowmapper

Files:-

  1. OD Matrix.
  2. Location file.
  3. Label file.
Finally Import data in Qgis

Finally Import data in Qgis

Finally Import data in Qgis
  1. From ‘Plugins’ menu Select ‘Flow Mapper’ and then ‘Generate Flow……’.
  2. Select Coordinates file as node coordinates.
  3. Check option & Select Label file as node names.
  4. Select Matrix file as flow matrix.
  5. Check flow type in this case select ‘Gross’.
  6. Define Output shapefile for Flow Lines.
  7. Define Output shapefile for Flow Nodes.
  8. Click ok to finally generate the files.

Tadda done!!

GIS0009-2018.02.18-Origin-Destination-Matrix-In-Gis-The-Easy-Way-feature-image

Styled Version of Origin Destination matrix plotted by Qgis Flow Mapper.

Note : If you are facing any difficulty following this tutorial please download the sample files from the link below

Download Sample Files used in this Tutorial
if you like the tutorial please spread the word and comment below if you have any questions.