Harnessing the power of FME to improve efficiency for Ballance and NZ farmers

Ballance Agri-Nutrients is a farmer owned co-operative, the largest supplier of fertiliser in New Zealand. They’ve wholeheartedly embraced technology to help deliver their mission of creating the best soil and feed on Earth.

Ballance technology helps New Zealand farmers improve their productivity , while making it easier for them to minimise their environmental impact as responsible guardians of the land.

Three important tools to one integrated platform

Abley’s data technology team supports Ballance through development and optimisation of tools they create for farmers. This is the story of three major FME projects, where Ballance and Abley together evolved three key Ballance tools to add more value to their customers, while also delivering operational and business benefits for Ballance.

  1. First, we transitioned MitAgator, a farm sustainability tool to help farmers mitigate their environmental impact by reducing nutrient loss.
  2. Next, we tackled the Proof of Application tool, an app that records for farmers where fertiliser has been applied to their land, and the volume spread.
  3. Finally, we rebuilt SpreadSmart, a tool used by Ballance’s topdressing business, Super Air, to optimise the aerial application of fertiliser by producing accurate maps of high-country farmland showing fertiliser exclusion zones and waterways.

The migration began late 2020 and was a phased project, completed with the roll out of the updated SpreadSmart platform in February 2022.

The power of FME to unleash the potential in your data

FME stands for Feature Manipulation Engine, a tool developed by Safe Software that connects and integrates data, applications, and systems. It brings more than 400 datasets together to discover the potential in your data and unlock powerful business insights. For example, you could use FME to integrate your business invoicing application with your stock control system and send you an automatic notification when your stocks get low. Abley has the largest Safe Software certified team of FME experts in New Zealand.

These three projects were part of a strategic migration to FME.

Ballance Geospatial Team Leader Andrew Old explains:

In the past, we used other location technology, but we always anticipated once we got FME we’d migrate our tools into FME and take a standardised approach. Our tools do a lot of data processing and data transformation due to the spatial variability across New Zealand farms. The FME tool is very good at reducing processing time. So now we’ve invested in FME and upskilling our team, it makes logical sense to further utilise the asset and build everything we can in that system.”

fme, computer

Mapping out a sustainable future with MitAgator

MitAgator helps farmers reduce sediment, phosphorous, and nitrogen loss, along with controlling the E-coli load of their farm. Farmers want to maintain as many valuable nutrients on their farms as possible, as well as reducing pollution from run off and leaching into waterways. MitAgator helps achieve both these goals by costing and quantifying the effects of different mitigation options on their farm’s current losses, making it easier for farmers to decide how best to invest their on-farm sustainability budget.

The tool looks at a range of inputs such as elevation, soil type, and rainfall to calculate a farm’s run-off risk. Then it explores mitigations and measures their effect. For example, there are 26 possible mitigations from riparian planting to effluent ponds. MitAgator analyses all this data and produces a report recommending a mitigation strategy tailored to the farmer’s drivers and catchment needs. Andrew says,

MitAgator’s a very data heavy application. When you’re calculating the risk of nutrient loss for every square metre of land across a property it’s a heavy calculating load. Farms vary a lot spatially – so we’re using a lot of data from different sources: nutrient budgeting and management data for each farm, soil data from Manaaki Whenua Landcare Research, erosion modelling data, and a whole lot more to drive MitAgator’s risk and mitigation algorithms.”

Abley transitioned the tool to FME from large, clunky Python scripts that required complex management and often caused errors and issues.

The migration resulted in a number of improvements.

  • MitAgator became more robust and easier to manage because FME is a user-friendly platform that logs errors clearly and is simple to debug.
  • The system is more stable, with asynchronous processes, so users can kick off a report and go work on something else. Before users had to monitor progress and couldn’t close their browser without crashing the app.
  • Significant time savings of processing data for farms. Before MitAgator transitioned to FME, some large farms were taking many hours to process. Sometimes reports hit the timeout limit – that time is now .
  • Under the old system, some farms were too big to run through MitAgator. Some high-country stations are tens of thousands of hectares. Ballance can now mitigate run off risk for properties they couldn’t handle before.
  • On top of the speed increase, we improved the quality and the resolution of the data, so recommendations are now more accurate.

MitAgator is a significant investment for Ballance, and a key driver is giving farmers the ability to reduce their impact on the environment. Ultimately, MitAgator is bigger than one business, it’s a significant environmental asset for New Zealand, and part of Ballance’s commitment to Kaitiakitanga, and reducing the impact of fertiliser application on our environment.

Abley are very knowledgeable and dedicated. They go the extra mile and produce great quality work. Tech is important to Ballance, we try new concepts, and we push boundaries to solve our customers’ challenges. We need a partner who can keep up. Abley steps up to the challenge. They’re a really good team who know their stuff. “

Andrew Old,
Geospatial Team Leader,
Ballance Agri-Nutrients

Ballance logo

Lightening the load when it comes to proof of fertiliser application

Ballance provide proof of fertiliser application data to farmers. Partly they do this to close the ordering loop and provide a record that an order has been fulfilled. But it’s also to help farmers comply with environmental regulation. Nitrogen management regulation introduced in 2021 set a hard cap on how much nitrogen farmers can spread per hectare on grazed land.

When a commercial provider spreads fertiliser for a farmer, they normally have a GPS tracker on their truck that captures data on where the fertiliser was spread. They provide that data to Ballance, along with confirmation of the order spread, and how much fertiliser was applied.

Ballance may receive thousands of segments of data for each fertiliser spread. The proof of application system then reconciles that data with their ordering system to confirm the correct order has been fulfilled, places the data in tables for the farmer’s records, and creates a map of the block of land where the application took place. The farmer can then review the application in Ballance’s digital customer platform, MyBallance.

But the old system for processing proof of application data resulted in a huge amount of traffic. Every single piece of data was fed through individually, and the system was feeding data in continuously, running almost 24 hours a day. This was causing stability issues for Ballance’s whole tech platform, clogging up their database, and slowing down other critical applications like MitAgator and MyBallance, which farmers use to order supplies. Andrew explains,

We don’t know when providers will send data through. Our old proof of application system automatically kicked off whenever we received data. And when we’re  handling data from hundreds of fertiliser applications a day, it really slowed our system down.”

With the new nitrogen limit, it is more important than ever for farmers to manage their applications, so Ballance are getting even more data. But their new FME based data processing system is dealing with it a lot more efficiently. Benefits of migrating to FME include:

  • Consolidated and cleaner data. Abley rebuilt the data import process to consolidate the raw data for each farm into one record. This has lightened the load of incoming proof of application data to the Ballance database from thousands a day, to a few hundred.
  • Off peak data processing. The new FME tool schedules processing for the middle of the night when no one else is using the system. Even in peak fertiliser spreading season, data processing which used to run 24 hours a day, now takes only a few hours at night.
  • Fewer system outages. The continual pressure the system was under was creating instability and causing it to crash. Since the proof of application tool was migrated to FME, Ballance have eliminated an entire instability, reducing system outages significantly.

Ballance digital
Ballance Fertiliser spreading

Making topdressing more accurate with SpreadSmart

SpreadSmart analyses location data and uses machine learning to create detailed maps of farms for aerial topdressing. It makes aerial topdressing more efficient, accurate and sustainable by identifying areas to exclude from fertiliser application – this is great for both the farmer’s wallet, and the environment. The maps are automatically referenced by the plane’s navigation system, also making it safer for SuperAir pilots to apply fertiliser on-farm.

Before Ballance implemented FME, the SpreadSmart mapping process was manual and cumbersome. It took anywhere up to four hours and seven different touch points to create plans for each farm. Ballance’s GIS analysts would spend hours setting up files, importing data, running processes, and keeping them running, because if their computer went to sleep SpreadSmart wouldn’t complete. Not only that, but map storage was rudimentary, with no easy way to search and retrieve existing SpreadSmart plans.

Abley worked with Ballance to automate the process using FME. Now all the GIS analyst needs to do is load the plans for a property and quality check the modelled results before marking them as final. We’ve also built a search function so Ballance can retrieve existing SpreadSmart maps fast.

Yesterday, we got an email from the Ballance GIS analyst, Ruby, saying it is now on average six times faster than the old system to set up a job and run her final quality check.

The other benefit is the new FME tool is very hands off. Now Ballance GIS analyst can set and forget, get on with other work and she’s automatically notified when the plans are ready for QA.

Improve the efficiency and accuracy of your business processes

Ballance is an extraordinary organisation when it comes to investing in tech. Most large organisations we work with have between 100-1,000 GIS system users – Ballance instead encourages all farmers and grower shareholders to use its mapping services to manage their land to achieve its food and fibre production and sustainability potential.

You may not be operating at this level of complexity. Very few organisations are. But almost every large organisation in New Zealand processes data from different sources to get the job done. FME is a tool of unparalleled flexibility when it comes to streamlining data processing tasks and building tools that make your business processes more efficient.

Andrew from Ballance explains what it’s like to work with us on complex technical projects.

Abley are very knowledgeable and dedicated. They go the extra mile and produce great quality work. Tech is important to Ballance, we try new concepts, and we push boundaries to solve our customers’ challenges. We need a partner who can keep up. Abley steps up to the challenge. They’re a really good team who know their stuff. And I think they’re quite unique in the sense that they have their specialties where they excel, but they’re also very flexible when it comes to working on new concepts.”

We’re delighted to have helped Ballance automate and improve the efficiency of three key business tools, saving their team thousands of hours of work, while further improving their services they offer their customers. This investment will continue to provide benefits for many years to come.

If you’d like to look at ways you can work with our team to streamline your tech tools, and processes, we’d love to talk.


Hamish Kingsbury profile picture

Hamish Kingsbury
Principal Integration Specialist, Digital Engineering