Google SheetsCrop InsuranceAgricultureIntegrationDLS

By Township Canada

Convert Legal Land Descriptions in Google Sheets for Crop Insurance Claims

Turn a column of quarter sections and LSDs on a crop insurance claim list into GPS coordinates with the =TOWNSHIP_CANADA() formula in Google Sheets.

After a hail storm or a dry summer, the claim list usually arrives as a spreadsheet. Each row has a producer, a policy number, a crop, and a legal land description such as NW-14-32-21-W4 or 10-36-42-3-W5. What it does not have is a latitude and longitude. A legal land description names the parcel exactly, but a phone map, a mapping tool, or a route list needs coordinates.

The usual fix is to copy each description into a converter, copy the result back, and repeat for every row. The Township Canada add-on for Google Sheets does that lookup inside the spreadsheet with a formula, so the coordinates sit next to the claim they belong to.

Install the add-on and connect an API key

In Google Sheets, open Extensions > Add-ons > Get add-ons, search for Township Canada, and install it. The add-on asks for three permissions: read and write the current spreadsheet only, show its sidebar and dialogs, and call the Township Canada API.

A small set of sample descriptions from Alberta, Saskatchewan, and Manitoba is built into the add-on, so =TOWNSHIP_CANADA("NW-25-24-1-W5") works before you connect anything. Any other description shows API key required until you add a key.

The formula calls the Township Canada Search API, so the key you connect needs a Search API subscription. The Build tier is $20 a month for 1,000 requests, and you can buy it on the API page. Open Extensions > Township Canada > Settings and paste the key in. The key is saved to your Google account's add-on settings, so you don't need to re-enter it in each spreadsheet.

The formulas and what they return

The add-on adds four functions. Each one takes a single legal land description, either as text or as a cell reference:

FormulaReturns
=TOWNSHIP_CANADA(B2)Latitude and longitude as one text value
=TOWNSHIP_CANADA_LAT(B2)Latitude as a number
=TOWNSHIP_CANADA_LNG(B2)Longitude as a number
=TOWNSHIP_CANADA_PROVINCE(B2)Province name

For example, =TOWNSHIP_CANADA("NW-14-32-21-W4") returns 51.747298, -112.880937. These are the WGS84 coordinates of the centre of that quarter section in Alberta.

The combined formula returns text, which is fine to read but harder to use in other tools. For a claim list, put the latitude and longitude in two separate columns. Most mapping tools and spreadsheets expect two numeric columns, and keeping them separate means you can sort, filter, and export without splitting text later.

Fill a whole claim column

Assume the descriptions are in column B, starting in row 2. Enter these formulas in row 2, then drag the fill handle down to the last claim:

  • C2: =TOWNSHIP_CANADA_LAT(B2)
  • D2: =TOWNSHIP_CANADA_LNG(B2)
  • E2: =TOWNSHIP_CANADA_PROVINCE(B2)

A short list looks like this once the formulas finish:

ClaimLegal land descriptionLatitudeLongitudeProvince
H-101NW-14-32-21-W451.747298-112.880937Alberta
H-10210-36-42-3-W552.663247-114.29864Alberta
H-103SE-22-40-14-W352.453007-107.929476Saskatchewan

Quarter sections and LSDs can sit in the same column. The lookup reads each cell as written, so a list that also includes a BC NTS reference, a river lot, or an Ontario lot and concession does not need to be split into separate sheets first.

Some details matter on a long list:

  • Format the description column as plain text before you paste. Google Sheets can read some LSD-style values as dates or numbers, and then the formula receives the wrong input.
  • Not found means the description did not match a parcel. The most common causes on claim lists are a wrong meridian (W4 instead of W5) and a transposed township or range. Fix the cell and the formula runs again.
  • Each new description uses one API request. A 400-row claim list uses 400 of the 1,000 monthly requests on the Build tier. Results are cached for six hours, so recalculating the sheet in that window does not spend new requests.
  • Fill very long lists in blocks. The Build tier allows one request per second. If you fill hundreds of rows at once, some cells can show an error instead of coordinates. Fill a few dozen rows at a time, or re-enter the formula in the cells that failed.

If you convert a whole book of policies at once, thousands of rows every season, a spreadsheet formula is the wrong tool. The web batch converter takes a CSV upload on the Business plan and returns every row in one pass.

From coordinates to a field day

When the latitude and longitude columns are full, the sheet can go straight into the tool you plan inspections with. Google My Maps, for example, can import a Google Sheet and place a pin for each row from its latitude and longitude columns. Sort by province or by township first, and claims in the same area group together.

The harvest crop insurance guide covers the rest of the field workflow: grouping claims along a storm path, checking quarter section boundaries on satellite imagery at the site, and the township-level details that matter for Saskatchewan satellite forage claims.

What the coordinates do not tell you

A coordinate tells you where a parcel is. It does not tell you what is grown there, what the soil is like, or how dry the season has been. For adjusters who need that context, and for farmland buyers checking a quarter before an offer, the Agriculture add-on puts it on the parcel report in Township Canada. It covers the AAFC crop inventory with five years of crop history, soil survey data, CLI land capability, and the drought monitor. In Alberta it also includes an LSRS-based productivity score.

The Agriculture add-on attaches to a Pro or Business plan. Current prices are on the pricing page. If you are new to the add-on itself, the Google Sheets add-on launch post covers the full feature set.