Skip to content

Add integration test for geohex_grid#176

Merged
VijayanB merged 1 commit intoopensearch-project:feature/h3-gridfrom
VijayanB:add-integ-test
Oct 21, 2022
Merged

Add integration test for geohex_grid#176
VijayanB merged 1 commit intoopensearch-project:feature/h3-gridfrom
VijayanB:add-integ-test

Conversation

@VijayanB
Copy link
Copy Markdown
Member

Description

Included integration test for geohex_grid.

Signed-off-by: Vijayan Balasubramanian balasvij@amazon.com

Issues Resolved

#98

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Included integration test for geohex_grid.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
@VijayanB VijayanB requested a review from a team October 20, 2022 05:09
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #176 (9be675c) into feature/h3-grid (22285e3) will increase coverage by 0.25%.
The diff coverage is n/a.

@@                  Coverage Diff                  @@
##             feature/h3-grid     #176      +/-   ##
=====================================================
+ Coverage              85.10%   85.36%   +0.25%     
- Complexity               363      364       +1     
=====================================================
  Files                     52       52              
  Lines                   1155     1155              
  Branches                  87       87              
=====================================================
+ Hits                     983      986       +3     
+ Misses                   135      133       -2     
+ Partials                  37       36       -1     
Impacted Files Coverage Δ
...earch/geospatial/index/mapper/xypoint/XYPoint.java 74.13% <0.00%> (+5.17%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@VijayanB VijayanB merged commit 60f0f6b into opensearch-project:feature/h3-grid Oct 21, 2022
VijayanB added a commit that referenced this pull request Oct 24, 2022
* Import h3 library (#154)

Made following changes to make it compatible:
1. Rename package from elasticsearch to opensearch.geospatial
2. Update License headers
3. Update build file
4. Update settings to include sub projects

* Use Transport Request (#164)

Remove usage of deprecated BaseNodeRequest

* Update http client package to resolve build failure (#168) (#171)

* Introduce H3 min resolution constant (#165)

H3 version 1 has 16 resolutions, numbered 0 through 15.
Introduced a constant to represent min value, similar
to max value.

* Add geohex aggregation (#160)

This aggregation will use uber's h3 to group coordinates into H3 cell.
Created new aggregation type geohex_grid. The precision will be between
0 and 15. This aggreation has default precision as 5,
similar to geohash and geotile.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>

* Add integration test (#176)

Included integration test for geohex_grid.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
VijayanB added a commit to VijayanB/geospatial that referenced this pull request Oct 26, 2022
…ch-project#179)

* Import h3 library (opensearch-project#154)

Made following changes to make it compatible:
1. Rename package from elasticsearch to opensearch.geospatial
2. Update License headers
3. Update build file
4. Update settings to include sub projects

* Use Transport Request (opensearch-project#164)

Remove usage of deprecated BaseNodeRequest

* Update http client package to resolve build failure (opensearch-project#168) (opensearch-project#171)

* Introduce H3 min resolution constant (opensearch-project#165)

H3 version 1 has 16 resolutions, numbered 0 through 15.
Introduced a constant to represent min value, similar
to max value.

* Add geohex aggregation (opensearch-project#160)

This aggregation will use uber's h3 to group coordinates into H3 cell.
Created new aggregation type geohex_grid. The precision will be between
0 and 15. This aggreation has default precision as 5,
similar to geohash and geotile.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>

* Add integration test (opensearch-project#176)

Included integration test for geohex_grid.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
VijayanB added a commit that referenced this pull request Oct 26, 2022
)

* Import h3 library (#154)

Made following changes to make it compatible:
1. Rename package from elasticsearch to opensearch.geospatial
2. Update License headers
3. Update build file
4. Update settings to include sub projects

* Use Transport Request (#164)

Remove usage of deprecated BaseNodeRequest

* Update http client package to resolve build failure (#168) (#171)

* Introduce H3 min resolution constant (#165)

H3 version 1 has 16 resolutions, numbered 0 through 15.
Introduced a constant to represent min value, similar
to max value.

* Add geohex aggregation (#160)

This aggregation will use uber's h3 to group coordinates into H3 cell.
Created new aggregation type geohex_grid. The precision will be between
0 and 15. This aggreation has default precision as 5,
similar to geohash and geotile.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>

* Add integration test (#176)

Included integration test for geohex_grid.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
@VijayanB VijayanB added the v2.4.0 'Issues and PRs related to version v2.4.0' label Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2.4.0 'Issues and PRs related to version v2.4.0'

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants