aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_vgridshift.c
diff options
context:
space:
mode:
authorThomas Knudsen <busstoptaktik@users.noreply.github.com>2017-10-07 11:24:25 +0200
committerGitHub <noreply@github.com>2017-10-07 11:24:25 +0200
commitfaca621657c5c325c54e6f4f7ea2bc6df386b328 (patch)
treea97d316b266e4e5624bde7088c54965bd3d3fc75 /src/PJ_vgridshift.c
parentbe3fc4c5d92dc4f42b42792d569289bf6912c0df (diff)
parentefa741bafb0f40d4d7b7f9138292f15965ed5d75 (diff)
downloadPROJ-faca621657c5c325c54e6f4f7ea2bc6df386b328.tar.gz
PROJ-faca621657c5c325c54e6f4f7ea2bc6df386b328.zip
Merge pull request #592 from busstoptaktik/obs_api-improvements
Cleaned up the use of PJ_IO_UNITS_CLASSIC, so it means only one thing: That output is linear and measured in units of the semimajor axis. This made it possible to remove a number of checks that had now become superfluous Corrected pj_roundtrip, so it takes PJ_COORD args, rather than PJ_OBS, and made it measure geodesic distances, rather than cartesian, where it makes sense
Diffstat (limited to 'src/PJ_vgridshift.c')
-rw-r--r--src/PJ_vgridshift.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PJ_vgridshift.c b/src/PJ_vgridshift.c
index d58972f4..ededd544 100644
--- a/src/PJ_vgridshift.c
+++ b/src/PJ_vgridshift.c
@@ -118,7 +118,7 @@ int pj_vgridshift_selftest (void) {
a.coo.lpz.lam = PJ_TORAD(12.5);
a.coo.lpz.phi = PJ_TORAD(55.5);
- dist = proj_roundtrip (P, PJ_FWD, 1, a);
+ dist = proj_roundtrip (P, PJ_FWD, 1, a.coo);
if (dist > 0.00000001)
return 1;