mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-01 16:58:05 +00:00
Merge pull request #566 from mapbox/extend-zooms-with-feature-limit
Also take note of --force-feature-limit if extending zooms
This commit is contained in:
commit
2cf0524037
@ -1,3 +1,8 @@
|
|||||||
|
## 1.27.15
|
||||||
|
|
||||||
|
* --extend-zooms-if-still-dropping now also extends zooms if features
|
||||||
|
are dropped by --force-feature-limit
|
||||||
|
|
||||||
## 1.27.14
|
## 1.27.14
|
||||||
|
|
||||||
* Use an exit status of 100 if some zoom levels were successfully
|
* Use an exit status of 100 if some zoom levels were successfully
|
||||||
|
File diff suppressed because one or more lines are too long
4
tile.cpp
4
tile.cpp
@ -2314,6 +2314,8 @@ long long write_tile(FILE *geoms, long long *geompos_in, char *metabase, char *s
|
|||||||
if ((additional[A_DROP_FRACTION_AS_NEEDED] || additional[A_COALESCE_FRACTION_AS_NEEDED]) && fraction < arg->fraction_out) {
|
if ((additional[A_DROP_FRACTION_AS_NEEDED] || additional[A_COALESCE_FRACTION_AS_NEEDED]) && fraction < arg->fraction_out) {
|
||||||
arg->fraction_out = fraction;
|
arg->fraction_out = fraction;
|
||||||
arg->still_dropping = true;
|
arg->still_dropping = true;
|
||||||
|
} else if (prevent[P_DYNAMIC_DROP]) {
|
||||||
|
arg->still_dropping = true;
|
||||||
}
|
}
|
||||||
line_detail++; // to keep it the same when the loop decrements it
|
line_detail++; // to keep it the same when the loop decrements it
|
||||||
continue;
|
continue;
|
||||||
@ -2404,6 +2406,8 @@ long long write_tile(FILE *geoms, long long *geompos_in, char *metabase, char *s
|
|||||||
if ((additional[A_DROP_FRACTION_AS_NEEDED] || additional[A_COALESCE_FRACTION_AS_NEEDED]) && fraction < arg->fraction_out) {
|
if ((additional[A_DROP_FRACTION_AS_NEEDED] || additional[A_COALESCE_FRACTION_AS_NEEDED]) && fraction < arg->fraction_out) {
|
||||||
arg->fraction_out = fraction;
|
arg->fraction_out = fraction;
|
||||||
arg->still_dropping = true;
|
arg->still_dropping = true;
|
||||||
|
} else if (prevent[P_DYNAMIC_DROP]) {
|
||||||
|
arg->still_dropping = true;
|
||||||
}
|
}
|
||||||
line_detail++; // to keep it the same when the loop decrements it
|
line_detail++; // to keep it the same when the loop decrements it
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#ifndef VERSION_HPP
|
#ifndef VERSION_HPP
|
||||||
#define VERSION_HPP
|
#define VERSION_HPP
|
||||||
|
|
||||||
#define VERSION "tippecanoe v1.27.14\n"
|
#define VERSION "tippecanoe v1.27.15\n"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user