Remove buggy optimization to avoid reclipping in overzoom (#275)

* Remove buggy optimization to avoid reclipping in overzoom

* Add clarifying comment
This commit is contained in:
Erica Fischer
2024-10-01 10:22:41 -07:00
committed by GitHub
parent 66e5d66300
commit 23c6559b03
4 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -1725,7 +1725,7 @@ std::string overzoom(std::vector<source_tile> const &tiles, int nz, int nx, int
}
// Don't clip here if we are binning, because we need to bin points in the buffer
if (!sametile && bins.size() == 0) {
if (bins.size() == 0) {
// Clip to output tile
long long xmin = LLONG_MAX;