Skip to content

towsg84 and tomercator unit [Improve helpers.dart with better documentation and code style] #219

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

Newmanjack
Copy link

Added toWGS84 and toMercator as member functions of the coordinate types in the helper file

  • Update documentation to use proper Dart doc syntax with types in []
  • Convert var to final where appropriate
  • Maintain consistent documentation style across the codebase
  • Improve readability of function parameter documentation

- Update documentation to use proper Dart doc syntax with types in []
- Convert var to final where appropriate
- Maintain consistent documentation style across the codebase
- Improve readability of function parameter documentation
- Removed lib/src/point_on_feature.dart
- Removed lib/point_on_feature.dart
- Removed benchmark/point_on_feature_benchmark.dart
- Removed test/components/point_on_feature_test.dart

These files are now part of the point_on_feature_final branch and pull request
- Updated convertCoordinates, toMercator, and toWGS84 functions to use Position type instead of List
- Added proper altitude preservation during coordinate conversions
- Improved error handling with ArgumentError and descriptive messages
- Added tests to verify conversions and altitude preservation
- Updated Progress.md to mark functions as implemented
@Newmanjack
Copy link
Author

Just want to confirm -

Did you want me to merge the testing file "helpers.test" into meta.test as that would be best practice?

and therefore add it onto the next branch that requires it and continue adding it on?

As @aardrop mentioned in the discord?

@Newmanjack Newmanjack requested a review from lukas-h April 29, 2025 06:45
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

Successfully merging this pull request may close these issues.

2 participants