forked from Esri/geometry-api-java
-
Notifications
You must be signed in to change notification settings - Fork 0
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
54 covering geohash #55
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WenJJ2000
approved these changes
Mar 4, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
commit 279212f Author: Linus Wallin <linuswallin@live.se> Date: Mon Mar 4 09:46:08 2024 +0100 fix: solves bug where precision is allowed to be too high Limits the precision in containingGeohash function to 6 from 24 since the toGeohash function has been updated to only work for highest precision 6. commit 2aa650f Merge: 263f8e2 dcdb58d Author: Linus Wallin <linuswallin@live.se> Date: Mon Mar 4 09:45:04 2024 +0100 Merge branch '213-geometry-to-geohash' of github.com:DD2480-Group-3/geometry-api-java into 54-coveringGeohash commit 263f8e2 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:47:34 2024 +0100 refactor: removed missed empty line commit 72b84f4 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:47:05 2024 +0100 refactor: removed empty line commit 6fef312 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:45:34 2024 +0100 refactor: removed empty lines commit 1287b2c Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:39:49 2024 +0100 test: changed envelope to encompass 4 different parts of the geo grid The envelope was previously assigned wrong max x and y values, which resulted in errors as the coveringGeohash function didn't return the expected amount of geo hashes. commit 69ca9c0 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:30:38 2024 +0100 fix: solves bug which resulted in wrong geohashes commit 2a8d131 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:24:32 2024 +0100 test: updated tests to match the changes of the function in last commit commit bb45871 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:24:02 2024 +0100 refactor: made the return string array dynamic commit 708542e Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 18:42:15 2024 +0100 refactor: removes indentation error caused by merge commit a216691 Merge: 4420765 62f7d5f Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 18:41:36 2024 +0100 Merge branch '213-geometry-to-geohash' of github.com:DD2480-Group-3/geometry-api-java into 54-coveringGeohash commit 4420765 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 18:37:30 2024 +0100 test: added test cases for coveringGeohash function commit 2c31979 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 18:15:40 2024 +0100 refactor: removes unnecessary if statement Removes if statement which didn't change the outcome of the program. commit e0b04d3 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 17:39:37 2024 +0100 feat: coveringGeohash funciton added Adds funtion which given an envelope returns up to four geohashes which cover the envelope.
WenJJ2000
force-pushed
the
54-coveringGeohash
branch
from
March 4, 2024 09:08
279212f
to
9aaaf4c
Compare
WenJJ2000
added a commit
that referenced
this pull request
Mar 4, 2024
commit b29091a Merge: 9b64610 9aaaf4c Author: Wen Jun Jie <132931864+WenJJ2000@users.noreply.github.com> Date: Mon Mar 4 10:09:16 2024 +0100 Merge pull request #55 from DD2480-Group-3/54-coveringGeohash 54 covering geohash commit 9aaaf4c Author: wenjj2000 <wenjj2000@gmail.com> Date: Mon Mar 4 10:00:46 2024 +0100 Squashed commit of the following: commit 279212f Author: Linus Wallin <linuswallin@live.se> Date: Mon Mar 4 09:46:08 2024 +0100 fix: solves bug where precision is allowed to be too high Limits the precision in containingGeohash function to 6 from 24 since the toGeohash function has been updated to only work for highest precision 6. commit 2aa650f Merge: 263f8e2 dcdb58d Author: Linus Wallin <linuswallin@live.se> Date: Mon Mar 4 09:45:04 2024 +0100 Merge branch '213-geometry-to-geohash' of github.com:DD2480-Group-3/geometry-api-java into 54-coveringGeohash commit 263f8e2 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:47:34 2024 +0100 refactor: removed missed empty line commit 72b84f4 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:47:05 2024 +0100 refactor: removed empty line commit 6fef312 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:45:34 2024 +0100 refactor: removed empty lines commit 1287b2c Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:39:49 2024 +0100 test: changed envelope to encompass 4 different parts of the geo grid The envelope was previously assigned wrong max x and y values, which resulted in errors as the coveringGeohash function didn't return the expected amount of geo hashes. commit 69ca9c0 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:30:38 2024 +0100 fix: solves bug which resulted in wrong geohashes commit 2a8d131 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:24:32 2024 +0100 test: updated tests to match the changes of the function in last commit commit bb45871 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 19:24:02 2024 +0100 refactor: made the return string array dynamic commit 708542e Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 18:42:15 2024 +0100 refactor: removes indentation error caused by merge commit a216691 Merge: 4420765 62f7d5f Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 18:41:36 2024 +0100 Merge branch '213-geometry-to-geohash' of github.com:DD2480-Group-3/geometry-api-java into 54-coveringGeohash commit 4420765 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 18:37:30 2024 +0100 test: added test cases for coveringGeohash function commit 2c31979 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 18:15:40 2024 +0100 refactor: removes unnecessary if statement Removes if statement which didn't change the outcome of the program. commit e0b04d3 Author: Linus Wallin <linuswallin@live.se> Date: Sun Mar 3 17:39:37 2024 +0100 feat: coveringGeohash funciton added Adds funtion which given an envelope returns up to four geohashes which cover the envelope. commit 9b64610 Author: wenjj2000 <wenjj2000@gmail.com> Date: Mon Mar 4 09:24:34 2024 +0100 docs : update doucmentation for helper function and removed commented code commit dcdb58d Author: wenjj2000 <wenjj2000@gmail.com> Date: Mon Mar 4 07:52:31 2024 +0100 refactor : Changed toGeoHash function to use bitwise operations instead of strings to improve time complexity commit 80aa932 Author: wenjj2000 <wenjj2000@gmail.com> Date: Mon Mar 4 00:33:36 2024 +0100 refactor : changing helper functions to private instead of public and removing their tests commit 62f7d5f Author: --replace-all <muchembled.martin@gmail.com> Date: Sun Mar 3 16:48:48 2024 +0100 Test: added some tests for containingGeohash commit 7191907 Author: --replace-all <muchembled.martin@gmail.com> Date: Sun Mar 3 16:47:58 2024 +0100 Fix: lat and lon were inverted in test for toGeohash commit b21e5b9 Author: --replace-all <muchembled.martin@gmail.com> Date: Sun Mar 3 16:45:28 2024 +0100 Feat: Implemented containingGeohash commit c30e1e5 Merge: 84ef58e dbe750f Author: --replace-all <muchembled.martin@gmail.com> Date: Sun Mar 3 16:44:34 2024 +0100 Fix: lat and lon were inverted in tooGeoHash commit 84ef58e Author: --replace-all <muchembled.martin@gmail.com> Date: Sun Mar 3 11:02:32 2024 +0100 test: Added some tests for toGeohash Esri#213 commit dbe750f Author: wenjj2000 <wenjj2000@gmail.com> Date: Sun Mar 3 00:21:25 2024 +0100 tests : added test for TestToGeoHash commit e4adae4 Author: wenjj2000 <wenjj2000@gmail.com> Date: Sat Mar 2 23:32:43 2024 +0100 tests : added test for binaryToBase32 and TestCovertToBinary commit 42b5287 Author: wenjj2000 <wenjj2000@gmail.com> Date: Sat Mar 2 23:14:06 2024 +0100 feat : Added toGeoHash function with 2 helper function BinaryToBase32 and converyTobinary commit 5fd7cb0 Author: --replace-all <muchembled.martin@gmail.com> Date: Sat Mar 2 17:33:31 2024 +0100 Feat: Implemented geohashToEnvelope Esri#213 commit cac7dfd Author: --replace-all <muchembled.martin@gmail.com> Date: Sat Mar 2 17:30:08 2024 +0100 test: added some tests for geohashToEnvelope Esri#213 commit 8461a3c Author: --replace-all <muchembled.martin@gmail.com> Date: Sat Mar 2 16:15:02 2024 +0100 Test: Created a test file for geohash Esri#213 commit af667b6 Author: --replace-all <muchembled.martin@gmail.com> Date: Sat Mar 2 14:45:05 2024 +0100 Feat: Created Geohash class and its skeletton Esri#213
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: adds covering geohash function to the Geohash class
Solves issue #54