ApiaryActiveLive
Try: pause · settings · learn · wipe
← Community / Reading Room
WA
applied-measurement · 25 min read

Why a Finer Map Can Be Much Larger

!An aerial terrain fragment shown through successive paper grid frames (generated illustration)

An aerial terrain fragment shown through successive paper grid frames (generated illustration)
An aerial terrain fragment shown through successive paper grid frames (generated illustration)
Relative cell counts for equal-area grids (illustrative; data table below)
Relative cell counts for equal-area grids (illustrative; data table below)
CategoryValue (× baseline)
30 m1
15 m4
10 m9
6 m25
3 m100

Illustrative calculation, not observations from the linked source. Cell count scales as (30 ÷ grid spacing)² with fixed area and aligned grids.

A watershed team opens two terrain maps of the same county. The newer one shows the narrow cuts beside forest roads and the smaller creases above the creeks. The team asks the archive to keep the finer map too. That sounds like a small change until the storage estimate comes back: if the grid spacing fell from thirty meters to three, the finer map has one hundred times as many cells over the same ground. Nothing had to expand in the landscape for that to happen. The rows and columns each became ten times as numerous.

The arithmetic is straightforward. Its implications are not. A hundred times as many cells is not automatically a hundred times as large on disk, and a hundred times as large on disk does not mean a hundred times as expensive for every map request. An effectively tiled file can serve a small window without reading the rest. Repeated values can compress well. The archive may also preserve full-resolution tiles while handing a much smaller overview to someone looking at the whole county. On the other hand, mask files, edge padding, and derived products can consume space even when a quick estimate based on elevations alone looks modest.

The hardest part of the conversation starts when someone points out that the finer layer looks better. Does it establish the height of the ground more accurately? Can it pick out a ditch that matters to the analysis? Was it made from new, denser observations, or did a program merely interpolate a coarse product onto a finely spaced grid? These are not equivalent questions. Good planning separates cell count, byte count, delivery behavior, and fitness for use, then assigns a practical test to each.

The square law, with its assumptions visible

Consider an axis-aligned rectangular grid covering a region of width W and height H in a common projected system measured in meters. For simplicity, choose an extent that is an exact multiple of each cell spacing, with the same outer edges for all the tests. Square cells of side s divide the region into W divided by s columns and H divided by s rows. Multiplying the two counts gives W times H divided by s squared. The same initial area occurs in the numerator for every grid in the comparison. Only the square of the spacing changes.

That gives the relative cell-count formula used in the figure: take thirty meters divided by the new spacing, then square it. For thirty-meter cells, the multiple is one. At fifteen meters, it is four. At ten meters, it is nine. At six meters, it is twenty-five. At three meters, it is one hundred. These are calculated illustrations, not measurements or dataset statistics from the U.S. Geological Survey. The plotted quantity is cells compared with the thirty-meter baseline, not disk usage, upload time, the number of source observations, or a measure of accuracy.

Use a rectangle thirty kilometers by twenty-four kilometers and the example works all the way down to integers. A thirty-meter grid has one thousand columns, eight hundred rows, and eight hundred thousand cells. A fifteen-meter grid has two thousand columns and sixteen hundred rows, giving 3.2 million cells. A ten-meter grid has three thousand columns and twenty-four hundred rows, giving 7.2 million cells. Six-meter cells yield five thousand columns and four thousand rows, or 20 million cells. Three-meter cells yield ten thousand columns and eight thousand rows, or 80 million cells. The area never changed; the same rectangle simply got subdivided.

In this exercise every grid shares the rectangle and the outside origin. That is what alignment needs to mean for the cell-count comparison. It does not make each pair of spacings mutually nested. A three-meter grid nests exactly inside a six-meter grid with the shared origin because each coarse edge lands on a fine edge. A ten-meter edge does not in general land on a six-meter edge. All the listed spacings are integer subdivisions of thirty, so each grid can be nested within the thirty-meter baseline. To compare samples between two mutually non-nested grids you must choose a resampling or footprint-overlap rule, even if both were drawn on the same neat rectangle.

The dimensions of real exports do not always divide so cleanly. If you include all cells touched by a boundary, you may need to round dimensions up and adjust the origins to a reference grid. If you clip to a complicated polygon, the storage raster often remains rectangular, encoding exterior cells as missing or in a mask. If you require only fully contained cells, the edge count changes again. A tenfold linear refinement still creates an approximately hundredfold increase for a large fixed area, but an exact quantity estimate should use the actual expected rows and columns rather than a theoretical rounded ratio.

Not every grid has square metric cells. If you halve the spacing east to west but leave the north-to-south increment alone, the ideal rectangular count only doubles. If you divide one increment by two and the other by four, multiply those factors to get eight. Geographic grids expressed in angular units also need care: a degree of longitude describes different ground distances at different latitudes. You can reliably count grid indices in any declared reference system, but it does not follow that a fixed angular interval covers the same ground width everywhere. Quote nominal resolution in the units appropriate to the grid and state when a metric conversion is approximate.

Put a bytes column beside the cells column

First estimate the unpacked sample payload. In the simplest raster, each cell contributes one value from one band. If it occupies four bytes, the 800,000-cell example contains 3.2 million sample bytes. The 80-million-cell version contains 320 million sample bytes. Those are approximately 3.05 and 305.18 MiB; the denominator for MiB is 1,048,576, not one million. This simple multiplication excludes masks, block padding, file headers, georeferencing metadata, overviews and compression. It is helpful precisely because it describes something that can be calculated before building a single file.

If you add three bands of equal width and dimensions, multiply the base payload by three, not by three for each individual axis. If bands differ in width or data type, sum the bytes per cell instead. In a mosaic or archive made of different tiles, sum the tile-specific quantities. Some files use bit-packed samples rather than the ordinary byte widths assumed by this example. Treat those according to the actual storage representation. Distinguish the file's stored type from the type your software converts it into for arithmetic. A tool that promotes integer samples to double precision can allocate more memory than a reader might infer from file size.

Data type is a scientific choice as well as a budgeting choice. Integer samples may be perfectly suitable for class codes or quantities recorded at known increments. A float may be appropriate for a numeric surface. Recasting a band to a smaller type can round values, change the valid range, collide with a missing-value code, or discard a distinction an analysis needs. Changing storage type is safe only after specifying the valid range, numerical tolerance and missing-value representation, then verifying that the encoded data are still fit for purpose. For example, a visual grayscale thumbnail of elevations is a perfectly respectable overview, but it is not an archive copy of measurements in physical units.

A working-memory estimate is a separate calculation. A slope tool can keep an input window, edge or halo rows, masks, output arrays and intermediate values at once. A single 305 MiB base payload can therefore lead to substantially more memory consumption if the program reads it all into memory and adds working arrays. Conversely, processing in windows may keep the peak memory much lower. The only useful promise is tied to a particular algorithm and process configuration. Record whether your storage estimate assumes a whole-raster read, block-wise processing, or a combination across stages.

Likewise keep transfer bytes separate from space on disk. A server can send a prebuilt relief image rather than the quantitative raster, or answer a window request by reading only certain blocks. A file-format choice made to support such reads can reduce network usage for a regional viewer without reducing the storage footprint of the archive. If your actual job is to distribute the whole raster to analysts, the file's full byte size and transmission of any companions matter. If the job is to show a small view, count your bytes at the view boundary, not simply by citing stored megabytes.

Why a void on the map is not always a hole in the file

Suppose the desired region is a watershed across a small fraction of a rectangle. A rectangular raster still has a logical cell position everywhere within that extent. Outside the watershed, the export might use a reserved value, a separate validity mask, an alpha band for visual styling, or a storage feature that allows some empty blocks to remain physically absent. These are different mechanisms. A transparent patch in the map window tells the reader almost nothing about which mechanism was used, how many bytes it consumes, or whether the same numeric meaning will survive another tool.

A missing sample is not equal to zero. For an elevation product referenced to a stated vertical datum, zero can be a legitimate value. A hypothetical wetland surface with five actual zero values and five missing cells must not appear to contain ten valid zero values just because a convenient default was used. Calculating an average or slope across the boundary can then yield a technically precise answer to the wrong problem. The GDAL raster data model describes optional missing-data masks and relates masking to raster-band interpretation. Ask what your particular source uses instead of guessing from its display.

The fraction of valid cells is still worth measuring. Include both total logical grid cells and valid cells when it matters to the acquisition or coverage question. But do not substitute the valid-cell count into the byte formula unless you know how the file physically encodes or omits the others. A mask may require separate storage and its own reduced-resolution levels. A validity code that repeats across a huge blank area can compress well in regular blocks, even though all the positions still exist conceptually. A scattering of isolated valid points can behave differently because each block contains useful and missing material mixed together.

Keep functions distinct at the boundary. A blank ocean area in a land-only dataset, an unsurveyed gap in an otherwise continuous project, and a masked-out private export might all appear identical on screen. They have different consequences for downstream work and may deserve different metadata. Choosing to clip a large rectangular download only to the actual project area may reduce disk and transfer overhead relative to a full surrounding rectangle. But leave a margin where an edge-sensitive algorithm needs surrounding samples, and retain enough provenance that a future analyst knows whether the border was inherited or introduced for distribution.

A useful check for a delivery decision is to make three comparable representative tiles: one largely filled, one mixed at the edge, and one mostly missing. Preserve the same declared missing-data rules in each. Compare actual bytes and read behavior under the candidate settings and confirm that a blank tile does not turn into legitimate zeros when read in another environment. For the small experiment, compute missingness from the documented mask, not from the default window color. This lets you extrapolate based on how the area is laid out, not on the chance choice of an unusually compressible tile.

Compression changes the bytes, not the number of cells

Lossless compression aims to preserve the stored values exactly through a decode. In practice the degree of savings depends on content, algorithm and settings, not on resolution alone. A flat plane recorded repeatedly in identical values is a very different input from elevations that vary irregularly from cell to cell. Fine samples taken over a smooth portion of land may remain highly predictable. Noise, sharp boundaries, or subtle floating point variation can make the encoded result less compressible even if a shaded display appears uniformly gray. A compression ratio copied from somebody else's tile is, at best, a hypothesis about your own export.

For a simple fictional estimate, assume the 30-meter payload is 3.2 million bytes and compresses to one quarter of its unpacked size, ignoring metadata. Assume the 3-meter payload of 320 million bytes compresses to one eighth, under similarly artificial conditions. The resulting figures are 0.8 million and 40 million bytes, so the fine encoded payload is fifty times the coarse one, not a hundred. Reverse those assumed ratios and the two files would instead differ by a factor of two hundred. These arbitrary examples show why the square law belongs in the cell-count column and why actual disk comparisons need measured encoded bytes.

A raster format may organize samples into strips or tiles. Tiling can make small-window reads efficient by placing neighboring cells into separately readable blocks, at the cost of packaging overhead and the chance of reading blocks not fully needed by the request. The last block in a row or column can include padding depending on the storage scheme. Larger blocks may amortize headers and make some data easier to compress; smaller ones can reduce the amount of unnecessary data fetched for a tiny window. None of these properties changes the coordinates or values of cells in the logical grid. Pick candidate settings against the intended access pattern rather than maximizing a single benchmark result.

File size does not tell you whether a representation changed the source values. Lossy compression and value quantization can be suitable for a visualization derivative, but must not silently replace a numeric master. Even a seemingly minor alteration may shift a threshold or pattern around the narrow features being studied. For preservation or exact reproduction, specify how conservatively to encode the master, then verify by reading it back and checking known values, masks, dimensions, coordinate relationships and metadata. If numerical tolerances are an intentional part of a lossy quantitative workflow, put the tolerances and scientific justification in the processing record.

Report the actual tool and format options you used. The GDAL GeoTIFF driver documentation describes choices for compression, tiling, and handling of masks and overviews for that implementation. Do not assume an option supported by one writer behaves the same in every download or reader. Test normal opening and a representative window read in the environments you support. For a public distribution, a file that is small but cannot be interpreted reliably by the audience has not met the access goal. For an archive, opening one convenient tile in the creator's application is necessary evidence, not a complete test of the release.

Overviews add bytes so the viewer can ask for less

A county-wide extent may cover eighty million three-meter cells while the active map pane has a million screen pixels. Decoding the entire fine raster to manufacture that view every time can waste work. An overview is a lower-resolution representation derived ahead of time. The viewer can use an appropriate scale for the current display, then request finer data as the user zooms in. This is not the same as discarding the full-resolution source: the coarse levels supplement the base, and the base remains available for analyses that require it.

If both dimensions are divided by two at each ideal overview step, the first overview has one quarter as many cells as the full-resolution grid, the next one sixteenth, and the next one sixty-fourth. Summing these fractions for a complete ideal pyramid approaches one third of the base count in additional cells. That is the geometric-series result for exactly divisible dimensions and the same type and bands at every level. Actual dimension rounding, selective levels, auxiliary masks, data layout and compression can change extra disk bytes. This is an estimate for a specific pyramid, not a claim that overviews always cost one third more storage.

For the eighty-million-cell example, a factor-of-two overview adds twenty million cells; a factor-of-four level adds five million. A factor-of-eight level adds 1.25 million. Keeping those three levels adds 26.25 million cells beyond the base, or about thirty-three percent. An interactive user looking at the whole county might only read from one of those smaller levels and only from relevant blocks. Analysts downloading every sample as a single object see a different proposition: an internally stored pyramid may ride along with their download even when they never use it. A coarse visualization service or a clearly separated overview derivative may suit certain delivery paths better.

The overview method affects what you see. Averages can be suitable for some quantitative display summaries, but a tiny sharp summit can disappear in an average. Nearest-neighbor methods leave values taken from selected input samples without blending, but can drop a narrow linear feature or produce jumpy boundaries when viewed at small scales. For categories, averaging class identifiers generally creates meaningless intermediate numbers. Modes, nearest selection, fractions by class, or an explicit display product answer different questions. Choose a method with the kind of data in mind. Document any treatment of missing input cells so people can distinguish a legitimately faint feature from an artifact of overview generation.

Keep the discovery workflow honest as well. A visitor who zooms out may reasonably assume that a displayed surface is a simplified representation, but a value query must say whether it sampled the source grid or a reduced-resolution copy. A peak elevation listed from an overview cannot be compared fairly with a study that looked at the fine grid unless their definitions agree. Testing both an overview view and a complete numerical export confirms that access conveniences have not secretly become the analysis data.

Resolution, support, precision and accuracy are different

Resolution here primarily means the nominal horizontal spacing in the delivered grid. It describes how often the raster stores a sample location in two directions. It does not alone say how wide an actual effective observation footprint was, how independent two adjacent samples are, or how close a stored height is to an appropriate ground reference. A model made by resampling a coarser surface may have three-meter pixels with no new original observations between the former grid sites. It will have more cells and smoother curves in a viewer, but those facts cannot prove more reliable measurements.

A numerical value also has precision in the sense of what increments the representation can record. A program can print many digits after the decimal from an interpolation formula. It has not thereby validated the digits against the ground. If an input datum is unknown or a source surface differs from the intended surface at the location, the error can survive through all those numerical steps. Conversely, a coarser product can be adequate for a broad question even if it visibly generalizes locally. Think first about the size of the relevant feature, the needed vertical or horizontal agreement, and the tolerated error in the decision.

This is why source lineage matters. The U.S. Geological Survey 3DEP products and services overview distinguishes lidar point clouds, original-resolution elevation models derived from source observations, and standard DEMs delivered at specified horizontal resolutions. Point samples and a gridded bare-earth model are not interchangeable outputs. Some observations describe objects above the surface, and the product definition tells you how the intended terrain surface was inferred. The multiple datasets exist to meet different needs. The USGS program context here explains the distinctions, not the arithmetic of the hypothetical chart.

For an illustrative project, compare a three-meter surface derived from genuinely dense terrain observations with a three-meter grid made only by interpolating an existing thirty-meter layer. Both would have the same theoretical cell count over the example rectangle. A handpicked cross section might look plausible in both, especially if visual shading emphasizes gradients. Yet the first may capture a bank or narrow road cut from the underlying observations; the second has no new source evidence to establish that feature. Check the metadata for source dates, methods, intended surface, and any validation the producer supplies before treating the profiles as equivalent.

Even the better observed fine raster may have flaws for a particular decision: a sharp urban edge, sparse usable observations under cover, an acquisition date before earth was moved, a mismatch in vertical reference, or distinct behavior at a seam between projects. Accuracy is then a measurable relation to reference observations and a specified error metric under stated conditions, not a promise carried by an attractive cell spacing. If it matters whether a levee is higher by a few centimeters, determine whether the products and independent validation actually support that claim. Do not infer it by ranking the numbers in their filenames.

A planning exercise for one region and two audiences

Suppose a county team has two commitments. The planning website must show a legible shaded terrain background quickly when a visitor first opens it. A technical unit must also be able to extract a well-documented fine surface for an inventory of small features. Start by specifying the geographic area needed for each commitment. The website may need the county and its neighbors at opening scale. The technical unit may need fine tiles only for a defined creek corridor, with a buffer wide enough for the methods it uses. The two products need not replicate the full area at the same spacing.

Carry the estimate down to the application. Coarse cells for an opening view could come from a standard coarse product if consistent with the intended visual context. Where the opening view and fine detail must agree closely as someone zooms, make coarse visuals from the validated fine surface instead, and keep the overview method explicit. For the technical unit, retain the original-resolution data and correct reference metadata in a documented package. If work is seasonal, stage requested blocks rather than requiring everyone to repeatedly copy the entire archive. Size the archive, the public-facing delivery, and analyst working space separately.

Use a common total for each candidate line in a comparison worksheet: number of requested regions, required dimensions, bands and type, number of copies, overview design, estimated masks, and shopping-list bytes. Add measured encoded bytes only after producing sample outputs. A figure may look like half a gigabyte for one primary file until you count the backup and refreshed version kept during rollout. If the original and fine datasets must be retained simultaneously for reproducibility, put them on separate lines so that a plan to publish a smaller web version is not mistaken for a plan to erase the old measurements.

A thought experiment shows why targeting the finer area helps. If only one eighth of the region needs the three-meter grid, its ideal cell total would be about 12.5 times the full-region thirty-meter baseline, instead of one hundred times. That ignores grid snapping, rectangle padding, overlap at tile boundaries, and any minimum distributed tile sizes. It is still useful when deciding whether to obtain the whole fine region as a standing service. Compare the final real footprint and repeat conditions rather than using this simplified percentage as a promise.

Demand is also selective in time. If the technical team uses fine data once a year, moving batches into working storage as needed may be reasonable, provided the authoritative copy stays complete and recoverable. If every interactive session browses deeply into the same high-resolution hill slopes, retaining internal overviews and a sensible block layout may have more value than cutting the last few bytes off the stored package. Check that these are measured behaviors or documented intentions, not assumptions based on how often one developer zooms during a demonstration.

Validate the comparison rather than trusting the sharpest picture

Build representative fixtures at the intended native spacings. Include a smoother area, a rougher feature-rich area, a mostly missing tile, and an edge or seam where data coverage changes. Freeze the source editions, clipping boundaries, CRS and intended resampling. Use both an aligned exact rectangle, to reproduce the counts, and an awkward clipped case, to expose real-world sizing overhead. If only the regular rectangle is tested, your estimate may miss the storage and semantics of masks and alignment around an irregular area.

Read each file with the declared tools and record actual dimensions, band types, valid-cell treatment and inclusion of overviews. Compare measured file bytes including auxiliary files and then record actual transfers needed for a repeatable small window and a full download. For latency tests specify cold or warm treatment and repeat under known conditions. Print the coordinate system and horizontal spacing in a report someone can review. A carefully kept record lets another analyst distinguish differences of content, file format, storage layout, and delivery software instead of collapsing them into one surprisingly good or bad number.

Keep the list of conditions constant for a comparison that is supposed to isolate spacing. If the coarse result came from one encoder with no overview and the fine one from another with tiling and three overview levels, the resulting byte ratio is a fair comparison of those two packages as delivered. It is not an isolated measurement of the effect of spacing. Save two table rows if necessary: equal-format test and realistic deployment test. Either may be relevant, but the audience ought to be able to tell which conclusion came from which test.

Check numerical outputs before trusting the visualization. Comparing an independent control location in common horizontal and vertical references helps catch incorrect assumptions about datums or transforms. Compare several terrain conditions if you have suitable independent observations; an error summary dominated by easy flat ground cannot establish performance on every edge. For quality, keep unknowns visible. With no independent ground evidence, say that samples agree or differ between products, not that one product is more accurate. Likewise a beautiful shaded-relief rendering can establish display usability without establishing suitability for minimum-slope rules or feature detection.

If you document error with a root-mean-square value, say what was compared and how conditions were represented. The statistic compresses signed differences into a single typical scale that weights larger errors; it does not show whether one hillside has a consistent offset, where extremes occur, or how well positions in different reference systems were reconciled. Preserve enough comparison detail to understand performance on the features you actually care about. The same discipline applies to byte summaries: report an encoded median across test tiles if useful but still note the largest representative cases, because they often influence the network and working storage decisions.

Keep the master and its delivery products identifiable

Raster preservation is broader than preserving a good-looking screen image. Preserve the source format and projection when practicable, along with the information needed to interpret the georeference, missing samples, numeric types, and lineage. The Library of Congress summary of digital format preferences recognizes GeoTIFF in its raster/georeferenced-image guidance, including the broader priority of retaining complete native material where possible. It also recognizes other ways of packaging raster geography. Choose a supported, verifiable package, not simply an extension that sounds archival.

In the manifest, label the finest authoritative raster, the intended numeric type, the overview levels and methods, and the relationship of each web render to its parent. Include auxiliary metadata if interpretation depends on it, and verify the package with an independent opening test where feasible. When you stop serving a large derivative, you should still know whether it can be rebuilt. A compressed derivative can be perfectly appropriate for a public interface but should not acquire the status of a master merely because it is the only copy visible in the project dashboard.

A later migration should say what stayed invariant. If you switched lossless codecs or organized the same cells into new blocks, the decoded samples and grid should compare directly, and the change is in packaging. If you reprojected, altered spacing, or changed overview methods, the derivative now differs for meaningful reasons. Retain the previous authoritative inputs and transformation notes where necessary and feasible; avoid calling a numerically different result only a storage savings. Byte-size comparisons across generations must also say whether they include the same geographic coverage, bands, masks, and derived levels.

A concise handoff can separate four quantities. State the logical cell count and how it was calculated. State the actual file and companion bytes, with the encoding and overview policy. State the measured access workload, distinguishing whole-file transfer from a view. Finally, summarize what the source and validation do and do not show about the intended feature or measurement. This approach gives one audience the cost estimate, another audience the scientific limits, and the maintainer the evidence needed to reproduce the results.

The practical rule is to pay for finer original data where genuinely finer evidence serves the job, and use the simplest documented delivery form elsewhere. Doubling each axis is four times the samples, not twice, and refining thirty meters to three is a hundred times over the same ideal extent. But whether those cells improve the map, fit the archive, or speed up a visitor's view depends on separate choices. Track those choices explicitly rather than letting one dimension measure all the others.

Estimate the multiplied costs over a complete refresh

A single release can make the fine files seem affordable when the operations problem is really the overlap between releases. A region that receives corrected source tiles in spring may temporarily hold the previous master, the candidate master and the derived levels from both. A tiled scheme can limit the size of each changed object, but the date and provenance of unaffected tiles still matter. Define what a version means: it may be a complete catalog of ready-to-use objects, not a timestamp that can be inferred from whichever files happen to be present. Updating only the layers a visitor recently requested can otherwise leave neighboring maps in inconsistent states.

Try an explicit illustrative deployment count. Suppose the pilot three-meter product has an observed packaged size of 120 MiB for one corridor, including three display levels. You want the current package and a candidate on the primary store during verification, plus an independent backup of the current package. That gives 360 MiB while the candidate is being tested, before any optional cache or scratch allocation. If a processing task uses one additional uncompressed intermediate of 180 MiB, the combined example reaches 540 MiB across the relevant stores. Figures chosen for planning are not measurements of real map bytes. Their usefulness lies in tracking the copies and stages costs attach to.

Plan rollback explicitly. If the candidate package opens but its overview mask draws valid water as transparent, the earlier product should remain recoverable without reconstructing it from coarser screenshots or trying to reverse resampling. For working storage, consider whether parallel jobs duplicate scratch blocks, and lay down a safe budget before multiple analysts start the same processing step. For delivery, ask how a repeat visitor will know which revision a cached view represents. These are engineering choices around the map, not alternatives to scientific quality checks. Store the evidence that connects the visual derivatives to their specific parents and test that the acceptance criteria apply to each version.

Finally, report what is not included in the estimate. Oversized network exports, extra bands ordered by another team, processing on a remote worker, and snapshots retained by storage systems may belong to a different budget owner, but they do not stop consuming resources. A measured use case with clear boundaries is more honest than an impressive file-size number intended to answer every future question at once.

References

Frequently asked
What is Why a Finer Map Can Be Much Larger about?
!An aerial terrain fragment shown through successive paper grid frames (generated illustration)
What should you know about the square law, with its assumptions visible?
Consider an axis-aligned rectangular grid covering a region of width W and height H in a common projected system measured in meters. For simplicity, choose an extent that is an exact multiple of each cell spacing, with the same outer edges for all the tests. Square cells of side s divide the region into W divided by…
What should you know about put a bytes column beside the cells column?
First estimate the unpacked sample payload. In the simplest raster, each cell contributes one value from one band. If it occupies four bytes, the 800,000-cell example contains 3.2 million sample bytes. The 80-million-cell version contains 320 million sample bytes. Those are approximately 3.05 and 305.18 MiB; the…
What should you know about why a void on the map is not always a hole in the file?
Suppose the desired region is a watershed across a small fraction of a rectangle. A rectangular raster still has a logical cell position everywhere within that extent. Outside the watershed, the export might use a reserved value, a separate validity mask, an alpha band for visual styling, or a storage feature that…
What should you know about compression changes the bytes, not the number of cells?
Lossless compression aims to preserve the stored values exactly through a decode. In practice the degree of savings depends on content, algorithm and settings, not on resolution alone. A flat plane recorded repeatedly in identical values is a very different input from elevations that vary irregularly from cell to…
References & sources
  1. Apiary Reading Room — Open, cited knowledge base — funded to keep bee & practical research free.
From the Apiary Reading Room. Opinion & editorial — not financial advice. We don't overclaim.
More from the Reading Room