mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 09:55:41 +02:00
Fix failure to close polygons.
This commit is contained in:
@@ -212,7 +212,7 @@ void parse_geometry(int t, json_object *j, unsigned *bbox, long long *fpos, FILE
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mb_geometry[t] == GEOM_POLYGON) {
|
if (mb_geometry[t] == VT_POLYGON) {
|
||||||
serialize_int(out, VT_CLOSEPATH, fpos, fname, source);
|
serialize_int(out, VT_CLOSEPATH, fpos, fname, source);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user