• Yang Bodong's avatar
    GEOSEARCH bybox bug fixes and new fuzzy tester (#8445) · ded1655d
    Yang Bodong authored
    
    
    Fix errors of GEOSEARCH bybox search due to:
    1. projection of the box to a trapezoid (when the meter box is converted to long / lat it's no longer a box).
    2. width and height mismatch
    
    Changes:
    - New GEOSEARCH point in rectangle algorithm
    - Fix GEOSEARCH bybox width and height mismatch bug
    - Add GEOSEARCH bybox testing to the existing "GEOADD + GEORANGE randomized test"
    - Add new fuzzy test to stress test the bybox corners and edges
    - Add some tests for edge cases of the bybox algorithm
    Co-authored-by: default avatarOran Agra <oran@redislabs.com>
    ded1655d
geohash_helper.c 10.9 KB