Skip to main content

Beginners guide on Geolocations

What is a geolocation?

A geolocation is the exact location of the land where a commodity was produced. In TRACT, a geolocation is either a polygon, the boundary of the plot drawn as a shape on the map, or a point, a single pair of coordinates. Plots of 4 hectares or less can be submitted as a point; larger plots must be submitted as a polygon. Geolocations are uploaded to TRACT as a GeoJSON file, a standard map format that most GIS tools and many suppliers already use.

What is master data in TRACT?

A geolocation tells TRACT where something was grown, but not who grew it. That comes from master data: the list of every farm, organisation and site in your supply chain, uploaded once and reused across the platform. In TRACT, each of these is called a node: any point in your supply chain where product is produced, collected, processed, stored or delivered. Your supply chain is mapped as a network of these nodes, connected by the movement of product between them (also known as ‘traceability data’ in TRACT). There are several types of nodes: farms, farmer groups (cooperatives, aggregators, collection points), facilities (mills, warehouses, ports, refineries) and customer destinations (where product ends up). TRACT already holds universal mills and ports, so you only need to add facilities that aren’t already there.

How do they link? The Node ID

Every master data record has a Node ID, its unique reference in TRACT. You can let TRACT generate it, or set your own using a consistent naming convention. The Node ID is what connects everything: each plot in your GeoJSON carries the Node ID of the farm or farmer group it belongs to, and your traceability data uses the same Node IDs to show product moving from farm to facility to destination. Without it, TRACT has a shape on a map but no way of knowing whose land it is, and the plot can’t be included in your risk analysis or due diligence. Node IDs must match exactly between files, including capitalisation and spacing.

Why master data comes first

When you upload a GeoJSON file, TRACT checks each plot’s Node ID against your existing master data. If the farm or farmer group doesn’t exist yet, the plot is rejected. So the upload order is always: master data first, then geolocations, then traceability.

What goes in the GeoJSON file

Each plot in a GeoJSON file has two parts: the geometry, which is the shape or point on the map, and the properties, which are the labels attached to it. Files you receive from suppliers usually have the correct geometry already but not the labels TRACT needs. TRACT reads specific property names, set out in the template you can download from Data Manager > Plots and Polygons (Geolocations). The two most important are the “NodeID”, which links the plot to its farm or farmer group, and the “PlotID”, which tells plots apart when several belong to the same NodeID. For example, a cooperative might be a single farmer group in your master data with 100 member plots, each with its own PlotID. Adding these properties doesn’t change the shapes at all; it simply tells TRACT who each plot belongs to.

The TRACT GeoJSON template

TRACT reads two properties on every plot: NodeID and PlotID. Point files can also carry an optional third property, Area. You can download the template from Data Manager > Plots and Polygons (Geolocations) tab in TRACT - choose polygons or points. The property names are case sensitive, so they must be written exactly as below.

Property

What it holds

Example

NodeID

The Node ID of the farm or farmer group this plot belongs to. Must already exist in your master data.

farm2

PlotID

Optional, a unique reference for this plot. This lets you tell plots apart when several belong to the same Node ID.

plot3

Area

Optional, for point files only. The plot area in hectares. A point has no shape, so this is how the plot size is recorded.

2.5

One Node ID can have many plots. In the template, plot2 and plot3 both belong to farm2. Likewise, a cooperative might be a single farmer group in your master data with 100 member plots, each with its own Plot ID.

This is what one plot looks like in the template. The properties block is the part you add or edit; the geometry block is the shape and normally stays as it was sent.

{

"type": "Feature",

"properties": {

"PlotID": "plot1",

"NodeID": "farm1"

},

"geometry": {

"type": "MultiPolygon",

"coordinates": [[[

[-2.650006, 7.064136],

[-2.648250, 7.063750],

[-2.649010, 7.062480],

[-2.650131, 7.062779],

[-2.651139, 7.063651],

[-2.650006, 7.064136]

]]]

}

}

Before you start

  1. Upload master data first (farms, farmer groups), because the Node ID in the GeoJSON must already exist in TRACT.

  2. Download the TRACT polygon or point template from Data Manager > Plots and Polygons (Geolocations) and use its property names exactly as written, including capitalisation. That template is the source of truth.

  3. Check whether the farms or farmer groups behind these plots already have Node IDs in TRACT. This decides which of the two cases below applies.

Case A: No Node IDs in TRACT yet

The satiation where there are no NodeIDs or PlotIDs in TRACT yet, and the supplier already uses their own farm and plot IDs. The supplier’s own IDs may simply become the TRACT IDs.

  1. Upload the master data (farms, farmer groups) using the supplier’s farm IDs as the Node IDs, so the master data and the GeoJSON use exactly the same IDs. The NodeIDs can be extracted manually or extracted using a GIS software via the geojson data table.

  2. In the GeoJSON, rename the supplier’s farm ID property to NodeID and their plot ID property to PlotID. The values and the shapes stay exactly as they are.

  3. Upload the GeoJSON to TRACT.

The easiest route is to ask the supplier to rename the properties before sending the geojson file. A text editor’s find and replace works for any file size (for example, replace "farm_code": with "NodeID":, including the quotes and colon so only the property name changes). In QGIS, use Processing Toolbox, Refactor fields to rename the fields, then export as described in the last step of Option 2 below.

Case B: Node IDs already exist in TRACT

Use this when the farms or farmer groups are already in TRACT with their own Node IDs, and the supplier sends a file with different farm or plot references. Here you need to match each supplier reference to an existing Node ID.

Build a simple mapping spreadsheet with two columns: whatever the supplier calls each plot in their file (a plot name, code or farmer ID) and the TRACT Node ID it belongs to, plus a Plot ID column if needed. This is the real work at scale. Once the matching exists, adding the properties is fast.

A mapping spreadsheet can be as simple as this:

SupplierPlotRef

NodeID

PlotID

Plot A12

farm1

plot1

Plot A13

farm2

plot2

Plot A14

farm2

plot3

To find what the supplier calls each plot, open their file in any of the tools below and look at the existing properties. If the file has no usable reference at all, ask the supplier to add one before you go further. The two options below show how to add the mapped properties, depending on file size.

Option 1: Beginner, small files (roughly under 10 plots)

Using geojson.io in a browser, no installation needed:

  1. Go to geojson.io and drag the supplier’s file onto the map.

  2. Click a plot. A properties table pops up.

  3. Click “Add row” and enter the TRACT property name (for example the Node ID field from the template) and its value. Repeat for Plot ID.

  4. Repeat for each plot. The Table tab on the right lets you see and edit all plots in one grid, which is quicker.

  5. Click Save, choose GeoJSON, and upload the downloaded file to TRACT.

Option 2: At scale (100+ plots), using a GIS tool such as QGIS

QGIS is free, and since TRACT has its own QGIS plugin, we recommend using this option first.

  1. Open QGIS and drag in the supplier GeoJSON.

  2. Add the mapping spreadsheet (from Case B above) via Layer, Add Layer, Add Delimited Text Layer, choosing “No geometry”.

  3. Right click the GeoJSON layer, Properties, Joins, and click the plus. Join the spreadsheet using the supplier’s plot reference as the matching field on both sides. Every plot now picks up its Node ID and Plot ID in one go.

  4. Open the attribute table and check for empty Node IDs. Those are plots the mapping didn’t cover.

  5. Right click the layer, Export, Save Features As. Choose GeoJSON format and CRS EPSG:4326 (WGS 84), rename the joined fields to match the TRACT template exactly, and untick any supplier fields you don’t need. Upload the downloaded file to TRACT.

Common upload issues

Coordinates must be WGS 84 (EPSG:4326) in longitude, latitude order; files exported in a local projection will land in the wrong place or fail. Polygons must be closed (first and last point identical) and shouldn’t self-intersect, which QGIS can check with Vector, Geometry Tools, Check Validity. Under EUDR, plots under 4 hectares can be submitted as points, but larger plots need polygons.

Did this answer your question?