pe_geogtran_load_constants

Loads any available constants for a geographic transformation.

Usage syntax

int pe_geogtran_load_constants (PE_GEOGTRAN geogtran);

Parameters
geogtran Geographic transformation object
Description

Loads into memory any available constants for the geographic coordinate system. You may want to load constants for the grid-based geographic transformation methods, such as NADCON and NTv2. While the memory footprint can be large, the performance is usually improved.

Returns

On success, the number of constants. Otherwise, 0.

Examples

PE_GEOGTRAN agd2wgs = pe_factory (8139);
if (0 == pe_geogtran_load_constants(agd2wgs))
{
   /* Quit. */
}
else
{
   /* Run the transformation. */
}