Clarifying cases where output detail can be unspecified

This commit is contained in:
Erica Fischer
2024-11-07 10:47:28 -08:00
parent 6b90284081
commit a3c8ed17b3
3 changed files with 31 additions and 17 deletions
+4
View File
@@ -201,6 +201,10 @@ struct mvt_layer {
// For tracking the key-value constants already used in this layer
std::vector<ssize_t> key_dedup = std::vector<ssize_t>(65536, -1);
std::vector<ssize_t> value_dedup = std::vector<ssize_t>(65536, -1);
int detail() const {
return std::round(std::log(extent) / std::log(2));
}
};
struct mvt_tile {