diff options
| author | Thomas Knudsen <busstoptaktik@users.noreply.github.com> | 2017-10-07 11:24:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-07 11:24:25 +0200 |
| commit | faca621657c5c325c54e6f4f7ea2bc6df386b328 (patch) | |
| tree | a97d316b266e4e5624bde7088c54965bd3d3fc75 /src/projects.h | |
| parent | be3fc4c5d92dc4f42b42792d569289bf6912c0df (diff) | |
| parent | efa741bafb0f40d4d7b7f9138292f15965ed5d75 (diff) | |
| download | PROJ-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/projects.h')
| -rw-r--r-- | src/projects.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/projects.h b/src/projects.h index 8b20edd5..9391835d 100644 --- a/src/projects.h +++ b/src/projects.h @@ -589,6 +589,8 @@ C_NAMESPACE PJ *pj_##name (PJ *P) { \ return 0; \ P->destructor = pj_default_destructor; \ P->descr = des_##name; \ + P->left = PJ_IO_UNITS_RADIANS; \ + P->right = PJ_IO_UNITS_CLASSIC; \ return P; \ } \ PJ *pj_projection_specific_setup_##name (PJ *P) |
