DataONEorg / d1_cn_index_processor

The CN index processor component
0 stars 1 forks source link

bbox intersecting IDL geohash fix #18

Closed gothub closed 3 years ago

gothub commented 3 years ago

Hey @taojing2002 - this fixes the bug where the geohash was calculated incorrectly if the east / west coords were on either side of -180.

I also added a unit test for the GeohashConverter that tests a few different bounding boxes and the calculated geohashes. These geohash values have been verified with an independent (online) geohash calculator.