mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-02 01:08:14 +00:00
Be even more careful not to produce features with empty geometry
This commit is contained in:
parent
85b27d3a49
commit
d127c43566
@ -1,3 +1,7 @@
|
||||
## 1.12.4
|
||||
|
||||
* Be even more careful not to produce features with empty geometry
|
||||
|
||||
## 1.12.3
|
||||
|
||||
* Fix double-counted progress in the progress indicator
|
||||
|
4
tile.cpp
4
tile.cpp
@ -1010,6 +1010,10 @@ long long write_tile(FILE *geoms, long long *geompos_in, char *metabase, char *s
|
||||
features[k][x].geom = remove_noop(features[k][x].geom, features[k][x].type, 0);
|
||||
}
|
||||
|
||||
if (features[k][x].geom.size() == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
feature.type = features[k][x].type;
|
||||
feature.geometry = to_feature(features[k][x].geom);
|
||||
count += features[k][x].geom.size();
|
||||
|
@ -1 +1 @@
|
||||
#define VERSION "tippecanoe v1.12.3\n"
|
||||
#define VERSION "tippecanoe v1.12.4\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user