Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Return coordinate based on Source + Distance + Bearing #17

Closed
rurounijones opened this issue Apr 10, 2020 · 1 comment

Comments

@rurounijones
Copy link

rurounijones commented Apr 10, 2020

Looking for a nice small C# library for GIS stuff and this package looks very promising.

Would it be possible to add a method that returns a Coordinate based on a source + distance + bearing? e.g.

Coordinate origin = new Coordinate(34.0675918, -118.3977091);
double bearing = 124; // Degrees
double distance = 10000; // Meters
Coordinate destination = GeoCalculator.GetCoordinate(origin, bearing, distance);

I can probably implement this myself using https://adhamhurani.blogspot.com/2010/08/c-how-to-add-distance-and-calculate-new.html and submit a pull request if this is an acceptable feature (and could you let me know the method name you would prefer?)

@rurounijones
Copy link
Author

Have since discovered that I am forced to use a different library which would complicate things. Closing this issue, sorry for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant