mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
* Calculate a new antimeridian-adjusted bounding box * Add antimeridian bounding box to pmtiles, dirtiles, and tile-join * Don't take out-of-bounds latitudes into account in the adjusted bbox * Update changelog * Forgot to adjust tests after the last change
245 lines
17 KiB
JSON
245 lines
17 KiB
JSON
{ "type": "FeatureCollection", "properties": {
|
|
"antimeridian_adjusted_bounds": "-122.000000,-23.563987,102.000000,59.900000",
|
|
"bounds": "-122.000000,-23.563987,102.000000,59.900000",
|
|
"center": "22.500000,20.489949,3",
|
|
"description": "tests/geometry/out/-z3.json.check.mbtiles",
|
|
"format": "pbf",
|
|
"generator_options": "./tippecanoe -q -a@ -f -o tests/geometry/out/-z3.json.check.mbtiles -z3 tests/geometry/bare.json tests/geometry/geometrycollection.json tests/geometry/multipoint.json tests/geometry/onebare.json",
|
|
"json": "{\"vector_layers\":[{\"id\":\"bare\",\"description\":\"\",\"minzoom\":0,\"maxzoom\":3,\"fields\":{}},{\"id\":\"geometrycollection\",\"description\":\"\",\"minzoom\":0,\"maxzoom\":3,\"fields\":{\"collection\":\"Boolean\"}},{\"id\":\"multipoint\",\"description\":\"\",\"minzoom\":0,\"maxzoom\":3,\"fields\":{\"point\":\"String\"}},{\"id\":\"onebare\",\"description\":\"\",\"minzoom\":0,\"maxzoom\":3,\"fields\":{}}],\"tilestats\":{\"layerCount\":4,\"layers\":[{\"layer\":\"bare\",\"count\":4,\"geometry\":\"LineString\",\"attributeCount\":0,\"attributes\":[]},{\"layer\":\"geometrycollection\",\"count\":2,\"geometry\":\"Point\",\"attributeCount\":1,\"attributes\":[{\"attribute\":\"collection\",\"count\":1,\"type\":\"boolean\",\"values\":[true]}]},{\"layer\":\"multipoint\",\"count\":1,\"geometry\":\"Point\",\"attributeCount\":1,\"attributes\":[{\"attribute\":\"point\",\"count\":1,\"type\":\"string\",\"values\":[\"multi\"]}]},{\"layer\":\"onebare\",\"count\":1,\"geometry\":\"LineString\",\"attributeCount\":0,\"attributes\":[]}]}}",
|
|
"maxzoom": "3",
|
|
"minzoom": "0",
|
|
"name": "tests/geometry/out/-z3.json.check.mbtiles",
|
|
"type": "overlay",
|
|
"version": "2"
|
|
}, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 0, "x": 0, "y": 0 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "bare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -1.406250, 28.921631 ], [ 26.718750, 17.978733 ], [ 22.148438, -23.563987 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.460938, 46.073231 ], [ 43.242188, 59.888937 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 5.009766, 5.965754 ], [ 7.031250, 7.972198 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 0.966797, 2.021065 ], [ 2.988281, 3.951941 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "geometrycollection", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "Point", "coordinates": [ 100.019531, 0.000000 ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "LineString", "coordinates": [ [ 100.986328, 0.000000 ], [ 102.041016, 0.966751 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "multipoint", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "point": "multi" }, "geometry": { "type": "MultiPoint", "coordinates": [ [ -79.453125, 49.382373 ], [ 11.601562, 52.052490 ], [ -60.468750, -7.013668 ], [ 23.906250, -12.554564 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "onebare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -121.992188, 37.020098 ], [ -118.037109, 34.016242 ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 1, "x": 0, "y": 1 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "bare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 1.010742, 2.021065 ], [ 2.504883, 3.513421 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "multipoint", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "point": "multi" }, "geometry": { "type": "Point", "coordinates": [ -60.468750, -7.013668 ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 1, "x": 0, "y": 0 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "bare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -1.406250, 28.921631 ], [ 0.000000, 28.381735 ], [ 3.515625, 27.059126 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.460938, 46.073231 ], [ 3.515625, 46.498392 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 1.010742, 1.977147 ], [ 2.988281, 3.995781 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "multipoint", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "point": "multi" }, "geometry": { "type": "Point", "coordinates": [ -79.453125, 49.382373 ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "onebare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -121.992188, 36.985003 ], [ -117.993164, 33.979809 ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 1, "x": 1, "y": 1 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "bare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 25.136719, 3.513421 ], [ 24.741211, 0.000000 ], [ 22.148438, -23.563987 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 1.010742, 2.021065 ], [ 2.504883, 3.513421 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "geometrycollection", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "Point", "coordinates": [ 100.019531, 0.000000 ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "LineString", "coordinates": [ [ 100.986328, 0.000000 ], [ 101.997070, 1.010690 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "multipoint", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "point": "multi" }, "geometry": { "type": "Point", "coordinates": [ 23.906250, -12.554564 ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 1, "x": 1, "y": 0 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "bare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -1.406250, 28.921631 ], [ 0.000000, 28.381735 ], [ 26.718750, 17.978733 ], [ 24.741211, 0.000000 ], [ 24.389648, -3.513421 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.460938, 46.073231 ], [ 43.242188, 59.888937 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 5.009766, 6.009459 ], [ 6.987305, 8.015716 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 1.010742, 1.977147 ], [ 2.988281, 3.995781 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "geometrycollection", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "Point", "coordinates": [ 100.019531, 0.000000 ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "LineString", "coordinates": [ [ 100.986328, 0.000000 ], [ 101.997070, 1.010690 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "multipoint", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "point": "multi" }, "geometry": { "type": "Point", "coordinates": [ 11.601562, 52.052490 ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 0, "y": 1 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "onebare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -121.992188, 37.002553 ], [ -117.993164, 33.998027 ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 1, "y": 2 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "multipoint", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "point": "multi" }, "geometry": { "type": "Point", "coordinates": [ -60.468750, -7.013668 ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 1, "y": 1 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "bare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -1.406250, 28.921631 ], [ 0.000000, 28.401065 ], [ 1.757812, 27.741885 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 1.010742, 1.999106 ], [ 1.757812, 2.745531 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "multipoint", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "point": "multi" }, "geometry": { "type": "Point", "coordinates": [ -79.453125, 49.382373 ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 2, "y": 2 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "bare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 24.938965, 1.757537 ], [ 24.763184, 0.000000 ], [ 22.148438, -23.563987 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "multipoint", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "point": "multi" }, "geometry": { "type": "Point", "coordinates": [ 23.906250, -12.554564 ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 2, "y": 1 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "bare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -1.406250, 28.921631 ], [ 0.000000, 28.401065 ], [ 26.718750, 17.978733 ], [ 24.763184, 0.000000 ], [ 24.565430, -1.757537 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.460938, 46.073231 ], [ 43.242188, 59.899958 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 5.009766, 5.987607 ], [ 7.009277, 7.993957 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 1.010742, 1.999106 ], [ 3.010254, 3.995781 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "multipoint", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "point": "multi" }, "geometry": { "type": "Point", "coordinates": [ 11.601562, 52.052490 ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 3, "y": 2 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "geometrycollection", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "Point", "coordinates": [ 99.997559, 0.000000 ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "LineString", "coordinates": [ [ 101.008301, 0.000000 ], [ 101.997070, 1.010690 ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 3, "y": 1 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "geometrycollection", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "Point", "coordinates": [ 99.997559, 0.000000 ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "LineString", "coordinates": [ [ 101.008301, 0.000000 ], [ 101.997070, 0.988720 ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 3, "x": 1, "y": 3 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "onebare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -122.003174, 37.002553 ], [ -118.004150, 33.998027 ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 3, "x": 2, "y": 4 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "multipoint", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "point": "multi" }, "geometry": { "type": "Point", "coordinates": [ -60.468750, -7.013668 ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 3, "x": 2, "y": 2 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "multipoint", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "point": "multi" }, "geometry": { "type": "Point", "coordinates": [ -79.453125, 49.382373 ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 3, "x": 3, "y": 3 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "bare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -1.406250, 28.921631 ], [ 0.000000, 28.401065 ], [ 0.878906, 28.071980 ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 3, "x": 4, "y": 4 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "bare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 24.851074, 0.878872 ], [ 24.763184, 0.000000 ], [ 22.148438, -23.563987 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "multipoint", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "point": "multi" }, "geometry": { "type": "Point", "coordinates": [ 23.906250, -12.554564 ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 3, "x": 4, "y": 3 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "bare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ -0.878906, 28.729130 ], [ 0.000000, 28.401065 ], [ 26.718750, 17.978733 ], [ 24.752197, 0.000000 ], [ 24.664307, -0.878872 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 4.998779, 5.998533 ], [ 6.998291, 8.004837 ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 0.999756, 1.999106 ], [ 2.999268, 3.995781 ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 3, "x": 4, "y": 2 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "bare", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 2.460938, 46.073231 ], [ 43.242188, 59.899958 ] ] } }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "layer": "multipoint", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "point": "multi" }, "geometry": { "type": "Point", "coordinates": [ 11.601562, 52.052490 ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 3, "x": 6, "y": 4 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "geometrycollection", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "Point", "coordinates": [ 99.997559, 0.000000 ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "LineString", "coordinates": [ [ 100.997314, 0.000000 ], [ 101.876221, 0.878872 ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 3, "x": 6, "y": 3 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "geometrycollection", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "Point", "coordinates": [ 99.997559, 0.000000 ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { "collection": true }, "geometry": { "type": "LineString", "coordinates": [ [ 100.997314, 0.000000 ], [ 101.997070, 0.999705 ] ] } }
|
|
] }
|
|
] }
|
|
] }
|