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
134 lines
13 KiB
JSON
134 lines
13 KiB
JSON
{ "type": "FeatureCollection", "properties": {
|
|
"antimeridian_adjusted_bounds": "90.000000,-82.000000,332.000000,83.000000",
|
|
"bounds": "-139.000000,-82.000000,170.000000,83.000000",
|
|
"center": "-135.000000,75.782195,2",
|
|
"description": "tests/curve/out/-z2.json.check.mbtiles",
|
|
"format": "pbf",
|
|
"generator_options": "./tippecanoe -q -a@ -f -o tests/curve/out/-z2.json.check.mbtiles -z2 tests/curve/in.json",
|
|
"json": "{\"vector_layers\":[{\"id\":\"in\",\"description\":\"\",\"minzoom\":0,\"maxzoom\":2,\"fields\":{}}],\"tilestats\":{\"layerCount\":1,\"layers\":[{\"layer\":\"in\",\"count\":2,\"geometry\":\"Polygon\",\"attributeCount\":0,\"attributes\":[]}]}}",
|
|
"maxzoom": "2",
|
|
"minzoom": "0",
|
|
"name": "tests/curve/out/-z2.json.check.mbtiles",
|
|
"strategies": "[{},{\"tiny_polygons\":1},{\"tiny_polygons\":4}]",
|
|
"type": "overlay",
|
|
"version": "2"
|
|
}, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 0, "x": 0, "y": 0 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -98.964844, 82.994132 ], [ -82.001953, 81.996942 ], [ -105.996094, 69.990535 ], [ -103.007812, 32.026706 ], [ -82.001953, -32.990236 ], [ -63.017578, -62.995158 ], [ -27.949219, -72.996909 ], [ 90.000000, -73.995328 ], [ 145.019531, -73.995328 ], [ 145.019531, -76.999935 ], [ 92.988281, -79.004962 ], [ -32.958984, -76.999935 ], [ -74.970703, -66.018018 ], [ -97.031250, -37.996163 ], [ -117.949219, 25.958045 ], [ -116.982422, 70.988349 ], [ -98.964844, 82.994132 ] ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 108.984375, 82.994132 ], [ 135.000000, 79.997168 ], [ -87.978516, 79.997168 ], [ -119.003906, 70.988349 ], [ -111.972656, -75.004940 ], [ -92.021484, -76.999935 ], [ 169.980469, -79.997168 ], [ 160.048828, -81.996942 ], [ -111.005859, -81.996942 ], [ -138.955078, -75.994839 ], [ -138.955078, 73.995328 ], [ -100.986328, 82.994132 ], [ 108.984375, 82.994132 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 1, "x": 0, "y": 1 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -93.779297, 3.513421 ], [ -92.680664, 0.000000 ], [ -82.001953, -33.027088 ], [ -62.973633, -62.995158 ], [ -27.993164, -72.996909 ], [ 0.000000, -73.239377 ], [ 3.515625, -73.264704 ], [ 3.515625, -77.617709 ], [ 0.000000, -77.551572 ], [ -33.002930, -76.999935 ], [ -74.970703, -66.000150 ], [ -96.987305, -37.996163 ], [ -109.687500, 0.000000 ], [ -110.786133, 3.513421 ], [ -93.779297, 3.513421 ] ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -115.839844, 3.513421 ], [ -115.708008, 0.000000 ], [ -111.972656, -75.004940 ], [ -91.977539, -76.999935 ], [ 0.000000, -78.143526 ], [ 3.515625, -78.188586 ], [ 3.515625, -82.003058 ], [ -111.005859, -82.003058 ], [ -138.999023, -76.005470 ], [ -138.999023, 3.513421 ], [ -115.839844, 3.513421 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 1, "x": 0, "y": 0 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -99.008789, 82.999490 ], [ -82.001953, 81.996942 ], [ -105.996094, 69.990535 ], [ -103.007812, 31.989442 ], [ -92.680664, 0.000000 ], [ -91.625977, -3.513421 ], [ -108.588867, -3.513421 ], [ -109.687500, 0.000000 ], [ -117.993164, 25.997550 ], [ -116.982422, 71.002660 ], [ -99.008789, 82.999490 ] ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 3.515625, 82.999490 ], [ 3.515625, 79.997168 ], [ -87.978516, 79.997168 ], [ -119.003906, 71.002660 ], [ -115.708008, 0.000000 ], [ -115.620117, -3.513421 ], [ -138.999023, -3.513421 ], [ -138.999023, 73.995328 ], [ -100.986328, 82.999490 ], [ 3.515625, 82.999490 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 1, "x": 1, "y": 1 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -3.515625, -73.214013 ], [ 0.000000, -73.239377 ], [ 90.000000, -74.007440 ], [ 145.019531, -74.007440 ], [ 145.019531, -76.999935 ], [ 93.032227, -79.004962 ], [ 0.000000, -77.551572 ], [ -3.515625, -77.494607 ], [ -3.515625, -73.214013 ] ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -3.515625, -78.098296 ], [ 0.000000, -78.143526 ], [ 170.024414, -80.004799 ], [ 160.004883, -82.003058 ], [ -3.515625, -82.003058 ], [ -3.515625, -78.098296 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 1, "x": 1, "y": 0 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 109.028320, 82.999490 ], [ 135.000000, 79.997168 ], [ -3.515625, 79.997168 ], [ -3.515625, 82.999490 ], [ 109.028320, 82.999490 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 0, "y": 3 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -112.895508, -65.802776 ], [ -112.829590, -66.513260 ], [ -111.994629, -74.999254 ], [ -91.999512, -76.999935 ], [ -90.000000, -77.024626 ], [ -88.242188, -77.049271 ], [ -88.242188, -82.000000 ], [ -111.005859, -82.000000 ], [ -138.999023, -76.000156 ], [ -138.999023, -65.802776 ], [ -112.895508, -65.802776 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 0, "y": 2 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -93.229980, 1.757537 ], [ -92.680664, 0.000000 ], [ -90.000000, -8.754795 ], [ -88.242188, -14.392118 ], [ -88.242188, -51.385495 ], [ -90.000000, -48.951366 ], [ -97.009277, -37.996163 ], [ -109.687500, 0.000000 ], [ -110.214844, 1.757537 ], [ -93.229980, 1.757537 ] ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -115.773926, 1.757537 ], [ -115.729980, 0.000000 ], [ -112.829590, -66.513260 ], [ -112.785645, -67.204032 ], [ -138.999023, -67.204032 ], [ -138.999023, 1.757537 ], [ -115.773926, 1.757537 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 0, "y": 1 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -105.644531, 67.204032 ], [ -105.556641, 66.513260 ], [ -103.007812, 32.008076 ], [ -92.680664, 0.000000 ], [ -92.131348, -1.757537 ], [ -109.160156, -1.757537 ], [ -109.687500, 0.000000 ], [ -117.993164, 25.997550 ], [ -117.158203, 66.513260 ], [ -117.136230, 67.204032 ], [ -105.644531, 67.204032 ] ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -118.652344, 67.204032 ], [ -118.608398, 66.513260 ], [ -115.708008, 0.000000 ], [ -115.664062, -1.757537 ], [ -138.999023, -1.757537 ], [ -138.999023, 67.204032 ], [ -118.652344, 67.204032 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 0, "y": 0 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -99.008789, 82.999490 ], [ -90.000000, 82.486209 ], [ -88.242188, 82.382061 ], [ -88.242188, 79.835594 ], [ -90.000000, 79.125832 ], [ -105.996094, 69.998052 ], [ -105.556641, 66.513260 ], [ -105.490723, 65.802776 ], [ -117.180176, 65.802776 ], [ -117.158203, 66.513260 ], [ -117.004395, 71.002660 ], [ -99.008789, 82.999490 ] ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -88.242188, 82.999490 ], [ -88.242188, 79.951265 ], [ -90.000000, 79.576460 ], [ -119.003906, 71.002660 ], [ -118.608398, 66.513260 ], [ -118.542480, 65.802776 ], [ -138.999023, 65.802776 ], [ -138.999023, 74.001385 ], [ -101.008301, 82.999490 ], [ -88.242188, 82.999490 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 1, "y": 3 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -54.624023, -65.802776 ], [ -52.338867, -66.513260 ], [ -27.993164, -72.996909 ], [ 0.000000, -73.239377 ], [ 1.757812, -73.258376 ], [ 1.757812, -77.584684 ], [ 0.000000, -77.556308 ], [ -33.002930, -76.999935 ], [ -73.498535, -66.513260 ], [ -74.992676, -66.000150 ], [ -75.212402, -65.802776 ], [ -54.624023, -65.802776 ] ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -91.757812, -77.004877 ], [ -90.000000, -77.024626 ], [ 0.000000, -78.143526 ], [ 1.757812, -78.161570 ], [ 1.757812, -82.000000 ], [ -91.757812, -82.000000 ], [ -91.757812, -77.004877 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 1, "y": 2 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -91.757812, -3.030812 ], [ -90.000000, -8.754795 ], [ -82.001953, -33.008663 ], [ -62.995605, -62.995158 ], [ -52.338867, -66.513260 ], [ -50.075684, -67.204032 ], [ -71.433105, -67.204032 ], [ -73.498535, -66.513260 ], [ -74.992676, -66.000150 ], [ -90.000000, -48.951366 ], [ -91.757812, -46.392411 ], [ -91.757812, -3.030812 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 1, "y": 0 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -91.757812, 82.588941 ], [ -90.000000, 82.486209 ], [ -82.001953, 82.000000 ], [ -90.000000, 79.125832 ], [ -91.757812, 78.367146 ], [ -91.757812, 82.588941 ] ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 1.757812, 82.999490 ], [ 1.757812, 80.000984 ], [ -88.000488, 80.000984 ], [ -90.000000, 79.576460 ], [ -91.757812, 79.187834 ], [ -91.757812, 82.999490 ], [ 1.757812, 82.999490 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 2, "y": 3 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -1.757812, -73.220358 ], [ 0.000000, -73.239377 ], [ 90.000000, -74.001385 ], [ 91.757812, -74.001385 ], [ 91.757812, -78.983989 ], [ 90.000000, -78.958769 ], [ 0.000000, -77.556308 ], [ -1.757812, -77.527868 ], [ -1.757812, -73.220358 ] ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -1.757812, -78.125454 ], [ 0.000000, -78.143526 ], [ 90.000000, -79.167206 ], [ 91.757812, -79.183712 ], [ 91.757812, -82.000000 ], [ -1.757812, -82.000000 ], [ -1.757812, -78.125454 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 2, "y": 0 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 91.757812, 82.999490 ], [ 91.757812, 80.000984 ], [ -1.757812, 80.000984 ], [ -1.757812, 82.999490 ], [ 91.757812, 82.999490 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 3, "y": 3 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 88.242188, -73.989269 ], [ 90.000000, -74.001385 ], [ 144.997559, -74.001385 ], [ 144.997559, -76.999935 ], [ 93.010254, -79.000771 ], [ 90.000000, -78.958769 ], [ 88.242188, -78.929273 ], [ 88.242188, -73.989269 ] ] ] } }
|
|
,
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 88.242188, -79.146538 ], [ 90.000000, -79.167206 ], [ 170.002441, -80.000984 ], [ 160.004883, -82.000000 ], [ 88.242188, -82.000000 ], [ 88.242188, -79.146538 ] ] ] } }
|
|
] }
|
|
] }
|
|
,
|
|
{ "type": "FeatureCollection", "properties": { "zoom": 2, "x": 3, "y": 0 }, "features": [
|
|
{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [
|
|
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 109.006348, 82.999490 ], [ 135.000000, 80.000984 ], [ 88.242188, 80.000984 ], [ 88.242188, 82.999490 ], [ 109.006348, 82.999490 ] ] ] } }
|
|
] }
|
|
] }
|
|
] }
|