Binary search to find gap that leaves the desired fraction of features

This commit is contained in:
Eric Fischer
2016-11-02 14:25:04 -07:00
parent faa5720e3b
commit d0db3323fb
3 changed files with 532 additions and 259 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ int serialize_geometry(json_object *geometry, json_object *properties, json_obje
sf.tippecanoe_maxzoom = tippecanoe_maxzoom;
sf.geometry = dv;
sf.m = m;
sf.feature_minzoom = 0; // Will be filled in during index merging
sf.feature_minzoom = 0; // Will be filled in during index merging
if (inline_meta) {
sf.metapos = -1;