Table of Contents

Getting Started

What you can do with GeocodioSpreadsheet formattingFile formatsFile sizesIntersectionsAddress completionPreviewing your spreadsheetReverse geocoding

Federal Ridings

Geocodio can add Ridings (Canadian Legislative Districts) to addresses or latitude/longitude coordinates.

You can download an example of the results when you add Ridings to a list of addresses or coordinates here.

Your spreadsheet needs to have one of the following address/coordinate heading formats in order to add ridings:

  • Complete address (in one column or separate columns, as long as it's consistent for the entire spreadsheet):

    • Street address + city + province + postal code + Country (with "Canada" included exactly and not abbreviated)

Combinations of the above will work (i.e., some addresses can be missing one of the pieces) and the ridings will still be added, as long as the heading format is consistent.

  • We can also add ridings for incomplete addresses, such as:

    • Street address + city + province + Country (with "Canada" included exactly and not abbreviated)
    • Street address + postal code + Country (with "Canada" included exactly and not abbreviated)

We encourage you to include the full postal code, if you have it, in your input, as this will increase the accuracy of results. (Note that the output will only show the first three characters, as the full postal code is proprietary to Canada Post.)

  • Coordinates

    • Latitude/longitude in one column
    • Latitude/longitude in separate columns (with headers)

For more, please see our step-by-step guide to adding ridings to a spreadsheet.

Data returned for ridings

  • Riding code (such as 35108)
  • OCD-ID (such as ocd-division/country:ca/ed:35108-2013)
  • English riding name
  • French riding name
  • Riding source (Will generally be Statistics Canada for federal ridings)

Add ridings to addresses or coordinates via API

If you'd prefer to use an API instead, see our technical documentation here.


Requests are billed as geocode + riding info (i.e., two lookups). For example, if you have 100 addresses that you want ridings for, that would count as 200 lookups.

You can calculate how much this will cost you and how long it will take here. Note that prices are in USD.

Copyright © 2014-2024 Dotsquare LLC, Norfolk, Virginia. All rights reserved.