Test PROJ Grid Availability Before an Offline Drone Survey Handoff
A practical offline readiness tutorial for coordinate transformations: inspect local grids, reject silent substitutions, and verify the receiving workstation before releasing drone mapping data.

Define the offline question before transforming anything
An orthomosaic and its surveyed reference points can arrive with complete coordinate system names while the receiving workstation lacks a resource required to reproduce a transformation. The processor had an internet connection; the field laptop does not. Both applications recognize the same source and target reference systems, yet their available operations can differ. For a drone mapping handoff, this is an environment readiness problem worth resolving before anyone interprets an apparent vertical or horizontal discrepancy as a reconstruction error. The practical question is whether the approved operation can run with the resources actually available to the receiving team.
This tutorial builds a small offline acceptance exercise using PROJ utilities and a disposable copy of teaching inputs. It does not prescribe a coordinate system for a NiVO aircraft, select a geoid for a client, or establish survey accuracy. The geographic box, point height and filenames below are constructed examples near Yogyakarta, not observations from a NiVO project. Use a geodetic reviewer’s approved source definition, target definition, area and independent reference observations for operational work. A successful software transformation is only one part of a defensible measurement chain.
Record the environment that actually does the work
Begin on the machine that will perform the receiving task. Record the application build, its PROJ version and how the application obtains its coordinate operation resources. A separate command-line installation may use different libraries or search paths from a desktop GIS. Therefore a successful terminal test does not automatically qualify every application on that computer. Keep the test directory separate from production inputs and save a copy of the application’s operation selection record. Include the database and grid identities relevant to the approved workflow, rather than copying an entire personal settings folder into the delivery.
PROJ documents multiple locations for its database and transformation resources, and applications can override search paths. The projinfo search-path report is useful evidence for the command-line environment, with that limitation stated. Network-enabled PROJ can retrieve grid data remotely and cache downloaded chunks. An earlier connected run is consequently a poor substitute for a deliberate offline trial. Do not assume that a warm cache contains a complete resource or that it represents a supported deployment package. Establish an approved local installation of the required files and retain their provenance and redistribution terms.
projinfo --searchpaths > resource-paths.txt
projinfo --remote-data > network-status.txt
projinfo EPSG:4979 > example-source-crs.txt
projinfo EPSG:4326+5773 > example-target-crs.txt
Product context only; this photograph does not depict the constructed examples in this article.
Inspect candidate operations with networking disabled
The teaching pair is WGS 84 three-dimensional coordinates to a compound WGS 84 geographic reference with EGM96 height. It illustrates a height-reference dependency rather than recommending EGM96 for every project. Confirm both definitions in the reports before using the example. In a new PowerShell session, the following exercise disables PROJ networking for the test process, asks for candidate operations using locally available grids, and restores the previous environment value afterward. It changes no production dataset. Check your installed utilities’ supported options; the later strict execution example requires PROJ 9.2 or newer.
Read the resulting report instead of treating an exit code or a familiar operation name as sufficient evidence. The discard_missing grid check excludes candidates that require unavailable local grid resources, while hide-ballpark suppresses ballpark candidates in this query. This is an inventory and selection check, not execution of a point transformation. If no acceptable candidate remains, record the missing dependency and stop the acceptance exercise. Do not quietly remove the restrictions to obtain a reassuring result. The next step is an approved resource installation or a documented change reviewed by the project’s responsible geodetic specialist.
$previousProjNetwork = $env:PROJ_NETWORK
try {
$env:PROJ_NETWORK = 'OFF'
projinfo -s EPSG:4979 -t EPSG:4326+5773 --bbox 110.30,-7.90,110.40,-7.80 --spatial-test intersects --grid-check discard_missing --hide-ballpark --summary > offline-candidates.txt
} finally {
$env:PROJ_NETWORK = $previousProjNetwork
}Run a small strict transformation and examine failures
Create a teaching text file named test-points.txt containing the line shown below. With these authority-based definitions, cs2cs follows the CRS axis order: the example input is latitude, longitude and ellipsoidal height. Do not reuse a longitude-first spreadsheet without checking the import convention. Run the strict command in a test process with PROJ_NETWORK set to OFF, then inspect standard error as well as the output file. The output is deliberately not supplied here because it depends on the installed resources and selected operation; inventing a universal expected transformed height would defeat the readiness check.
The cs2cs only-best option requests an error when a grid needed by the best relevant known transformation is unavailable. The no-ballpark option excludes ballpark operations. These controls make missing dependencies visible; they do not guarantee that the chosen reference model is suitable for your survey. A failed test is useful evidence when it identifies an installation gap before delivery. Record the exact error and resource identity, then obtain the appropriate approved files. Avoid repeatedly changing source labels, height values or operation settings until some output appears. That would change the test question while concealing the original failure.
Teaching contents of test-points.txt:
-7.85 110.35 100.00
Run with PROJ_NETWORK=OFF in the test process:
cs2cs --only-best --no-ballpark -f "%.4f" EPSG:4979 EPSG:4326+5773 test-points.txt > offline-results.txtRepeat in the receiving application and challenge the dependency
Repeat the small exercise inside the application that will actually consume the drone deliverable. Confirm that its selected operation and resource versions match the approved record. Compare several appropriate independent reference observations distributed across the project, including the intended height convention. Agreement between two software installations using the same inputs establishes reproducibility, not independent survey accuracy. Keep those conclusions in separate fields. Formatting a height to four decimal places merely controls printed output and must not be presented as evidence of that measurement precision.
Where the software permits it, use an isolated disposable environment to make one required test resource unavailable and repeat the strict check. Keep production installations and shared resource folders untouched. The expected negative result is a visible refusal or a clearly documented unavailable-operation state, rather than an unnoticed substitute. Restore the approved test resource and repeat the successful case. If the application silently changes operations, record that behavior and revise the acceptance procedure. Never create a deliberately damaged operational installation just to demonstrate a failure to a client.
Release the dependency record with the spatial data
Deliver the approved coordinate definitions, selected operation, relevant grid identities and versions, test input, observed result and receiving-environment record alongside the survey report. Explain where each reference came from and who accepted it. If redistribution of a resource is restricted, provide the authorized installation route rather than bundling it without review. Keep the small readiness test separate from the original imagery, control observations and processing evidence, so a recipient can distinguish a software dependency issue from a question about the survey itself.
For a repeat visit, rerun the readiness exercise after application upgrades, resource updates or a move to another workstation. Preserve the earlier accepted record so a changed result can be investigated without guessing which environment was used. The useful handoff conclusion is specific: the receiving workflow reproduced the approved operation offline with identified resources and independently reviewed reference checks. It is not a promise that every transformation between similarly named coordinate systems is interchangeable, or that a successful command automatically validates all drone mapping products produced on that computer.



