Skip to main content

University
Library

Tutorials + Resources

QGIS Map

QGIS - Geocoding Address Tutorial

Bryan Tor, Thomas Sawano | Fall, 2019

QGIS offers several plugins on how to translate a list of addresses to coordinates on a map, or vice versa. This guide covers two specific plugins which offer these geocoding features.

Contents

Recommended Plugins

Downloading mmqgis from the QGIS Plugin Manager

 

 

MMQGIS is a collection of QGIS vector layer operation plugins. It has options for animating maps, combining CSV files, creating buffers around selected points, exporting attributes to a CSV file, and geocoding a CSV file containing address data. This guide will only cover how you can use MMQGIS for geocoding.

 

 

 

 

 


Downloading GeoCoding from the QGIS Plugin Manager

 

 

 

GeoCoding is a plugin that allows users to search for the specific coordinates of an address. It also lets users get the address of a point by clicking on the map canvas, known as reverse geocoding).

 

When to use GeoCoding or MMQGIS?

You should use the GeoCoding plugin when you only need to search for a specific address, or need to locate the address of a coordinate on a map.

You should use the MMQGIS plugin when you need to array multiple address coordinates on a map from a CSV file.

GeoCoding - Finding Coordinates

Point Mapped by the GeoCoding Plugin

 

 

Once you have downloaded the GeoCoding plugin, you can see the GeoCoding features from the Plugin dropdown menu.

 


 


Selecting GeoCoding, under Plugins Dropdown Menu

The GeoCoding plugin lets users pinpoint the specific coordinates of an address. To use it, select the “GeoCoding” feature found under Plugins -> GeoCoding.

 

 


GeoCoding Plugin geocoding address

 

 

When selected, the GeoCoding feature should open a separate window in QGIS. Users can enter the address they wish to geolocate into the field, and the plugin will add a point onto their map at the coordinates where the address is located.

 

 

 

 

GeoCoding - Finding Addresses

Selecting Reverse GeoCoding, from Plugins Dropdown

The GeoCoding plugin lets users find the address of a specific point based off a set of coordinates selected from a map. To use it, select the “Reverse GeoCoding” feature found under Plugins -> GeoCoding.

 


Reverse GeoCoding Success Response

 

When selected, users can click on their map the location that they want to address of. Once the location has been selected, a separate window should appear, containing the address of the selected location.

 

 


Reverse GeoCoding Point on Map

 

After clicking “OK”, a separate window titled Coordinate Reference System Selector” should appear. The program is asking which coordinate reference system (CRS)  it should use to insert a point of the selected address. It’s recommended that users use the same CRS throughout their project.

 

MMQGIS - Finding Multiple Address Coordinates

GeoCoding CSV Option, under MMQGIS Dropdown Menu

The MMQGIS plugin lets users find the coordinates from a selection of addresses stored in a tab delimited txt file or a csv file. To use it, select the “Geocode CSV with Google / OpenStreetMap” feature found under MMQGIS->Geocode.


When “Geocode with CSV with Google/OpenStreetMap” is selected, a new window titled “Web Service Geocode” should popup. Select your file containing the target addresses into the “Input CSV File (UTF-8) field, and ensure the following:

  • GeoCode CSV Menu“Address” field: the Header for your address column.
  • You can fill in the City, State, and Country fields, but it isn’t required
  • Web Service: select either Google Maps or OpenStreetMaps
  • Google Maps may not work if you’re searching for multiple addresses. We recommend users use OpenStreetMaps if you lack a Google Maps API Key.
  • Output Shapefile: the points on the maps will be contained in a shapefile. Make sure that you are writing your shapefile in a valid location.
  • Not Found Output List: addresses not found will be contained in a separate csv file. Make sure you are writing this csv file to a valid location.

 

 


QGIS with Points Mapped from a CSV File

 

 

Once you’ve selected all of these fields, click OK. MMQGIS will draw a set of points at the coordinates of those addresses it can identify.

 

 

 


Additional Data with a Point mapped by MMQGIS

 

 

If your CSV or TXT file contained any additional data for your points, those will also be added in when MMQGIS draws your points.

 

 

 


If you update your CSV or TXT file with additional addresses, and want to update your Map with new points, delete the previous points from your map before you load in the updated files.