mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-03-25 05:15:16 +00:00
Simplify coordinates to avoid cross-platform rounding errors
This commit is contained in:
parent
86b8567201
commit
45cddc57bb
@ -1 +1 @@
|
||||
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-81.5625,63.39152174400882],[-113.90625,53.12040528310657],[-135.703125,29.22889003019423],[-118.125,-9.79567758282973],[-75.9375,-31.353636941500987],[-17.578125,-22.593726063929296],[-5.625,8.407168163601076],[-10.1953125,50.51342652633956],[-28.125,59.712097173322924],[-81.5625,63.39152174400882]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-93.515625,75.32002523220804],[-113.90625,69.41124235697256],[-117.0703125,60.06484046010452],[-103.35937499999999,39.36827914916011],[-71.3671875,29.84064389983444],[-37.265625,34.88593094075317],[-3.515625,61.270232790000634],[-33.3984375,79.03843742487174],[-74.8828125,79.17133464081945],[-93.515625,75.32002523220804]]]}}]}
|
||||
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-81,63],[-113,53],[-135,29],[-118,-9],[-75,-31],[-17,-22],[-5,8],[-10,50],[-28,59],[-81,63]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-93,75],[-113,69],[-117,60],[-103,39],[-71,29],[-37,34],[-3,61],[-33,79],[-74,79],[-93,75]]]}}]}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ "type": "FeatureCollection", "properties": {
|
||||
"bounds": "-135.703125,-31.353637,-3.515625,79.171335",
|
||||
"center": "-3.515625,0.000000,0",
|
||||
"bounds": "-135.000000,-31.000000,-3.000000,79.000000",
|
||||
"center": "-3.000000,0.000000,0",
|
||||
"description": "tests/overlap/out/-z0.json.check.mbtiles",
|
||||
"format": "pbf",
|
||||
"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {} } ] }",
|
||||
@ -12,9 +12,9 @@
|
||||
}, "features": [
|
||||
{ "type": "FeatureCollection", "properties": { "zoom": 0, "x": 0, "y": 0 }, "features": [
|
||||
{ "type": "FeatureCollection", "properties": { "layer": "in" }, "features": [
|
||||
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -33.398438, 79.038437 ], [ -3.515625, 61.312452 ], [ -37.265625, 34.957995 ], [ -71.367188, 29.916852 ], [ -103.359375, 39.368279 ], [ -117.070312, 60.108670 ], [ -113.906250, 69.442128 ], [ -93.515625, 75.342282 ], [ -74.882812, 79.171335 ], [ -33.398438, 79.038437 ] ] ] } }
|
||||
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -3.076172, 61.015725 ], [ -37.001953, 34.016242 ], [ -71.015625, 29.075375 ], [ -103.007812, 39.027719 ], [ -117.070312, 60.020952 ], [ -113.027344, 69.005675 ], [ -93.076172, 75.004940 ], [ -74.003906, 79.004962 ], [ -33.046875, 79.004962 ], [ -3.076172, 61.015725 ] ] ] } }
|
||||
,
|
||||
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -28.125000, 59.756395 ], [ -10.195312, 50.513427 ], [ -5.625000, 8.407168 ], [ -17.578125, -22.593726 ], [ -75.937500, -31.353637 ], [ -118.125000, -9.795678 ], [ -135.703125, 29.228890 ], [ -113.906250, 53.173119 ], [ -81.562500, 63.391522 ], [ -28.125000, 59.756395 ] ] ] } }
|
||||
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -28.037109, 59.040555 ], [ -10.019531, 50.007739 ], [ -5.009766, 8.059230 ], [ -17.050781, -21.943046 ], [ -75.058594, -30.977609 ], [ -118.037109, -8.928487 ], [ -135.000000, 29.075375 ], [ -113.027344, 53.014783 ], [ -81.035156, 63.035039 ], [ -28.037109, 59.040555 ] ] ] } }
|
||||
] }
|
||||
] }
|
||||
] }
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ "type": "FeatureCollection", "properties": {
|
||||
"bounds": "-135.703125,-31.353637,-3.515625,79.171335",
|
||||
"center": "-3.515625,0.000000,0",
|
||||
"bounds": "-135.000000,-31.000000,-3.000000,79.000000",
|
||||
"center": "-3.000000,0.000000,0",
|
||||
"description": "tests/overlap/out/-z0_--coalesce.json.check.mbtiles",
|
||||
"format": "pbf",
|
||||
"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {} } ] }",
|
||||
@ -12,7 +12,7 @@
|
||||
}, "features": [
|
||||
{ "type": "FeatureCollection", "properties": { "zoom": 0, "x": 0, "y": 0 }, "features": [
|
||||
{ "type": "FeatureCollection", "properties": { "layer": "in" }, "features": [
|
||||
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -33.398438, 79.038437 ], [ -3.515625, 61.312452 ], [ -15.556641, 53.488046 ], [ -10.195312, 50.513427 ], [ -5.625000, 8.407168 ], [ -17.578125, -22.593726 ], [ -75.937500, -31.353637 ], [ -118.125000, -9.795678 ], [ -135.703125, 29.228890 ], [ -113.906250, 53.173119 ], [ -112.236328, 53.800651 ], [ -117.070312, 60.108670 ], [ -113.906250, 69.442128 ], [ -93.515625, 75.342282 ], [ -74.882812, 79.171335 ], [ -33.398438, 79.038437 ] ], [ [ -112.236328, 53.800651 ], [ -103.359375, 39.368279 ], [ -71.367188, 29.916852 ], [ -37.265625, 34.957995 ], [ -15.556641, 53.488046 ], [ -28.125000, 59.756395 ], [ -81.562500, 63.391522 ], [ -112.236328, 53.800651 ] ] ] } }
|
||||
{ "type": "Feature", "properties": { }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -3.076172, 61.015725 ], [ -15.380859, 52.908902 ], [ -10.019531, 50.007739 ], [ -5.009766, 8.059230 ], [ -17.050781, -21.943046 ], [ -75.058594, -30.977609 ], [ -118.037109, -8.928487 ], [ -135.000000, 29.075375 ], [ -113.027344, 53.014783 ], [ -111.884766, 53.383328 ], [ -117.070312, 60.020952 ], [ -113.027344, 69.005675 ], [ -93.076172, 75.004940 ], [ -74.003906, 79.004962 ], [ -33.046875, 79.004962 ], [ -3.076172, 61.015725 ] ], [ [ -111.884766, 53.383328 ], [ -103.007812, 39.027719 ], [ -71.015625, 29.075375 ], [ -37.001953, 34.016242 ], [ -15.380859, 52.908902 ], [ -28.037109, 59.040555 ], [ -81.035156, 63.035039 ], [ -111.884766, 53.383328 ] ] ] } }
|
||||
] }
|
||||
] }
|
||||
] }
|
||||
|
Loading…
x
Reference in New Issue
Block a user