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

Snap to closest edge #29

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Snap to closest edge #29

wants to merge 3 commits into from

Conversation

SaTae66
Copy link

@SaTae66 SaTae66 commented Feb 27, 2024

This is a new attempt on 25!. Sorry for me taking so long this time. In this PR, I added the original commits, fixed the redundant code in SetSnappingDistanceEarth(), removed the redundant example and added a table test.

Copy link

codecov bot commented Feb 27, 2024

Codecov Report

Attention: Patch coverage is 81.81818% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 96.27%. Comparing base (9db03ae) to head (0258005).

❗ Current head 0258005 differs from pull request most recent head 53bc738. Consider uploading reports for the commit 53bc738 to get more accurate results

Files Patch % Lines
rgeo.go 81.81% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
- Coverage   98.58%   96.27%   -2.31%     
==========================================
  Files           2        2              
  Lines         141      161      +20     
==========================================
+ Hits          139      155      +16     
- Misses          1        3       +2     
- Partials        1        3       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

SaTae66 and others added 3 commits February 29, 2024 17:23
Closest edge (if any) is within the set distance and the lookup only happens if no location was found for the coords
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.

None yet

1 participant