PNG Pixel Density Is Not Georeferencing: Audit a Drone Map Preview
Separate PNG pHYs display density from map coordinates, then inspect metadata and spatial dependencies before accepting a drone raster preview.
Identify whether the PNG is a map image or a referenced raster
A PNG preview of a drone map may carry a physical pixel-density value that an image editor displays as resolution. That number can be useful for presentation while providing no evidence of where the image belongs on the ground. Before interpreting it in a NiVO raster handoff, identify the accepted analytical source and the role of the PNG. This tutorial separates display-density metadata from geographic placement. It uses constructed dimensions and documentation-reviewed inspection commands. It does not supply an actual map file, establish a NiVO export capability or calculate ground sampling distance from a preview.
Keep the original raster, the identified PNG derivative and its export history together. Record whether the PNG is a quicklook, an annotated figure or an image intended for a supported spatial import. The same visible map can pass through several resizing or layout steps before delivery. A resolution label in a file-properties dialog may describe the intended presentation size rather than the map scale used by the source dataset. Preserve the exact file revision and supporting reference information before changing metadata or deciding that a familiar unit makes the image suitable for measurement.
Read pHYs units in their display context
The W3C PNG specification defines pHYs as intended pixel size or aspect ratio for displaying an image. It stores horizontal and vertical pixels per unit plus a unit specifier. Unit one means the metre; unit zero leaves the unit unknown and specifies aspect ratio only. If the chunk is absent, the specification assumes square pixels while leaving physical size unspecified. These are image-presentation rules. The pHYs fields do not supply a geographic origin, coordinate reference system or rotation that positions a drone map in a project reference frame.
Keep that distinction visible in the inspection report. A metre used to describe the intended physical presentation of an image is not automatically a metre in the projected coordinate system of its source map. Likewise, an aspect-ratio declaration cannot identify an omitted projection or restore a deleted transform. If two tools display different resolution labels, inspect their metadata interpretation and presentation settings before changing the spatial package. Record the original values and the intended use separately, so a recipient can evaluate the evidence without inheriting an undocumented assumption about what the unit label means.

Product context only; this photograph does not depict the constructed examples in this article.
Trace a constructed display-size calculation
Consider a fictional image width of two thousand four hundred pixels and a declared display density of twelve thousand pixels per metre, with the metre unit explicitly selected. Dividing pixel count by that density gives an intended display width of zero point two metres. This is a presentation calculation, not the ground width represented by the image. The example supplies no map coordinates, camera geometry, terrain model or survey observations. It also does not claim how a particular browser, printer or application will honor the metadata when placing the image in its own layout.
Use the constructed result to ask the correct question about an actual delivery. If the task concerns placing a figure in a report, presentation size may be relevant. If the task concerns a raster footprint or pixel location on the ground, obtain the actual spatial reference and transformation evidence. Do not multiply an editor resolution value by an assumed map scale to manufacture a project extent. A resized preview can still look like the original map while its relationship to source cells has changed. Preserve that relationship through the producing workflow rather than deriving it from visual resemblance.
Inspect image density and spatial metadata separately
ExifTool documents PixelsPerUnitX, PixelsPerUnitY and PixelUnits in its PNG physical-pixel group. The first command below requests those fields without assigning new values. The second uses GDAL gdalinfo to report the raster information and metadata domains exposed by its reader. The filename is illustrative. No actual PNG or command output is supplied. GDAL is not assumed to expose every PNG chunk under a particular label, and a successful metadata report is not a complete PNG conformance test or evidence that a spatial transform is correct.
Preserve the tool versions, raw reports, warnings and actual input identity during a real review. A missing requested field must not be replaced with a guessed density. Inspect any reported coordinate system, transform and associated files in their proper context. Confirm what the receiving application actually recognizes when opening the identified package. The commands are inspection aids, not instructions to assign a coordinate system or repair a map. If spatial information comes from another file, record that dependency explicitly rather than assuming it is embedded in the PNG or reconstructible from a screenshot.
# Illustrative local filename; metadata inspection only.
exiftool -a -G1 -s -PNG:PixelsPerUnitX -PNG:PixelsPerUnitY -PNG:PixelUnits accepted-preview.png
gdalinfo -json -mdd all accepted-preview.pngPreserve the actual georeferencing dependency
GDAL documents reading PNG world files with pgw, pngw or wld extensions, and an explicit option for writing a world-file companion. Its world-file documentation describes six transformation values, including the coordinates of the upper-left pixel centre. That spatial relationship serves a different purpose from pHYs display density. Treat any supplied companion as part of the identified raster revision, and obtain the applicable coordinate reference definition separately. A world file with a plausible name is not, by itself, evidence that the image matches the intended source or that its location was validated.
When an image is cropped, resized or otherwise derived, confirm whether the spatial relationship was updated for that exact operation. Keep the analytical master and any presentation-only PNG distinguishable. Compare agreed locations in the intended receiving software against appropriate independent project evidence; merely seeing the image somewhere on a basemap is not sufficient acceptance. If a companion was omitted, request the authoritative package or documented derivation. Avoid inventing transform values from the visible grid, the file density or an assumed aircraft capability. Preserve unresolved reference limitations until the required evidence is available.
Deliver a clear reference statement with the preview
A useful handoff names the PNG revision, its intended role, any observed density fields and the source of its spatial reference. Keep the original metadata report, relevant companions and processing history with that statement. Explain whether the recipient should use the file only for viewing or through a verified spatial workflow. Another analyst should be able to distinguish presentation dimensions from map dimensions without guessing what the producing application meant by resolution. If the preview is not suitable for a measurement task, identify the accepted analytical source and the remaining reference information required.
For NiVO mapping discussions, this turns an ambiguous resolution label into two concrete questions: how should the image be displayed, and how is it located in the project reference? Answer each with its own evidence. It complements reviews of stored sample precision, validity masks and analytical source identity while avoiding an invented ground-distance or accuracy claim. Retain the original package and document any presentation derivative. The practical result is a preview that communicates its purpose clearly and does not acquire unsupported geographic meaning merely because its metadata contains a physical unit.



