Field Boundary Buffer: help guide

Open the tool

What the tool does

Field Boundary Buffer reads an existing field boundary and creates a new polygon that is physically larger or smaller than the original. Recorded boundaries often leave too little room inside for different machines, because equipment has physical dimensions outside its working area (turning, headlands, trailing implements, obstacles). The adjusted boundary lets you plan for that clearance.

Boundaries can have exterior polygons (the field edge) and interior polygons (holes such as wetlands, buildings or rock piles). The tool handles both together. The original and adjusted outlines are shown on the map at the same time, and the adjusted result can be exported in several formats with the original attributes preserved.

Everything runs in your browser. Your files are not uploaded anywhere. An internet connection is needed to load the map tiles and the supporting libraries.

Quick start

  1. Read the disclaimer on the landing page and choose I accept.
  2. Load a boundary file (step 1). The map zooms to it.
  3. Check the polygon list (step 3). Fix any polygon whose exterior/interior type is wrong.
  4. Enter a buffer size (step 4). Use a negative number to shrink the field, positive to grow it. Leave the projection on the recommended UTM zone.
  5. Click Apply buffer. The adjusted boundary appears in orange over the original in blue. Check it against the imagery.
  6. Name the file and choose a format (step 5), then click Export adjusted boundary.

Disclaimer

You are responsible for the accuracy of any output file created with this tool and for verifying that it does not cross any obstacles. Using this tool means you assume all responsibility and liability for its accuracy and for any issues that occur from using the tool and its exported files. The developer assumes and accepts no responsibility or liability.

The original boundary's accuracy may not be perfectly preserved by this process. Check your file's attributes for anything that indicates the source recording GPS accuracy (for example fix type, HDOP, number of satellites, or differential correction source). A buffered boundary is never more accurate than the boundary it came from.

This software is provided under the GNU General Public License v3 or later, without warranty of any kind, express or implied, including merchantability and fitness for a particular purpose. Always check outputs in your own equipment and software before field use.

1. Loading a boundary

FormatHow to load
ShapefileSelect a .zip containing the shapefile, or select the .shp, .dbf and .prj together (the .shx can be included but is not needed). Only polygon shapefiles are read.
KMLSelect the .kml file. Polygon outer and inner boundaries are read.
KMZSelect the .kmz file. The KML inside is read.

You can also drag and drop files onto the map. Each ring in the file becomes one polygon in the list, and each keeps the attributes of the feature it came from (shapefile columns, or KML name, description and extended data).

If a shapefile has no attribute table, the output simply contains the buffer column. If you select several shapefiles at once, they are combined, and the first projection found is used for all.

Loading a new file replaces the current boundary and the applied buffer. Your buffer size, units, projections and export settings are kept (see Resets).

Projection of the source file

If the coordinates do not fit the chosen projection (for example they land outside valid latitudes), the tool tells you and you can assign another.

2. Units

Choose Imperial (acres, feet and inches) or Metric (hectares, metres and centimetres). The default is imperial. The same choice is on the landing page and in the sidebar, and they stay in sync. Changing it updates every area immediately. The buffer size you typed is converted so it keeps the same physical distance (ft becomes m and in becomes cm, and the reverse).

3. Polygons and area

The list

Each polygon shows its number, area and a drop-down to set it as Exterior or Interior. Click a row to zoom to that polygon. Exterior polygons are drawn with solid lines and interior polygons with dashed lines.

Automatic exterior and interior

Use the drop-down to override any polygon. An interior polygon belongs to the smallest exterior polygon that contains it. An interior polygon with no exterior polygon around it cannot be used and is marked no parent, ignored.

Totals

LineMeaning
Exterior totalSum of exterior polygon areas.
Interior total (subtracted)Sum of interior polygon areas that belong to an exterior polygon.
Net area (original)Exterior total minus interior total. This is the number to use as the field area.
Net area (adjusted)Same calculation on the buffered result, shown after you apply a buffer.
ChangeAdjusted minus original, with the percent change.

Areas are calculated on a spherical earth model from the WGS 84 coordinates. They can differ slightly (a small fraction of a percent) from ellipsoidal values in desktop GIS software.

Changing a polygon's type clears any applied buffer, because the result no longer matches. Apply the buffer again.

4. Buffer

Size and direction

Enter a number and pick a unit. Units follow the tool's unit system: feet or inches for imperial, metres or centimetres for metric. The value is applied to the field as a whole:

EntryExterior boundaryInterior polygons
Positive (for example 10)Moves outward (field gets bigger)Shrink
Negative (for example -10)Moves inward (field gets smaller)Grow

A negative buffer is usually the choice for equipment clearance: the working area pulls in from the edge and keeps farther away from obstacles. Corners that are rounded off by a growing buffer stay sharp on a shrinking one. Very narrow parts of a polygon can disappear when shrinking, and an interior polygon can merge with the boundary or with another one. If the buffer removes the whole boundary, the tool tells you and keeps the previous result.

Buffer projection

The polygons are re-projected to a flat, metre-based projection before buffering and then converted back. The default is the recommended UTM zone for the middle of your boundary, which keeps distances accurate to well under 0.1%. The list also offers:

For a boundary that spans two UTM zones the recommended zone is the one containing its centre. Very large areas are better served by a custom projection.

Apply and clear

Apply buffer creates the adjusted boundary in orange over the original in blue and updates the adjusted area and change. Changing the size and applying again replaces the previous result. Clear removes the adjusted boundary and keeps your settings.

5. Export

File name

Type a name without the extension. With Append buffer size to file name checked, the buffer is added to the name, for example north_field_buf-10ft or north_field_buf+3m. The box is filled with the name of the loaded file.

Formats

FormatOutputNotes
Shapefile (default).zip with .shp .shx .dbf .prj .cpgFollows the output projection. Text is UTF-8. A .prj is written for the built-in EPSG codes only. Column names are limited to 10 characters, so long names are shortened and made unique.
KML.kmlAlways WGS 84. Attributes are written as extended data.
KMZ.kmzThe same KML, zipped.
GeoJSON.geojsonFollows the output projection. A coordinate system entry is added when it is not WGS 84.
ISOXML.zip containing TASKDATA/TASKDATA.XMLAlways WGS 84. One field per output polygon with a boundary (exterior ring plus interior rings) and its area. This is a minimal boundary-only file. Test it in your display or software before relying on it.

Output projection

The default is WGS 84 (EPSG:4326). You can switch to Web Mercator, the recommended UTM zone, NAD83 UTM or a custom EPSG code from the built-in list. It applies to shapefile and GeoJSON; the other formats always use WGS 84.

Attributes and the buffer column

Every attribute column from the original file is carried to the output. An added column named Buffer_ft, Buffer_in, Buffer_cm or Buffer_m (matching the unit you are using) holds the signed adjustment, positive for growth and negative for shrinkage. Each output feature takes the attributes of the exterior polygon it was made from. Attributes of interior polygons are not carried. If shrinking splits a polygon into several parts, each part becomes its own feature with the same attributes.

The buffer value written is the one last applied, shown in the unit currently selected. If you change the buffer entry after applying, apply again before exporting.

The map

Use the layer button on the map to choose a background and turn overlays on and off.

Hover over or tap a polygon to see its number, type and area. Imagery resolution and date vary by location. Check how current the imagery is before judging a boundary against it. Background tiles come from third-party servers and are subject to their terms of use.

Resets and reusing settings

ButtonWhat it does
Reset step 1Unloads the file and clears the projection status.
Reset step 2Returns to imperial units.
Reset step 3Puts every polygon back to its automatic type and clears the applied buffer.
Reset step 4Buffer back to -10 ft (or -10 m in metric), recommended UTM zone, applied buffer cleared.
Reset step 5File name from the loaded file, append size on, shapefile format, EPSG:4326 output.
Reset session (top bar)After a confirmation, clears the file and every setting and returns the map to its starting view.

Processing several boundaries with the same settings: set the buffer, projections and export options once, apply and export, then simply load the next file. Your settings stay in place. Click Apply buffer again for each new boundary, since the result is specific to a file. The file name updates to match each new file.

Sidebar, mobile and themes

Limits and accuracy

Troubleshooting

ProblemWhat to try
Map is grey or the tool says libraries are missingCheck your internet connection. The map and libraries load from the internet.
"No polygons found"Select the .shp with its .dbf/.prj together, or use a .zip. Confirm it is a polygon file.
Boundary appears in the wrong place or not at allThe projection was not detected correctly. Assign the right EPSG code or proj4 string in step 1.
A hole is not subtracted from the areaIt is marked as exterior, or it has no exterior polygon around it. Set it to Interior in the list.
The buffer looks smaller than enteredCheck the buffer projection. Web Mercator shrinks real-world distances at northern latitudes. Use the recommended UTM zone.
The imported file does not open elsewhereFor shapefiles, unzip first if the software does not read zips. For ISOXML, confirm which folder layout your display expects.
No .prj in the exported shapefileThe output EPSG code is not one of the built-in codes. Choose a built-in output projection.

About, license and credits

Field Boundary Buffer is free software released under the GNU General Public License v3 or later. You may use, study, share and modify it under the terms of that license. It comes with no warranty.

Developed by Cory Weber, Cory Weber Ag Tech, Ontario, Canada, and built with Claude (Anthropic). Contact: coryweber1988@gmail.com

Third-party libraries, loaded from public CDNs and not modified: Leaflet (BSD-2-Clause), proj4js (MIT), JSZip (MIT or GPLv3) and JSTS (Eclipse Public License 2.0 / Eclipse Distribution License 1.0). Map data and imagery are provided by Esri, OpenStreetMap contributors, OpenTopoMap and the USGS under their own terms.