Clean up polygon generation and clipping. Make sure winding order is correct.

This commit is contained in:
Eric Fischer
2015-10-07 16:52:52 -07:00
parent 7154c29459
commit 5dc9f50345
4 changed files with 109 additions and 14 deletions
+4
View File
@@ -566,6 +566,10 @@ long long write_tile(char **geoms, char *metabase, char *stringpool, unsigned *f
original_features++;
if (z == 0 && t == VT_POLYGON) {
geom = fix_polygon(geom);
}
int quick = quick_check(bbox, z, line_detail, buffer);
if (quick == 0) {
continue;