diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bca512d..9cb0601c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## 1.15.0 + +* New strategies for making tiles smaller, with uniform behavior across + the whole zoom level: --increase-gamma-as-needed, + --drop-densest-as-needed, --drop-fraction-as-needed, + --drop-smallest-as-needed. +* Option to specify the maximum tile size in bytes +* Option to turn off tiny polygon reduction +* Better error checking in JSON parsing + ## 1.14.4 * Make -B/-r feature-dropping consistent between tiles and zoom levels diff --git a/README.md b/README.md index 59db40db..1d23682f 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,6 @@ resolution is obtained than by using a smaller _maxzoom_ or _detail_. * -ag or --calculate-feature-density: Add a new attribute, `tippecanoe_feature_density`, to each feature, to record how densely features are spaced in that area of the tile. You can use this attribute in the style to produce a glowing effect where points are densely packed. It can range from 0 in the sparsest areas to 255 in the densest. * -ab or --detect-shared-borders: In the manner of [TopoJSON](https://github.com/mbostock/topojson/wiki/Introduction), detect borders that are shared between multiple polygons and simplify them identically in each polygon. This takes more time and memory than considering each polygon individually. * -aG or --increase-gamma-as-needed: If a tile is too large, try to reduce it to under 500K by increasing the `-g` gamma. The discovered gamma applies to the entire zoom level. - * -am or --merge-polygons-as-needed: If a tile is too large, try to reduce it to under 500K by merging adjacent polygons together * -as or --drop-densest-as-needed: If a tile is too large, try to reduce it to under 500K by increasing the minimum spacing between features. The discovered spacing applies to the entire zoom level. * -ad or --drop-fraction-as-needed: Dynamically drop some fraction of features from each zoom level to keep large tiles under the 500K size limit. (This is like `-pd` but applies to the entire zoom level, not to each tile.) * -an or --drop-smallest-as-needed: Dynamically drop the smallest features (physically smallest: the shortest lines or the smallest polygons) from each zoom level to keep large tiles under the 500K size limit. This option will not work for point features. diff --git a/main.cpp b/main.cpp index 3a017f64..7e38bd64 100644 --- a/main.cpp +++ b/main.cpp @@ -1917,7 +1917,6 @@ int main(int argc, char **argv) { {"calculate-feature-density", no_argument, &additional[A_CALCULATE_FEATURE_DENSITY], 1}, {"detect-shared-borders", no_argument, &additional[A_DETECT_SHARED_BORDERS], 1}, {"increase-gamma-as-needed", no_argument, &additional[A_INCREASE_GAMMA_AS_NEEDED], 1}, - {"merge-polygons-as-needed", no_argument, &additional[A_MERGE_POLYGONS_AS_NEEDED], 1}, {"drop-densest-as-needed", no_argument, &additional[A_DROP_DENSEST_AS_NEEDED], 1}, {"drop-fraction-as-needed", no_argument, &additional[A_DROP_FRACTION_AS_NEEDED], 1}, {"drop-smallest-as-needed", no_argument, &additional[A_DROP_SMALLEST_AS_NEEDED], 1}, diff --git a/man/tippecanoe.1 b/man/tippecanoe.1 index 0482a1cf..14f73ce1 100644 --- a/man/tippecanoe.1 +++ b/man/tippecanoe.1 @@ -155,8 +155,6 @@ which may not be what you want. .IP \(bu 2 \-aG or \-\-increase\-gamma\-as\-needed: If a tile is too large, try to reduce it to under 500K by increasing the \fB\fC\-g\fR gamma. The discovered gamma applies to the entire zoom level. .IP \(bu 2 -\-am or \-\-merge\-polygons\-as\-needed: If a tile is too large, try to reduce it to under 500K by merging adjacent polygons together -.IP \(bu 2 \-as or \-\-drop\-densest\-as\-needed: If a tile is too large, try to reduce it to under 500K by increasing the minimum spacing between features. The discovered spacing applies to the entire zoom level. .IP \(bu 2 \-ad or \-\-drop\-fraction\-as\-needed: Dynamically drop some fraction of features from each zoom level to keep large tiles under the 500K size limit. (This is like \fB\fC\-pd\fR but applies to the entire zoom level, not to each tile.) diff --git a/version.hpp b/version.hpp index b8dde61c..fa1ef6fd 100644 --- a/version.hpp +++ b/version.hpp @@ -1 +1 @@ -#define VERSION "tippecanoe v1.14.4\n" +#define VERSION "tippecanoe v1.15.0\n"