Doing the scan line through the segments

This commit is contained in:
Erica Fischer
2023-11-08 15:44:01 -08:00
parent 966b911e1f
commit 6bebc1b427
3 changed files with 60 additions and 6 deletions
+6
View File
@@ -43,6 +43,7 @@
#include "errors.hpp"
#include "compression.hpp"
#include "protozero/varint.hpp"
#include "polygon.hpp"
extern "C" {
#include "jsonpull/jsonpull.h"
@@ -612,6 +613,11 @@ void *partial_feature_worker(void *v) {
int out_detail = (*partials)[i].extra_detail;
drawvec geom = (*partials)[i].geoms[0];
if (t == VT_POLYGON) {
clean_polygon(geom, z, out_detail);
}
to_tile_scale(geom, z, out_detail);
if (t == VT_POLYGON) {