The input and output spheroids, is and os, are the spheroids for two different datums. The input spheroid is the one on which the original coordinates are based. The output spheroid is that on which the resultant coordinates will be based. The "shifting" occurs between the two datums. The shift values, dx, dy, and dz, are constants. They indicate the mean differences between points in the second datum versus the first as measured in meters.
If both input and output datum id and od are listed in the system datum table, it is sufficient to provide input and output datum for the datum shift. The shift values, dx, dy and dz are read from the datum table.
The list of datums and spheroids available is somewhat dynamic. It may not contain exactly the ones listed below. To determine the current list of possible spheroids, type in the command:
The height above the ellipsoid is usually not known in GRASS. You should approximate this by zero (default for h). Obviously the resulting height is not a reasonable value.
lat=0.00.05.72999N
lon=174.59.55.004133W
(h = 107 [m])
The Molodensky method uses a one-step calculation without converting to and from geocentric coordinates. The Molodensky formula may be inaccurate for latitudes near the poles. The coordinate conversion library will take this into account and use the block shift formula for those latitudes.
Some hints on accuracy:
Generally the accuracy depends on the transformation method
used and the accuracy and spatially applicability of the parameters
supplied to the transformation function.
You always must check if the formula is applicable to
your problem and supplies the needed accuracy!
block shift with cartesian coordinates ~ 10 m molodensky transformation ~ 5 m bursa-wolf transformation ~ 1 m 3d similarity transformation ~ 1 m (needs national similarity parameters) multiple regression equation (MRE) transformation, other methods up to 10 cm (generally not needed for GRASS)The transformation parameters in datum.table are meant to transform from local datum to wgs84 with the Block shift method or Molodensky function. (reverse the sign for the reverse transformation from wgs84 to the local datum). All transformations need input and output ellipsoid for the calculation of Rm and Rn.
For a brief discussion of spheroids and datums see m.ll2u. For a brief discussion of geocentric coordinates see m.ll2gc.
This remains under testing and is still an experimental program.