Be even more careful not to produce features with empty geometry

This commit is contained in:
Eric Fischer 2016-07-11 17:45:12 -07:00
parent 85b27d3a49
commit d127c43566
3 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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();

View File

@ -1 +1 @@
#define VERSION "tippecanoe v1.12.3\n"
#define VERSION "tippecanoe v1.12.4\n"