mapbox / Hecate

Fast Geospatial Feature Storage API
MIT License
252 stars 36 forks source link

Filter out duplicates from get bounds call #199

Closed mattciferri closed 4 years ago

mattciferri commented 4 years ago

Context

Currently, when performing a get bounds call on large area, it's possible to receive duplicated results, despite there being no duplicates in the source data. This is due to the possibility that a point can fall exactly on a subdivision line. This PR modifies the db call to filter out these duplicates.

Summary of changes

cc @ingalls @lizziegooding @samely @miccolis