mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Issue an error message in tile-join if minzoom is greater than maxzoom
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
## 1.31.6
|
||||||
|
|
||||||
|
* Issue an error message in tile-join if minzoom is greater than maxzoom
|
||||||
|
|
||||||
## 1.31.5
|
## 1.31.5
|
||||||
|
|
||||||
* Add options to change the tilestats limits
|
* Add options to change the tilestats limits
|
||||||
|
|||||||
@@ -3046,7 +3046,7 @@ int main(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (minzoom > maxzoom) {
|
if (minzoom > maxzoom) {
|
||||||
fprintf(stderr, "minimum zoom -Z cannot be greater than maxzoom -z\n");
|
fprintf(stderr, "%s: Minimum zoom -Z%d cannot be greater than maxzoom -z%d\n", argv[0], minzoom, maxzoom);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1030,6 +1030,11 @@ int main(int argc, char **argv) {
|
|||||||
usage(argv);
|
usage(argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (minzoom > maxzoom) {
|
||||||
|
fprintf(stderr, "%s: Minimum zoom -Z%d cannot be greater than maxzoom -z%d\n", argv[0], minzoom, maxzoom);
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
|
}
|
||||||
|
|
||||||
if (out_mbtiles != NULL) {
|
if (out_mbtiles != NULL) {
|
||||||
if (force) {
|
if (force) {
|
||||||
unlink(out_mbtiles);
|
unlink(out_mbtiles);
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
#ifndef VERSION_HPP
|
#ifndef VERSION_HPP
|
||||||
#define VERSION_HPP
|
#define VERSION_HPP
|
||||||
|
|
||||||
#define VERSION "v1.31.5"
|
#define VERSION "v1.31.6"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user