Coordinate rounding that ripples everywhere

This commit is contained in:
Erica Fischer
2023-07-12 14:17:58 -07:00
parent 4b662171d0
commit a5441ac21b
72 changed files with 4544 additions and 4506 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ int integer_zoom(std::string where, std::string text) {
fprintf(stderr, "%s: Expected integer zoom level in \"tippecanoe\" GeoJSON extension, not %s\n", where.c_str(), text.c_str());
exit(EXIT_JSON);
}
return d;
return (int) std::round(d);
}
std::string format_commandline(int argc, char **argv) {