mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Used the tilestats sample values limit instead of the attributes limit
This commit is contained in:
+2
-2
@@ -156,8 +156,8 @@ void tilestats(std::map<std::string, layermap_entry> const &layermap1, size_t el
|
|||||||
state.json_write_string(geomtype);
|
state.json_write_string(geomtype);
|
||||||
|
|
||||||
size_t attrib_count = layer.second.file_keys.size();
|
size_t attrib_count = layer.second.file_keys.size();
|
||||||
if (attrib_count > max_tilestats_sample_values) {
|
if (attrib_count > max_tilestats_attributes) {
|
||||||
attrib_count = max_tilestats_sample_values;
|
attrib_count = max_tilestats_attributes;
|
||||||
}
|
}
|
||||||
|
|
||||||
state.nospace = true;
|
state.nospace = true;
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user