Skip to content

Conversation

weiji14
Copy link
Member

@weiji14 weiji14 commented Jul 27, 2020

Description of proposed changes

Determine how spherical distances are calculated. See https://docs.generic-mapping-tools.org/6.1/gmt.html#distcalc-full.

  • e - Ellipsoidal (or geodesic) mode
  • f - Flat Earth mode
  • g - Great circle distance [Default]

All spherical distance calculations depend on the current ellipsoid
(PROJ_ELLIPSOID), the definition of the mean radius
(PROJ_MEAN_RADIUS), and the specification of latitude type
(PROJ_AUX_LATITUDE). Geodesic distance calculations is also
controlled by method (PROJ_GEODESIC).

Cherry picked from #546.

Fixes #

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to docstrings or tutorials.

@weiji14 weiji14 added enhancement Improving an existing feature skip-changelog Skip adding Pull Request to changelog labels Jul 27, 2020
@weiji14 weiji14 mentioned this pull request Jul 27, 2020
30 tasks
@weiji14
Copy link
Member Author

weiji14 commented Jul 27, 2020

I'll temporarily disable the Vercel and Travis required checks since the GMT server is down.

@weiji14 weiji14 merged commit f1466e6 into master Jul 27, 2020
@weiji14 weiji14 deleted the alias/distcalc branch July 27, 2020 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving an existing feature skip-changelog Skip adding Pull Request to changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants