The Geoindex introduced in this PR supports only the upper bound of the distance range. It would be nice to add the lower bound support for queries like this
select count(*) from starbucksStores where 2000 < ST_DISTANCE(location_st_point , ST_POINT(-122, 37)) < 10000
The Geoindex introduced in this PR supports only the upper bound of the distance range. It would be nice to add the lower bound support for queries like this