Geospatial file formats — study guide
The concept's fragments, read in order.
For your capstone Fly a site and deliver a survey-grade map
A map with a reported accuracy of 3.5 cm horizontally and 5.2 cm vertically can still land 4 ft off, or 30 m low, in the contractor's software because one label went missing. The files are the last link in the job, and the survey report records the same choices for anyone who checks the work later.
The 1-foot contours go out twice: as a GeoPackage layer, whose coordinate system lives in a required table inside the file, and as a DXF drawing for the design software, which has nowhere a mapping program will look for a datum. So the label goes in the drawing's title block and the transmittal: NAD 83 (2011) State Plane with the zone named, US survey feet, elevations NAVD 88 from GEOID18. A units setting of "feet" alone does not say which foot.
A file that knows where it is
A drone survey ends as files, and the client never sees the flight. The orthomosaic and the elevation model are grids of cells (rasters). The dense point cloud is a long list of individual points. Contours, the boundary of the work and the checkpoint locations are lines, shapes and points, each with a row of attributes (vector data). Many contractors also want a CAD drawing. Every one of these is a data format in the ordinary sense: an agreement about how bytes turn back into numbers.
The numbers are the easy half. An easting of 612345.678 means nothing until the reader also knows the datum, the projection and its zone, the unit, and, for every height, the vertical datum and its unit, like a house number with no street, town or country: perfectly correct, and useless to anyone who did not write it. Some formats carry that label inside the file. Some keep it in a separate file that sits beside it. One permits only a single coordinate system, and one has nowhere a mapping program will look for it. A format is chosen as much for how it carries this label as for what it stores.
The coordinate systems named on this page (NAD 83, State Plane, NAVD 88 heights from GEOID18) are those of the United States; other countries have their own datums, grids and agencies. The formats themselves are international open standards, and they carry any country's systems the same way.
The failure this page guards against is quiet. A file whose label is missing or wrong opens without complaint, looks perfect, and sits in the wrong place or at the wrong height until someone lays it over other data. Making the coordinate system travel with the file, and then checking that it did, is the last job before anything is delivered.
GeoTIFF: a picture with a ruler attached
A GeoTIFF is an ordinary TIFF image with a few extra tags that tie its pixels to the ground, defined by the Open Geospatial Consortium (OGC) GeoTIFF standard, version 1.1 of 2019. The tie point pins one pixel, normally the upper-left one, to a pair of grid coordinates. The pixel scale says how much ground one pixel spans: 0.03 m across and 0.03 m down for the job's orthomosaic. Every other pixel follows from those two. Each column to the right adds 0.03 m of easting, and each row down subtracts 0.03 m of northing, because image rows count downward while northings count up.
A third tag, the GeoKey directory, names the coordinate system. For a State Plane grid it holds the zone's EPSG code in a key called ProjectedCRSGeoKey, and that one number brings the datum, the projection and the unit with it. Heights get a key of their own, VerticalGeoKey, which can hold a vertical code such as 5703 (NAVD88 height, in meters). An orthomosaic stores three bands of 8-bit color. An elevation model stores one band of 32-bit floating-point heights, plus a marker value for cells with no ground to report. That marker is not part of the GeoTIFF standard; a widely used open-source library writes it in a non-standard tag of its own, and a reader that does not know the tag takes the marker for a real height.
Two more details can misplace a raster. The standard has two raster types: pixel-is-area, the default, ties the coordinates to the upper-left corner of the first pixel, while pixel-is-point ties them to its center, as suits a grid of elevation postings. Read one as the other and the whole raster moves half a cell in each direction, 1.5 cm at the orthomosaic's 3 cm pixels, 2.5 cm on the 5 cm elevation grid, and far more on a coarse grid. The other is the world file, a six-line text file beside the image (.tfw for a TIFF) holding the pixel size, two rotation terms and the coordinates of the center of the upper-left pixel. It records no coordinate system at all, so it leans on yet another side file for one. A GeoTIFF with its keys filled in carries everything inside one file.
Size, tiles and the cloud-optimized GeoTIFF
Start with the size. The parcel is 400 m on a side and the orthomosaic has 3 cm pixels, so the mosaic is at least 13,334 pixels by 13,334: about 178 million pixels. At three bytes a pixel for red, green and blue, that is about 530 MB before compression, for 16 hectares. The elevation grid costs four bytes a cell instead of three: at its 5 cm cells, 8,000 a side, that is 64 million cells and about 256 MB. A standard TIFF tops out at 4 GB, so a site a few times larger needs the BigTIFF variant.
Nobody looks at 178 million pixels at once, and a well-made file does not ask anyone to. A tiled TIFF stores the image in square blocks, 512 pixels on a side being a common choice, so this mosaic becomes 27 blocks by 27, 729 in all, and software reads only the blocks in view. Overviews are reduced copies kept in the same file: about 6,700 pixels across, then 3,300, 1,700, 830 and 420, the last one fitting in a single tile. Each holds a quarter of the pixels of the one below, so together they add about a third to the file, like a road atlas with an overview map at the front and detailed pages behind it, so nobody unfolds every page to find one street.
A cloud-optimized GeoTIFF (COG), an OGC standard since 2023, is a GeoTIFF whose tiles and overviews are laid out so that a viewer on the web can fetch byte ranges instead of the file: a few tiles of the smallest overview for the whole site, then a few full-resolution tiles under the cursor when someone zooms in. Nothing new is invented. It is still a TIFF, and software that knows nothing about the cloud reads it as one by downloading all of it, so one file serves both as the download and as the thing a client browses.
The standard recommends compressing the tiles. Lossless methods give back every value exactly; lossy methods of the JPEG kind give up small changes in color for much smaller files. For a picture a person looks at, lossy can be a fair trade. For an elevation model it is not, because every changed value is a changed height.
LAS and LAZ: one record per point
LAS is a binary exchange format for point clouds, published and maintained by the American Society for Photogrammetry and Remote Sensing (ASPRS). It was built for lidar but holds any cloud of x, y, z points, including the dense cloud that photogrammetry produces. A LAS file is a header, then a set of variable-length records, then one point record after another, every record the same format and the same size. The header holds the point count, the bounding box, the record format, and a scale and an offset for each axis.
Coordinates are stored as 32-bit integers, not decimals. A reader multiplies the stored integer by the scale and adds the offset: with a scale of 0.001 and an offset of 600000, the stored 12345678 becomes 612,345.678. The scale sets the resolution, millimeters at 0.001 and centimeters at 0.01. The offset keeps the integers in range, since at a scale of 0.001 a stored value reaches only about 2,147,483 units from the offset, less than some State Plane eastings in feet. Record format 7 spends 36 bytes on each point: the three coordinates, intensity, return number, a classification code, GPS time, and red, green and blue taken from the photos. The codes are fixed by the specification (2 is ground, 6 building, 7 noise), so a ground classification made by one program is read correctly by the next.
For record formats 6 to 10 the specification requires the coordinate system as OGC Well-Known Text (WKT), a text description of the whole system, stored in one of the variable-length records; a file in those formats without it is, by the specification's own table, an error. LAS has no separate unit field: the units are whatever the coordinate system says. As of late 2026, version 1.4 is the delivery norm: the US Geological Survey's lidar specification asks for LAS 1.4, revision R15, in record formats 6 to 10, and ASPRS has since issued revision R16 of 1.4, described as readability improvements and clarifications. ASPRS also approved a version 1.5 in August 2025 that drops the oldest record formats and the older way of recording the coordinate system.
Size adds up quickly: at 36 bytes a point, the job's cloud of about 64 million points (about 400 a square meter, one about every 5 cm) is about 2.3 GB as LAS. LAZ is LAS compressed without loss. The open-source project that defines it reports files of 7 to 20 percent of the original size that decompress to a bit-for-bit copy, about 160 to 460 MB for this cloud, which is why a cloud is worth sending as LAZ.
Vector layers: shapefile, GeoPackage, GeoJSON
Some deliverables are neither grids nor clouds but features. Each contour is a line with its elevation as an attribute, the boundary of the work is a polygon, and each checkpoint is a point with its name and measured height. Vector formats store the geometry together with a table of attributes. Three are common, and they carry the coordinate system in three different ways.
The shapefile, published in 1998 and still common, is not one file but a set sharing one name: .shp for the geometry, .shx for an index and .dbf for the attributes are mandatory. The coordinate system lives in a fourth file, .prj, which is optional, like a suitcase whose name tag is tied on rather than printed on it: easy to separate, and the case looks no different without it. Copy three of the four and the layer opens without complaint and with no coordinate system. The format has hard limits too: 2 GB for any component file, attribute names of at most ten characters, numbers stored as text, and true arcs turned into chains of short straight segments.
GeoPackage, an OGC standard (version 1.4.0, 2024), is a single SQLite database file that can hold many vector layers, raster tiles and plain tables together. Every coordinate system its contents use must be defined in a required table, gpkg_spatial_ref_sys, so the label lives inside the file and cannot be left behind. That table always contains entries meaning "undefined", though, and a layer can legally point at one, so it is worth confirming that each layer names the zone's code.
GeoJSON (RFC 7946, 2016) is readable text that web pages handle easily, and it names exactly one coordinate system: WGS 84 longitude, then latitude, in decimal degrees; any other needs a prior arrangement between the parties, which the file itself does not record. The member that once named another system was removed from the standard, and the optional third number is a height above the WGS 84 ellipsoid, not an NAVD 88 elevation. A contour layer in State Plane with NAVD 88 elevations must be converted before it goes in, or it goes out unlabeled and depends on a side agreement. GeoJSON suits a web viewer; it is the wrong home for the survey record.
The CAD file the contractor asks for
A grading contractor's engineers work in design software rather than mapping software, and they often ask for a drawing: DXF, a text exchange format for drawing files published since 1982, or the binary drawing format it mirrors, DWG. Contours go in as polylines at their elevations, spot heights as points, the boundary of the work as a closed line, each on a named layer. Some also ask for the terrain as a surface of points and triangles in LandXML, an XML format from an industry consortium.
A drawing stores coordinates and a drawing unit, and not much else that locates it. Its coordinates are plain X, Y and Z numbers, and its header holds a units setting that can read inches, feet, US survey feet or meters. Nothing in it is read by mapping software as a datum, a projection or a vertical reference; a widely used open-source geospatial library treats a DXF file as carrying no georeferencing at all. LandXML is better equipped: units are required, and an optional coordinate system element can name an EPSG code and the horizontal and vertical datums, if the writer fills it in.
So the label goes on the drawing itself. A note in the title block reads something like "NAD 83 (2011) State Plane, (zone name), US survey feet; elevations NAVD 88 (GEOID18), US survey feet", and the same words go in the transmittal that accompanies the files. A units setting of "feet" alone does not say which foot.
One request needs particular care. If a contractor wants coordinates scaled so that distances match a tape on the ground, the drawing is no longer on the State Plane grid, even though its numbers look like State Plane numbers. With the example combined factor of 0.99987, a 400 m side differs by 5.2 cm between the two. A ground-scaled drawing needs its own note, giving the factor and the point it was scaled about, or the next person to use it will mix grid and ground without knowing.
The height half and the units
A horizontal coordinate system says nothing about heights. The GeoTIFF key that names the State Plane zone, or a shapefile's .prj, describes where a thing is. The values in an elevation model's cells, the Z of every LAS point and the elevation attribute of every contour need a label of their own: the vertical datum, the geoid model behind it, and the unit.
On this job the difference is not subtle. The aircraft records ellipsoid heights, and a point with an ellipsoid height of 190.0 m has an NAVD 88 elevation of 220.0 m, because the geoid height there is -30.0 m. An elevation model can hold either number and looks identical either way. GeoTIFF offers VerticalGeoKey, which can name a vertical system or, for ellipsoid heights, a three-dimensional geographic one, but the key is optional, and a file written without it is valid and silent. LAS can wrap the horizontal and vertical systems into one compound WKT definition, and the US Geological Survey's lidar specification requires exactly that. GeoJSON fixes its heights to the WGS 84 ellipsoid.
Units can differ between the two halves. GeoTIFF keys and LAS WKT can both describe State Plane coordinates in feet with heights in meters. The USGS lidar specification asks for the same unit in all three dimensions, prefers meters, calls mixed units not recommended, and requires every foot to be named as international or US survey. The stakes are lopsided. Read an elevation of 220.0 m as feet and the surface lands about 153 m low, which nobody misses. Read US survey feet as international feet and a 720 ft elevation changes by about a thousandth of a foot, while an easting of 2 million feet moves about 4 ft, which is easy to miss.
The habit that covers all of it is a complete label on every deliverable: horizontal datum and realization, projection and zone, horizontal unit, vertical datum and geoid model, vertical unit. It goes inside the file wherever the format has room, and in the transmittal always.
Checking a file lands where it should
Before a file leaves, open the exported copy, the one that will actually be sent, in mapping software that played no part in making it. Read the coordinate system the software reports, which is what the file says rather than what was intended. Then lay the file over something independent: the coordinates of a checkpoint or control mark, a public orthophoto of the area, a known elevation. Labels fall off at export, so the check belongs after the last export, not before it.
When something is off, the size of the offset names the cause. Half a cell, 1.5 cm on the orthomosaic or 2.5 cm on the elevation grid, points to the raster type, pixel-is-area read as pixel-is-point. Lengths a few centimeters off on a 400 m side point to grid against ground. Roughly 1 to 1.6 m, the same everywhere on a site, is the signature of WGS 84 and NAD 83 crossed. A few feet that grow with distance from the grid's origin mean the wrong foot. About 30 m in height with nothing wrong in position means ellipsoid heights labeled as elevations. Hundreds of kilometers means the wrong zone, and a site that has shrunk or grown more than threefold, landing far away, means meters read as feet or the reverse. With no coordinate system at all, the software asks, guesses, or leaves the file in empty space.
None of these shows up inside the file. Every distance and area measured within it agrees with every other, the processing report is clean, and the colors are right. Only a comparison with something placed independently can reveal the error, and the comparison takes minutes per file. That is cheap against a contractor discovering, after setting out grades, that the whole surface sits 4 ft off.
The delivery package for the grading job
The 16-hectare grading job ends as a handful of files. The orthomosaic goes out as a cloud-optimized GeoTIFF with 3 cm pixels, about 178 million of them, so the client can browse it without downloading it first. The bare-earth model goes out as a single-band GeoTIFF of 32-bit NAVD 88 elevations in 5 cm cells, with its vertical key filled in. The 1-foot contours go out twice: as a GeoPackage layer for mapping software and as a DXF drawing for the contractor's design software. The point cloud goes out as LAZ, its coordinate system written as compound WKT.
Every file carries the same coordinate system: NAD 83 (2011) State Plane for the site's zone, NAVD 88 heights from GEOID18, and units named down to which foot. Where a format has room for that label (GeoTIFF keys, LAS WKT, the GeoPackage table), it is inside the file. Where it does not (a DXF drawing, a world file, GeoJSON in anything but WGS 84), it is written on the drawing and in the transmittal. The survey report then records the same choices for anyone who checks the work later.
This is the quiet half of "survey-grade" in the drone land survey capstone. A map with a reported accuracy of 3.5 cm horizontally and 5.2 cm vertically (root-mean-square error) can still land 4 ft off, or 30 m low, in the contractor's software because one label went missing. The deliverable is only as accurate as the file it reaches the client in, which is why every file is opened and checked before it goes. And a file with State Plane coordinates locates no property line. Each state sets where licensed land surveying begins, and where the state reserves them the line can take in topography, volumes and accuracy statements, so on this job the files go out under the licensed land surveyor in responsible charge.
Sources
The published studies, standards and guidance this page cites. Links open on other sites.
- OGC GeoTIFF Standard, version 1.1, OGC 19-008r4 (Open Geospatial Consortium, 2019) docs.ogc.org
- GTiff -- GeoTIFF File Format (GDAL documentation) gdal.org
- ESRI World File, format description fdd000287 (Library of Congress, Sustainability of Digital Formats) www.loc.gov
- OGC Cloud Optimized GeoTIFF Standard, version 1.0, OGC 21-026 (Open Geospatial Consortium, 2023) docs.ogc.org
- LAS Specification 1.4 - R16 (ASPRS, 2025) github.com
- Lidar Base Specification: Data Processing and Handling Requirements, 2025 rev. A (U.S. Geological Survey) www.usgs.gov
- LASzip - free and lossless LiDAR compression (LASzip documentation) laszip.org
- ESRI Shapefile, format description fdd000280 (Library of Congress, Sustainability of Digital Formats) www.loc.gov
- OGC GeoPackage Encoding Standard, version 1.4.0, OGC 12-128r19 (Open Geospatial Consortium, 2024) docs.ogc.org
- RFC 7946: The GeoJSON Format (IETF, 2016) www.rfc-editor.org
- DXF (AutoCAD Drawing Interchange Format) Family, ASCII variant, format description fdd000446 (Library of Congress, Sustainability of Digital Formats) www.loc.gov
- AutoCAD DXF (GDAL documentation) gdal.org
Next on your path to Fly a site and deliver a survey-grade map: The survey report ▸