The group "NTv2 Tools" contains functions that allows the manipulation and data retrieval from NTv2 ASCII grid files and NTv2 binary files.
NTv2 files are either in ASCII format or in binary format.
With the functions convntvascii2bin() and convntvbin2ascii() can be converted between the two file formats.
There are some very large NTv2 binary files that are larger than the 2.15 gigabytes addressable with the "long int" C variable type.
For example, the Bavarian NTv2 binary file BY_KanU_Bayern-gesamt.gsb has a size of about 3.5 gigabytes.
Unlike the Software GeoDLL and TRANSDATpro by KilletSoft, many geodetic programs and GIS can not handle such large NTv2 files.
With the function convntvbin2area() it is possible to copy an area defined by a coordinate section from an NTv2 binary file into a new binary file.
All grid data of grids of the binary file, which intersects the coordinate section, are taken into account.
The new binary file created in this way is smaller and can be used with any geodetic software and GIS.
An NTv2 file contains one or more quadrangular coordinate grids which are defined in the NTv2 headers.
Instead of a rectangular area only an embedded polygonal area should and must be covered, for example, a state territory within the country borders.
The function convntvbin2polyvalid() realizes the Polygonal Validity Scope in NTv2 files.
For that purpose the polygonal scope is realized with a shape file that contains the outlines of the scope as polygons.
Coordinates outside the scope then can be excluded from calculations or be acknowledged by a warning using the KilletSoft products TRANSDATpro and GeoDLL and a lot of GIS software developed by companies which supports Polygonal Validity Scopes.
With the export and import functions convntvbin2gridexport() and convntvbin2gridimport() NTv2 grids can be arranged arbitrarily in binary NTv2 files.
Further functions of this group determine the header data of the of NTv2 grid files or their grids, which can be used to analyze ord manipulate NTv2 files.
The NTv2 grid files supported by the program TRANSDATpro and the function librariy GeoDLL you can download here from the KilletSoft website!
Detailed descriptions of all geodetic functions of this function group you find here in the online manual!