Glossary
Shapefile (and field boundary file formats)
A shapefile is not one file. It is a set of files that share a basename and only work together, which is why field boundaries so often arrive broken, and why a missing projection file is the single most common handoff failure in drone application work.
Definition
A shapefile is a geospatial vector format that stores features (for a farm, almost always field boundary polygons) as a group of separate files that share the same basename and have to travel together. Three of them are mandatory. The .shp file holds the geometry, the actual coordinate lists that trace each polygon. The .shx file is a positional index into the .shp, which is what lets software jump to a given feature instead of reading the whole file. The .dbf file holds the attribute table, so the field name, the acres, the crop and anything else attached to each polygon lives there rather than in the geometry file. Remove any one of those three and what is left is not a usable shapefile. Alongside the mandatory three sit several companions, and the one that matters most is the .prj file. It holds the coordinate reference system, the projection and datum, which is the statement of what the numbers in the .shp actually mean. Coordinates on their own are just pairs of numbers. The .prj is what says whether those numbers are degrees of latitude and longitude, or metres east and north within a particular UTM zone, measured from a particular datum. Other companions show up routinely: a .cpg file naming the character encoding of the attribute table, .sbn and .sbx spatial index files, and a .shp.xml metadata file. Those are convenience rather than necessity, and nothing breaks if they are absent. The format carries some genuine age-related constraints worth knowing before they surprise you. Attribute field names in the .dbf are limited to ten characters, so a thoughtfully named column gets silently truncated on export and comes back as something unrecognisable. Each component file is subject to a two-gigabyte size ceiling, which farm boundaries never approach but dense survey outputs sometimes do. The attribute table has no real concept of a null value, so an empty cell and a zero can become indistinguishable. And because the format predates the encoding conventions everyone now assumes, accented characters in a field name can arrive scrambled when the .cpg is missing. The practical consequence of the multi-file design is the one that costs people time. Emailing “the shapefile” means emailing one piece of a set, usually the .shp, because that is the one with the recognisable name. What arrives is geometry with no index, no attributes and no projection. The fix is procedural rather than technical: zip the whole folder and send the archive.
In an Alberta Context
In practice an Alberta farm’s field boundaries live inside whatever software the operation already uses (a farm management platform, an agronomist’s account, a retailer’s mapping system, a machinery brand’s cloud portal, or an equipment display in the cab), and every one of those can export a boundary. What they export differs, which is why a handoff is a conversation rather than an attachment. Shapefiles remain the common denominator and are what we ask for first, because essentially everything can read and write them. GeoJSON is a single plain-text file, which removes the multi-file problem entirely and is by convention stored in latitude and longitude, so it is a good second choice and an excellent one when somebody is emailing a boundary from a phone. KML and KMZ come out of Google Earth and are also fine for a boundary, with KMZ being a compressed KML; they are designed for display rather than analysis, so attributes tend to be thinner. A GeoPackage is a single file holding multiple layers and is technically the best of the group, though not every farm platform offers it. ISOXML task data is a machinery-oriented format rather than a boundary-exchange one, and it is usually the wrong thing to send for a boundary even when a display will happily produce it. The failure that actually costs a day is the projection. When a boundary arrives without a .prj, the receiving software has to assume a coordinate system, and if it assumes wrong the field does not land slightly off: it lands in the wrong township, or in the ocean, or collapses to a sliver. Western Canadian boundaries are usually either in geographic latitude and longitude or in a UTM projection, and central Alberta straddles UTM zones 11 and 12, which is a real source of confusion because a boundary tagged with the wrong zone looks plausible and sits kilometres from where it belongs. A boundary that opens in the right county but will not line up with imagery is almost always a projection problem rather than a drawing problem. The second recurring issue is what is in the file rather than how it is referenced. Boundaries drawn years ago by tracing an old air photo, boundaries that still reflect a rented quarter the farm gave up, and boundaries that include the yard site, the slough and the bush as though they were seeded acres all turn up regularly. None of that is visible in a file listing. It becomes visible the moment the polygon is laid over current imagery, which is why we do that before quoting rather than after.
Why It Matters
The boundary file is the first thing in the chain, and everything downstream inherits whatever is wrong with it. A [prescription map](/glossary/prescription-map/) is built inside a boundary, so a boundary that includes the yard site and the bush produces a prescription that puts rate onto ground that is not farmed. The acres figure that comes off that boundary is what a quote gets scoped against, so an inflated boundary inflates the estimate and a stale one understates it. The [as-applied map](/glossary/as-applied-map/) that comes back after the pass is compared against the same boundary, so if the boundary was wrong the record looks like a coverage failure when the flying was fine. Getting the boundary right at the start is the cheapest possible place to fix any of that. There is a specific reason to care about the projection beyond mere inconvenience. A misprojected boundary does not usually produce an error message. It produces a polygon that opens, draws, and reports an area, and the area is wrong. Acres computed in the wrong coordinate system can be off by a large margin while still looking like a reasonable number for a field, and a rate applied against wrong acres is wrong everywhere. This is the failure mode that justifies checking rather than assuming, and the check is quick: open the boundary over current imagery and confirm it covers the ground you think it does. It also matters as a question of who holds the data. A farm’s field boundaries are the farm’s asset. They took real work to build: driven perimeters, corrected corners, sloughs and yard sites excluded, years of small fixes. They are the input to every precision decision the operation makes. When that work lives only inside a platform the farm does not control, changing agronomists or retailers or machinery colours becomes much more expensive than it should be. The protection is simple and worth doing while nothing is urgent: export a complete copy of the boundaries in a portable format, keep it somewhere the farm controls, and refresh it after any season in which fields changed. An operation that can produce its own boundaries on request is never waiting on a third party to release them, and is never redrawing from scratch under time pressure in the middle of a spreading window.
Frequently Asked Questions
+Why is a shapefile more than one file?
Because the format splits the job up. The .shp holds the geometry, the .shx indexes it so software can find a given feature quickly, and the .dbf holds the attribute table with the field name and anything else attached to each polygon. Those three are mandatory. The .prj, which records the coordinate reference system, is technically optional and practically essential. They share a basename and only function as a set, which is why sending one of them on its own does not work.
+Which files do I actually have to send?
All of them. The reliable instruction is to zip the entire folder and send the archive rather than picking out attachments. At minimum the .shp, .shx and .dbf must be present or the data will not open, and without the .prj the receiving software has to guess the coordinate system. Zipping also stops an email client from quietly dropping a file type it does not recognise.
+What goes wrong when the .prj file is missing?
The coordinates lose their meaning. A pair of numbers could be degrees of latitude and longitude or metres within a particular projected zone, and without the .prj the software has to assume. If it assumes wrong the boundary may land in the wrong township or collapse into a sliver, and more dangerously it may open looking plausible while reporting completely wrong acres. Since rate is applied against acres, wrong acres make the whole prescription wrong.
+My boundary opens but will not line up with the imagery. What is that?
Almost always a projection problem rather than a drawing problem. Central Alberta straddles two UTM zones, so a boundary tagged with the wrong zone looks entirely reasonable and sits kilometres from the real field. A boundary that is in the right general area but offset consistently is a coordinate reference system issue. One that is in the right place but the wrong shape is a drawing issue, and those are fixed differently.
+Can I send a GeoJSON, KML or KMZ instead?
Yes, and sometimes it is the better option. GeoJSON is a single text file with no multi-file problem and is conventionally stored in latitude and longitude, which makes it very hard to break. KML and KMZ come out of Google Earth and are fine for boundaries, though they are built for display so attributes tend to be sparser. A GeoPackage is a single file that can carry several layers and is technically the strongest of the group. Tell us what your software exports and we will work with it rather than making you convert.
+What makes a boundary file clean?
Polygons that close properly, with no self-intersections and no stray duplicate or overlapping features. One feature per field, with a name attribute that matches what the farm actually calls it. Non-farmed ground, meaning the yard site, the bush and any permanent slough, either cut out as interior holes or supplied separately as exclusions rather than left inside the seeded area. An explicit coordinate reference system. And boundaries that reflect the ground as it is farmed this year rather than several years ago.
+Should obstacles and exclusions be in the same file as the boundary?
Send them as separate layers where your software allows it. A field boundary answers where the field is; an exclusion answers what inside it must not be treated; an obstacle such as a powerline, a pivot or a yard site is a flight planning input rather than an agronomic one. Bundling all three into one polygon layer loses the distinction and makes it easy to treat an obstacle as farmed ground, or to drop an exclusion without noticing.
+Why do my attribute column names come back truncated?
The attribute table inside a shapefile has a ten-character limit on field names, inherited from the older database format it uses. Anything longer is cut on export, which is how a carefully labelled column arrives looking like an abbreviation nobody recognises. It is a format limitation rather than a software fault, and it is one reason to send a plain-language note about what the columns mean alongside the file.
+Who owns my field boundary data?
The farm does. The boundaries represent real accumulated work: perimeters driven, corners corrected, sloughs and yard sites excluded, years of small fixes. They are the input to every precision decision the operation makes. Where that problem bites is when the only copy lives inside a platform the farm does not control, because changing agronomist, retailer or machinery brand then means renegotiating access to your own maps.
+How do I keep a copy I control?
Export the full boundary set in a portable format, keep it somewhere the farm owns such as its own drive or backup, and refresh it after any season in which fields changed. Do it while nothing is urgent. The time this pays off is the spreading window, when an operation that can produce its own boundaries in ten minutes is flying while one waiting on a third party is still sending emails.
+What if I have no boundary file at all?
That is common and not a problem. A boundary can be drawn from current imagery and confirmed with you, or captured properly during a mapping flight, and either way you end up with a file you own rather than a borrowed one. It is worth doing deliberately rather than quickly, because this boundary becomes the reference every later prescription and as-applied record is measured against.