You are trying the new MyGeodata Cloud. Send feedback Back to the previous version

Raster · Scientific & multidimensional

NTv2 — NTv2 Datum Shift Grid

Binary grid shift file format (.gsb) storing latitude and longitude offsets for transformations between geodetic datums.

Type
Raster · Scientific & multidimensional
Extension
.gsb
Converter
Read only
Coordinate system
Always Geographic (grid in the source datum) (EPSG:4326)
Bands
4 (lat/lon shift + accuracies).

What is a NTv2 file?

NTv2 (National Transformation version 2) is a binary format for grid-based datum transformations. It was developed by the Geodetic Survey Division of Natural Resources Canada. Many national mapping agencies have since adopted it to publish the official transformations between legacy and modern geodetic datums, and coordinate transformation libraries and GIS software use it to apply those shifts.

An NTv2 file normally has the .gsb extension. It begins with an overview header, followed by one or more subgrids, each with its own header records. Subgrids can be nested, so that a denser grid covers areas that need higher accuracy within a coarser parent grid. Every grid node stores four 32-bit floating-point values: the latitude shift, the longitude shift and the accuracy estimate of each, expressed in arc-seconds. The grid is defined in geographic coordinates of the source datum. When read as a raster, each subgrid appears as a four-band dataset. The format applies only to horizontal shifts.

NTv2 grids are usually supplied by national mapping or geodetic agencies and received by surveyors, GIS analysts and software developers who must move data between legacy and modern datums. The file is not a map but a table of shifts, so it only makes sense together with the correct source and target datum. Check the agency's documentation for the coverage area and the stated accuracy before applying it.

Typical uses

  • Transforming coordinates from a legacy national datum to a modern datum.
  • Supplying official datum shift grids to PROJ-based software and GIS projects.
  • Inspecting shift values and accuracy estimates of a grid as a four-band raster.
  • Checking the coverage and nested subgrids of an agency-published transformation.
Files: Single .gsb grid-shift file that can contain several sub-grids, each read as a separate subdataset.

Sample NTv2 files — free download

Small, real datasets of the island of Saint Helena (OpenStreetMap, Copernicus DEM, Sentinel-2). Download them, open them in your software, or convert them in one click.

A sample file for this format is not available yet. (NTv2 files are datum-shift grids, not geodata; no official NTv2 grid exists for Saint Helena, so a sample would be fictitious.)

Frequently asked questions

The point probably lies outside the area covered by the grid's subgrids. NTv2 only defines shifts within its own extent, so coordinates beyond it cannot be transformed with that file. Use another grid or a different transformation method for those locations.

Ready to convert your data?

Drop the files and the Converter does the rest — no install, no account needed for your first conversions.