Precision Farming and Linux: An Expose

Farming is not a place one would expect to fine Linux, but there it is. Mr. Haverland tells us how Linux is used in this unusual area.

Ideally, precision farming is a process where one manages the production of a crop on a plant-by-plant basis. Practically speaking, we are not yet at that level of resolution, but we are beyond treating an entire field as one homogeneous unit.

Modern electronics, global positioning satellites, signal processing and a host of other technologies make precision farming possible. The driving forces for development and acceptance are the possibility of increased profitability and the realization of improved stewardship of the land (less pollution, optimal use of chemical inputs, etc.).


Precision farming is evolving around three technologies: global positioning (GPS), geostatistics (GIS) and remote sensing. Other developed technologies such as sampling, soil analysis and others are also playing a role.

Alberta Agriculture, Food and Rural Development has been in the Precision Farming business since 1993. We work with selected farmers across the province who grow a variety of crops: wheat, barley, canola, peas, potatoes, etc. Our objectives are the following:

  • Help develop a workable system that interested farmers can implement on their farms.

  • Transfer this technology to private industry.

Global Positioning

Global positioning satellites and receivers were the technologies that started this revolution in agriculture (see Resources). Before then, positioning via radio was possible, but not very accessible to the researcher, or ultimately the farmer.

Two families of global positioning satellites are in orbit around the earth: Navstar (U.S. system) and Glonass (Russian). The Navstar system is capable of better positioning than the Glonass system. However, the US military uses something called “selective availability” to decrease precision to something on the order of 100 meters (unless one is using military GPS receivers). Agricultural applications require positioning at sub-meter precisions, most often in real time.

Some enterprising person realized if a GPS receiver were put over some known position, a correction to the position as determined by GPS could be calculated. This correction factor could then be applied to nearby (in space and time) GPS positions. How good the correction is depends on how close the roving receiver is to the fixed known station, and how long ago the correction was calculated. The best precision I am familiar with is typically on the order of 10cm. However, due to the changing “constellation” of GPS satellites, we can't always get precision this good.

For most people, it is not practical to own two GPS receivers plus radio-modems to gather positioning information. For 20cm precision, this type of setup costs on the order of $20,000 US. Fortunately, it is possible for many people to obtain usable differential corrections without going to the trouble of owning a differential base station. There are a number of sources of differential corrections and means of receiving them. Some corrections are broadcast over FM radio, some on other frequencies and some from satellite. The Coast Guard has a number of DGPS (differential GPS) beacons along navigable waterways and coastlines. This includes locations such as the Mississippi and Missouri River basins and the Great Lakes.


One of the most important factors in precision farming, is the ability to store, display and manipulate geo-referenced information. On a local scale, geostatistical packages can look something like a spreadsheet (raster) or a CAD (vector) package. Some types of information access work better in the raster model, some in the vector model.

Agriculture is one of the smaller users of GIS packages; therefore, it is necessary to bend the analytical techniques to methods developed for other applications. The unavailability of theoretical models also affects what can be done with an analysis.

A couple of “free” GIS packages are available, but by far the most comprehensive is the Geographical Resources Analysis Support System (GRASS) ( This package was originally developed by the U.S. Army Corps of Engineers Construction Engineering Research Laboratory (CERL) and extended by other government and university researchers and users over the years. Active support by CERL has been abandoned, but was recently taken up by Baylor University.

GRASS is now advertised as an “Open GIS”. Among the new developments is an interface based on Tcl. An OpenGIS Consortium ( also exists.

Remote Sensing

Commercial satellite remote sensing (see Resources) typically has a resolution on the order of 10m, each pixel covering an area on the order of 100m (far worse than the (rumored?) 10cm resolution the CIA has with some of its satellites). In order to statistically detect some change in an image, many pixels in close proximity must be significantly different than expected. With 10m pixels, this means that many hundreds of square meters of land must be affected before the change can be detected from space. For things like disease or pests, this is not very useful, but it is acceptable for crop maturity. To detect disease or pests, aircraft-based remote sensing is presently required. In the near future, high-resolution satellite imagery is expected to become commonplace.


One Click, Universal Protection: Implementing Centralized Security Policies on Linux Systems

As Linux continues to play an ever increasing role in corporate data centers and institutions, ensuring the integrity and protection of these systems must be a priority. With 60% of the world's websites and an increasing share of organization's mission-critical workloads running on Linux, failing to stop malware and other advanced threats on Linux can increasingly impact an organization's reputation and bottom line.

Learn More

Sponsored by Bit9

Linux Backup and Recovery Webinar

Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.

In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.

Learn More

Sponsored by Storix