Soil tests
In the "Soil Tests" tab you collect the soil analysis results of the selected field and plan the next soil sampling. For each nutrient (pH, phosphorus, potassium, magnesium, nitrogen, sulfur) the map shows how the content varies across the field, and the chart shows what share of the field falls into each content class. Fertilization plans use the same results.
Where to find it
Open the tab from the menu on the left, in the "FIELD ANALYSIS" group › "Soil Tests".
- The tab always shows one selected field. If no field is selected, Nirby opens the largest field with access to soil tests.
- Change the field in the top bar and the season in the menu on the left. Results and orders belong to a season.
Soil tests work on fields with the precision agronomy module. For a field without it, the panel says that the field has no access to soil tests and shows the "Buy the precision agronomy module" button. More: Premium access.
The screen has three parts:
- the map with the selected field divided into zones and coloured by the content class of the selected nutrient; click a zone to see its number and "Content",
- the "Soil Tests" panel on the right, with the "Test Results" / "Ordered Tests" switch,
- the chart panel at the bottom, with a tab for each nutrient and a content summary.
How to set the agronomic category and pH
At the top of "Test Results" you set two values that the results are assessed against:
- "Agro. Category": the soil category of the field, "Very Light", "Light", "Medium" or "Heavy". It sets the class thresholds for potassium, magnesium, sulfur and nitrogen.
- "pH": the average pH of the field. When the field has an active pH map, the value comes from the map and cannot be typed in.
When you change the category, the results are recalculated as a preview straight away. "Cancel" and "Save Changes" appear at the bottom of the panel: save to keep the change for the field.
If the soil-agricultural map suggests a different category for the field than the selected one, you will see "The soil-agricultural map suggests: ..." with the share of that category in the field. "Apply" puts it into the preview; save it as usual with "Save Changes".
How to add test results
Under "RESULTS LIST" there are three buttons: "Add", "Edit" and "Download". Click "Add" and choose how:
- "Import from File": load the results from the laboratory file,
- "Add Manually": mark the points on the map and enter the values,
- "Based on Order": enter the values into the zones of an order you planned earlier,
- "Available results list": link results of this field saved earlier to the current season.
While Nirby is processing the field's data, "Add" and unlinking results are temporarily disabled.
Import results from a file
- Choose "Add" › "Import from File". The "Import Data from File" window opens.
- Drag the file into "Select or Drag File" or click "Select Files". Nirby accepts GeoJSON (.geojson, .json), Excel (.xlsx, .xls) and shapefiles (a set of .shp and .dbf, optionally .prj, .shx, .cpg, or a single .zip archive).
- If the file also has results for other fields, turn on "Add Data for Multiple Fields" (or "Add Data for Other Field" when the file covers a field other than the selected one). Click "Continue".
- In the next step choose the "Soil testing method" ("Egner" or "Mehlich") and match the file's columns to parameters and units. Click "Continue".
- Nirby analyses the soil zones and shows them on the map. Check the preview, tick the fields to import, fill in the test name and date under "Basic Information" and click "Add Results".
In one season a field can only have results of one testing method. If the method is already set, the method list is locked with "Testing methodology is already defined for this season."
Add results manually
- Choose "Add" › "Add Manually". The "Add Test Results" window opens with the field map.
- Click on the field where the sample was taken to add a point. The point panel with "Geographic Coordinates of the Point" opens on the right.
- Under "SOIL STATUS" pick a class for each nutrient ("Acidity pH", "P2O5 Content", "K2O Content", "MgO Content", "N Content", "S Content"). If you have exact numbers from the laboratory, turn on "Precise Data" and enter the values in mg/100g (nitrogen in kg/ha, pH from 3.5 to 8.0).
- Click "Save Point" and repeat for the next points.
- Under "Basic Information" enter the test name, choose the method and the date, then click "Save Results".
Results based on an order
When the laboratory has tested samples taken according to an order from Nirby, enter the results straight into its zones:
- Choose "Add" › "Based on Order".
- In "Select an order" pick the order and click "Continue".
- In "Result details" fill in "Test name", "Testing methodology" and "Test date", and under "Elements reported by the lab" keep only the nutrients that were tested. Click "Continue".
- In "Edit zone values" click each zone on the map, enter its values and finally click "Save changes".
Results from another season
"Available results list" shows all saved tests of this field. Tick one test per nutrient and click "Confirm". The selected tests must use the same method.
How to view the results
Each active test is a separate row in the list, e.g. "pH test", "Phosphorus test", "Potassium test". The coloured dot shows the content class and the test date is under the name.
Click a row or a nutrient tab in the chart panel to show that nutrient on the map and the chart. The chart panel shows:
- bars with the share of the field in the "Very Low", "Low", "Medium", "High" and "Very High" classes (for pH in ranges from "< 4.1 pH" to "> 7.0 pH"), with the thresholds of each class,
- "Content range": the lowest and the highest value in the field,
- the percentage of the field area in each class.
The last tab, "Soil-agricultural map", shows the field's soil complexes from the soil-agricultural map (source: GUGiK) with their area and share. The map covers Poland only. A field without test results opens on this tab. If the field has no results yet, the chart area says "No soil tests".
The assessment of phosphorus tested by the Mehlich method depends on soil pH. Without pH, the phosphorus row and tab are disabled: enter the average pH in "pH" or upload a pH map.
You can change the class colours in Settings, under "Color schemes", by turning on "Custom soil test result colors". Nitrogen always uses the default colours.
How to edit, download or unlink results
- "Edit": tick the tests to edit and click "Edit layers". Results from a file are corrected in "Edit zone values", manually added results in "Edit points". You can edit several tests together if they use the same method.
- "Download": tick the tests, click "Download tests", choose the "File format" (Shapefile or GeoJSON) and click "Download map".
- Unlink: the button with the broken chain icon next to a row unlinks the test from the current season. The map is not deleted; you can link it again with "Available results list".
How to manage result files
The "Result files" button in the top bar opens "Soil test result files" with the files uploaded across the whole farm. For each file you see the date, the number of fields, the parameters and the testing method.
- The pencil icon opens "Edit test results", where you change the method and how the columns are matched to parameters. The change applies to every field in that file.
- The bin icon deletes the file together with the layers built only from it ("Delete file and layers"). This cannot be undone.
How to plan soil sampling
Switch the panel to "Ordered Tests". Under "ORDERS LIST" click "Add Order" and choose how the sampling places are set:
- "Sampling Zones": Nirby divides the field into zones from satellite data,
- "From the soil agricultural map": each soil-agricultural map contour in the field becomes a zone,
- "Manual Point Selection": you mark the points on the map yourself,
- "From another season": link an order of this field from another season.
Order with sampling zones
The "Create soil test order - satellite data" window takes you through these steps:
- "Base Division": enter the test name and date, set the "Square Size" (in ha) and decide whether to turn on "Optimize Satellite". Click "Continue".
- With optimisation on: choose the map under "Satellite Data" and set the "Sampling Zones Settings" ("Target Area Size", "Zone Size Limit", "Detail Level", "Edge Erosion"). "SUMMARY" shows the number of zones, their average area, the area range and the homogeneity improvement. Click "Continue".
- "Measuring Points": set the "Points Number" per zone or per hectare and click the point on the map where the route should start. Nirby recalculates the route and shows the "Route Distance:". Tick the "PARAMETERS TO TEST" and click "Add Order".
Order from the soil-agricultural map
In "Add order - soil agricultural map" set the "Minimum zone area" (smaller contours join a neighbour), click "Continue", then set the sampling points and parameters as above.
Order with manually placed points
In "Create soil test order - manual points selection" click on the map to add points (clicking a point removes it). On the right fill in "Test Name" and "Test Date" and tick the "PARAMETERS TO TEST": "pH", "Nitrogen" (Nmin), "Phosphorus" (P2O5), "Magnesium" (MgO), "Potassium" (K2O), "Sulfur" (S), "Organic Carbon" (SOC). Click "Add Order".
How to download the order files for the laboratory
Each order in the list has edit, download and delete buttons and a thumbnail of the field with its zones. The download button gives three files:
- "Results Form" (.xlsx): a sheet with the sampling points for the laboratory to fill in,
- "Measuring Zones" (.shp): the division of the field into zones,
- "Sampling Points" (.shp): the numbered sampling points, in the same order as in the form.
The bin button lets you choose "Remove from this season" or "Remove from all seasons".
The same test or order can be linked to several seasons. Editing it, or removing it from all seasons, changes it everywhere, so Nirby always asks you to confirm. If an order is linked to the current season only, unlinking it deletes it completely ("Unlink and delete").
What's next?
- Fertilization plans: use the test results to plan fertilization.
- Productivity zones: check how the field's yield potential varies.
- Meteorological data: weather forecast and climate data for the field.

