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
Adds a groupby to the get bounds db call.
Adds cargo build --release to the release step, to ensure the lockfile gets updated for every release.
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
cargo build --release
to the release step, to ensure the lockfile gets updated for every release.cc @ingalls @lizziegooding @samely @miccolis