mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-06 02:15:41 +02:00
Fix bounding box calculation
This commit is contained in:
@@ -1250,7 +1250,7 @@ int read_json(int argc, char **argv, char *fname, const char *layername, int max
|
|||||||
if (file_bbox[1] < 0) {
|
if (file_bbox[1] < 0) {
|
||||||
file_bbox[1] = 0;
|
file_bbox[1] = 0;
|
||||||
}
|
}
|
||||||
if (file_bbox[3] < (1LL << 32) - 1) {
|
if (file_bbox[3] > (1LL << 32) - 1) {
|
||||||
file_bbox[3] = (1LL << 32) - 1;
|
file_bbox[3] = (1LL << 32) - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user