diff --git a/serial.cpp b/serial.cpp index 405d5508..b043c102 100644 --- a/serial.cpp +++ b/serial.cpp @@ -423,12 +423,15 @@ int serialize_feature(struct serialization_state *sst, serial_feature &sf, std:: for (size_t i = 0; i < sf.geometry.size(); i++) { if (sf.geometry[i].op == VT_MOVETO || sf.geometry[i].op == VT_LINETO) { - if (sf.geometry[i].y > 0 && sf.geometry[i].y < 0xFFFFFFFF) { - // standard -180 to 180 world plane + // standard -180 to 180 world plane + // + // mask X, since it wraps around + // pin Y, since it doesn't - long long x = sf.geometry[i].x & 0xFFFFFFFF; - long long y = sf.geometry[i].y & 0xFFFFFFFF; + long long x = sf.geometry[i].x & 0xFFFFFFFF; + long long y = std::max(std::min(sf.geometry[i].y, 0xFFFFFFFFLL), 0LL); + { r->file_bbox1[0] = std::min(r->file_bbox1[0], x); r->file_bbox1[1] = std::min(r->file_bbox1[1], y); r->file_bbox1[2] = std::max(r->file_bbox1[2], x); diff --git a/tests/accumulate/out/--set-attribute_thecomma%3aNEWVALUE_--accumulate-attribute_thecomma%3acomma.json b/tests/accumulate/out/--set-attribute_thecomma%3aNEWVALUE_--accumulate-attribute_thecomma%3acomma.json index 805bbba5..c70e5ff1 100644 --- a/tests/accumulate/out/--set-attribute_thecomma%3aNEWVALUE_--accumulate-attribute_thecomma%3acomma.json +++ b/tests/accumulate/out/--set-attribute_thecomma%3aNEWVALUE_--accumulate-attribute_thecomma%3acomma.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "3.757458,-84.969764,359.744029,85.007238", +"antimeridian_adjusted_bounds": "3.757458,-85.051129,359.744029,85.051129", "bounds": "-179.320808,-85.051129,177.449262,85.051129", "center": "-179.320808,-69.033211,14", "description": "tests/accumulate/out/--set-attribute_thecomma%3aNEWVALUE_--accumulate-attribute_thecomma%3acomma.json.check.mbtiles", diff --git a/tests/accumulate/out/-z0_--set-attribute_%7b%22num%22%3a5,%22str%22%3a%22abc%22}.json b/tests/accumulate/out/-z0_--set-attribute_%7b%22num%22%3a5,%22str%22%3a%22abc%22}.json index 83fe333e..33a20eb5 100644 --- a/tests/accumulate/out/-z0_--set-attribute_%7b%22num%22%3a5,%22str%22%3a%22abc%22}.json +++ b/tests/accumulate/out/-z0_--set-attribute_%7b%22num%22%3a5,%22str%22%3a%22abc%22}.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "3.757458,-84.969764,359.744029,85.007238", +"antimeridian_adjusted_bounds": "3.757458,-85.051129,359.744029,85.051129", "bounds": "-179.320808,-85.051129,177.449262,85.051129", "center": "0.000000,0.000000,0", "description": "tests/accumulate/out/-z0_--set-attribute_%7b%22num%22%3a5,%22str%22%3a%22abc%22}.json.check.mbtiles", diff --git a/tests/accumulate/out/-z0_--set-attribute_num%3a5_--set-attribute_str%3aabc.json b/tests/accumulate/out/-z0_--set-attribute_num%3a5_--set-attribute_str%3aabc.json index 788f7487..1fd06a02 100644 --- a/tests/accumulate/out/-z0_--set-attribute_num%3a5_--set-attribute_str%3aabc.json +++ b/tests/accumulate/out/-z0_--set-attribute_num%3a5_--set-attribute_str%3aabc.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "3.757458,-84.969764,359.744029,85.007238", +"antimeridian_adjusted_bounds": "3.757458,-85.051129,359.744029,85.051129", "bounds": "-179.320808,-85.051129,177.449262,85.051129", "center": "0.000000,0.000000,0", "description": "tests/accumulate/out/-z0_--set-attribute_num%3a5_--set-attribute_str%3aabc.json.check.mbtiles", diff --git a/tests/accumulate/out/-z3_--accumulate-attribute_%7b%22thesum%22%3a%22sum%22,%22theproduct%22%3a%22product%22}.json b/tests/accumulate/out/-z3_--accumulate-attribute_%7b%22thesum%22%3a%22sum%22,%22theproduct%22%3a%22product%22}.json index 8f01a353..a545f3a3 100644 --- a/tests/accumulate/out/-z3_--accumulate-attribute_%7b%22thesum%22%3a%22sum%22,%22theproduct%22%3a%22product%22}.json +++ b/tests/accumulate/out/-z3_--accumulate-attribute_%7b%22thesum%22%3a%22sum%22,%22theproduct%22%3a%22product%22}.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "3.757458,-84.969764,359.744029,85.007238", +"antimeridian_adjusted_bounds": "3.757458,-85.051129,359.744029,85.051129", "bounds": "-179.320808,-85.051129,177.449262,85.051129", "center": "-157.500000,20.489949,3", "description": "tests/accumulate/out/-z3_--accumulate-attribute_%7b%22thesum%22%3a%22sum%22,%22theproduct%22%3a%22product%22}.json.check.mbtiles", diff --git a/tests/accumulate/out/-z3_-Ethesum%3asum_-Etheproduct%3aproduct_-Ethemax%3amax_-Ethemin%3amin_-Ethemean%3amean_-Etheconcat%3aconcat_-Ethecomma%3acomma_-r1_-K100.json b/tests/accumulate/out/-z3_-Ethesum%3asum_-Etheproduct%3aproduct_-Ethemax%3amax_-Ethemin%3amin_-Ethemean%3amean_-Etheconcat%3aconcat_-Ethecomma%3acomma_-r1_-K100.json index 07d81c3a..f3587cd2 100644 --- a/tests/accumulate/out/-z3_-Ethesum%3asum_-Etheproduct%3aproduct_-Ethemax%3amax_-Ethemin%3amin_-Ethemean%3amean_-Etheconcat%3aconcat_-Ethecomma%3acomma_-r1_-K100.json +++ b/tests/accumulate/out/-z3_-Ethesum%3asum_-Etheproduct%3aproduct_-Ethemax%3amax_-Ethemin%3amin_-Ethemean%3amean_-Etheconcat%3aconcat_-Ethecomma%3acomma_-r1_-K100.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "3.757458,-84.969764,359.744029,85.007238", +"antimeridian_adjusted_bounds": "3.757458,-85.051129,359.744029,85.051129", "bounds": "-179.320808,-85.051129,177.449262,85.051129", "center": "112.500000,20.489949,3", "description": "tests/accumulate/out/-z3_-Ethesum%3asum_-Etheproduct%3aproduct_-Ethemax%3amax_-Ethemin%3amin_-Ethemean%3amean_-Etheconcat%3aconcat_-Ethecomma%3acomma_-r1_-K100.json.check.mbtiles", diff --git a/tests/accumulate/out/-z5_-Ethesum%3asum_-Etheproduct%3aproduct_-Ethemax%3amax_-Ethemin%3amin_-Ethemean%3amean_-Etheconcat%3aconcat_-Ethecomma%3acomma.json b/tests/accumulate/out/-z5_-Ethesum%3asum_-Etheproduct%3aproduct_-Ethemax%3amax_-Ethemin%3amin_-Ethemean%3amean_-Etheconcat%3aconcat_-Ethecomma%3acomma.json index 2913544d..9328c90c 100644 --- a/tests/accumulate/out/-z5_-Ethesum%3asum_-Etheproduct%3aproduct_-Ethemax%3amax_-Ethemin%3amin_-Ethemean%3amean_-Etheconcat%3aconcat_-Ethecomma%3acomma.json +++ b/tests/accumulate/out/-z5_-Ethesum%3asum_-Etheproduct%3aproduct_-Ethemax%3amax_-Ethemin%3amin_-Ethemean%3amean_-Etheconcat%3aconcat_-Ethecomma%3acomma.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "3.757458,-84.969764,359.744029,85.007238", +"antimeridian_adjusted_bounds": "3.757458,-85.051129,359.744029,85.051129", "bounds": "-179.320808,-85.051129,177.449262,85.051129", "center": "-174.375000,-52.349536,5", "description": "tests/accumulate/out/-z5_-Ethesum%3asum_-Etheproduct%3aproduct_-Ethemax%3amax_-Ethemin%3amin_-Ethemean%3amean_-Etheconcat%3aconcat_-Ethecomma%3acomma.json.check.mbtiles", diff --git a/tests/coalesce-id/out/-z1_--coalesce_--reorder.json b/tests/coalesce-id/out/-z1_--coalesce_--reorder.json index d5c7b239..7035e12f 100644 --- a/tests/coalesce-id/out/-z1_--coalesce_--reorder.json +++ b/tests/coalesce-id/out/-z1_--coalesce_--reorder.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023803,-85.040752,359.950215,83.645130", +"antimeridian_adjusted_bounds": "0.023803,-85.051129,359.950215,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "90.000000,42.525564,1", "description": "tests/coalesce-id/out/-z1_--coalesce_--reorder.json.check.mbtiles", diff --git a/tests/invalid-polygon/out/-z0.json b/tests/invalid-polygon/out/-z0.json index 263eb1d3..57445218 100644 --- a/tests/invalid-polygon/out/-z0.json +++ b/tests/invalid-polygon/out/-z0.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "180.000000,85.051129,-180.000000,-85.051129", +"antimeridian_adjusted_bounds": "-135.232962,-85.051129,-135.232962,-85.051129", "bounds": "-135.232962,-85.051129,-135.232962,-85.051129", "center": "-135.232962,-85.051129,0", "description": "tests/invalid-polygon/out/-z0.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/--coalesce_-z2_-Ccat.json b/tests/ne_110m_admin_0_countries/out/--coalesce_-z2_-Ccat.json index 4657b473..149ecabb 100644 --- a/tests/ne_110m_admin_0_countries/out/--coalesce_-z2_-Ccat.json +++ b/tests/ne_110m_admin_0_countries/out/--coalesce_-z2_-Ccat.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "45.000000,33.256630,2", "description": "tests/ne_110m_admin_0_countries/out/--coalesce_-z2_-Ccat.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-B10_-z0_--retain-points-multiplier_10_-d8_-yNAME.json b/tests/ne_110m_admin_0_countries/out/-B10_-z0_--retain-points-multiplier_10_-d8_-yNAME.json index 0bfda68a..833c9885 100644 --- a/tests/ne_110m_admin_0_countries/out/-B10_-z0_--retain-points-multiplier_10_-d8_-yNAME.json +++ b/tests/ne_110m_admin_0_countries/out/-B10_-z0_--retain-points-multiplier_10_-d8_-yNAME.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "0.000000,0.000000,0", "description": "tests/ne_110m_admin_0_countries/out/-B10_-z0_--retain-points-multiplier_10_-d8_-yNAME.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-R5%2f17%2f11.json b/tests/ne_110m_admin_0_countries/out/-R5%2f17%2f11.json index 574c9f5c..976be07c 100644 --- a/tests/ne_110m_admin_0_countries/out/-R5%2f17%2f11.json +++ b/tests/ne_110m_admin_0_countries/out/-R5%2f17%2f11.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "16.875000,44.951199,5", "description": "tests/ne_110m_admin_0_countries/out/-R5%2f17%2f11.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-densest-as-needed.json b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-densest-as-needed.json index efcd25f5..b2d1c4c8 100644 --- a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-densest-as-needed.json +++ b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-densest-as-needed.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "16.875000,44.951199,5", "description": "tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-densest-as-needed.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-fraction-as-needed.json b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-fraction-as-needed.json index a5079ed0..11d73e75 100644 --- a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-fraction-as-needed.json +++ b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-fraction-as-needed.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "16.875000,44.951199,5", "description": "tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-fraction-as-needed.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-smallest-as-needed.json b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-smallest-as-needed.json index 32d0578e..cc37a5c8 100644 --- a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-smallest-as-needed.json +++ b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-smallest-as-needed.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "16.875000,44.951199,5", "description": "tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-smallest-as-needed.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--force-feature-limit.json b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--force-feature-limit.json index 0aa9f622..cef24632 100644 --- a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--force-feature-limit.json +++ b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--force-feature-limit.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "16.875000,44.951199,5", "description": "tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--force-feature-limit.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z0_--clip-bounding-box_-110,27,-92,52.json b/tests/ne_110m_admin_0_countries/out/-z0_--clip-bounding-box_-110,27,-92,52.json index a17b02f4..66bcfcfd 100644 --- a/tests/ne_110m_admin_0_countries/out/-z0_--clip-bounding-box_-110,27,-92,52.json +++ b/tests/ne_110m_admin_0_countries/out/-z0_--clip-bounding-box_-110,27,-92,52.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-110.039063,26.980829,-92.021484,51.998410", "center": "-92.021484,26.980829,0", "description": "tests/ne_110m_admin_0_countries/out/-z0_--clip-bounding-box_-110,27,-92,52.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z0_--order-largest-first.json b/tests/ne_110m_admin_0_countries/out/-z0_--order-largest-first.json index cfe11827..2850e547 100644 --- a/tests/ne_110m_admin_0_countries/out/-z0_--order-largest-first.json +++ b/tests/ne_110m_admin_0_countries/out/-z0_--order-largest-first.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "0.000000,0.000000,0", "description": "tests/ne_110m_admin_0_countries/out/-z0_--order-largest-first.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z0_--order-smallest-first.json b/tests/ne_110m_admin_0_countries/out/-z0_--order-smallest-first.json index 21be1d4a..4df61fea 100644 --- a/tests/ne_110m_admin_0_countries/out/-z0_--order-smallest-first.json +++ b/tests/ne_110m_admin_0_countries/out/-z0_--order-smallest-first.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "0.000000,0.000000,0", "description": "tests/ne_110m_admin_0_countries/out/-z0_--order-smallest-first.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_100.json b/tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_100.json index 6bbeb7de..5a5f36ed 100644 --- a/tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_100.json +++ b/tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_100.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "0.000000,0.000000,0", "description": "tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_100.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_50_--order-largest-first.json b/tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_50_--order-largest-first.json index 266e6cac..5770fbf4 100644 --- a/tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_50_--order-largest-first.json +++ b/tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_50_--order-largest-first.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "0.000000,0.000000,0", "description": "tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_50_--order-largest-first.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_50_--simplification_50.json b/tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_50_--simplification_50.json index 353d71e7..03c5b3ce 100644 --- a/tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_50_--simplification_50.json +++ b/tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_50_--simplification_50.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "0.000000,0.000000,0", "description": "tests/ne_110m_admin_0_countries/out/-z0_--tiny-polygon-size_50_--simplification_50.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z1_-yname_--no-simplification-of-shared-nodes.json b/tests/ne_110m_admin_0_countries/out/-z1_-yname_--no-simplification-of-shared-nodes.json index dc941b53..dce95bbd 100644 --- a/tests/ne_110m_admin_0_countries/out/-z1_-yname_--no-simplification-of-shared-nodes.json +++ b/tests/ne_110m_admin_0_countries/out/-z1_-yname_--no-simplification-of-shared-nodes.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "90.000000,42.525564,1", "description": "tests/ne_110m_admin_0_countries/out/-z1_-yname_--no-simplification-of-shared-nodes.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z2_--convert-polygons-to-label-points.json b/tests/ne_110m_admin_0_countries/out/-z2_--convert-polygons-to-label-points.json index 98e9e881..01201ee7 100644 --- a/tests/ne_110m_admin_0_countries/out/-z2_--convert-polygons-to-label-points.json +++ b/tests/ne_110m_admin_0_countries/out/-z2_--convert-polygons-to-label-points.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "45.000000,33.256630,2", "description": "tests/ne_110m_admin_0_countries/out/-z2_--convert-polygons-to-label-points.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z3_-ai.json b/tests/ne_110m_admin_0_countries/out/-z3_-ai.json index d230af20..dd3ae359 100644 --- a/tests/ne_110m_admin_0_countries/out/-z3_-ai.json +++ b/tests/ne_110m_admin_0_countries/out/-z3_-ai.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "22.500000,20.489949,3", "description": "tests/ne_110m_admin_0_countries/out/-z3_-ai.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname.json index 193085b3..e29cb53d 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_--drop-polygons.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_--drop-polygons.json index 607e9531..377adab4 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_--drop-polygons.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_--drop-polygons.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_--drop-polygons.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_--grid-low-zooms_-D8.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_--grid-low-zooms_-D8.json index c30f24ed..9b9a455d 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_--grid-low-zooms_-D8.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_--grid-low-zooms_-D8.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_--grid-low-zooms_-D8.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_--no-tiny-polygon-reduction.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_--no-tiny-polygon-reduction.json index 590fe9af..01579d6f 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_--no-tiny-polygon-reduction.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_--no-tiny-polygon-reduction.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_--no-tiny-polygon-reduction.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4.json index cd9ea272..597cd5b0 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4_--simplification-at-maximum-zoom_2.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4_--simplification-at-maximum-zoom_2.json index 7a805a8d..478c48ba 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4_--simplification-at-maximum-zoom_2.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4_--simplification-at-maximum-zoom_2.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4_--simplification-at-maximum-zoom_2.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4_--visvalingam.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4_--visvalingam.json index fb327e27..6a38abab 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4_--visvalingam.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4_--visvalingam.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4_--visvalingam.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pD.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pD.json index 8d626e29..6674f466 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pD.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pD.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "-101.250000,70.266402,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_-pD.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pc.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pc.json index 84f4452c..c400ea6e 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pc.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pc.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_-pc.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-densest-as-needed.json b/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-densest-as-needed.json index 888af27f..f5ad33f5 100644 --- a/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-densest-as-needed.json +++ b/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-densest-as-needed.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "16.875000,44.951199,5", "description": "tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-densest-as-needed.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-fraction-as-needed.json b/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-fraction-as-needed.json index 92d1641d..400a054f 100644 --- a/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-fraction-as-needed.json +++ b/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-fraction-as-needed.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "16.875000,44.951199,5", "description": "tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-fraction-as-needed.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-smallest-as-needed.json b/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-smallest-as-needed.json index 573722b7..891429dc 100644 --- a/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-smallest-as-needed.json +++ b/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-smallest-as-needed.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "16.875000,44.951199,5", "description": "tests/ne_110m_admin_0_countries/out/-z5_-M5000_--coalesce-smallest-as-needed.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--drop-smallest-as-needed.json b/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--drop-smallest-as-needed.json index 7a3d6731..dd16efbc 100644 --- a/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--drop-smallest-as-needed.json +++ b/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--drop-smallest-as-needed.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "16.875000,44.951199,5", "description": "tests/ne_110m_admin_0_countries/out/-z5_-M5000_--drop-smallest-as-needed.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-zg_-yname.json b/tests/ne_110m_admin_0_countries/out/-zg_-yname.json index 2c3243f8..207d5864 100644 --- a/tests/ne_110m_admin_0_countries/out/-zg_-yname.json +++ b/tests/ne_110m_admin_0_countries/out/-zg_-yname.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "0.023802,-85.040752,359.950216,83.645130", +"antimeridian_adjusted_bounds": "0.023802,-85.051129,359.950216,83.645130", "bounds": "-180.000000,-85.051129,180.000000,83.645130", "center": "0.000000,0.000000,0", "description": "tests/ne_110m_admin_0_countries/out/-zg_-yname.json.check.mbtiles", diff --git a/tests/wraparound2/out/-z0_--detect-longitude-wraparound.json b/tests/wraparound2/out/-z0_--detect-longitude-wraparound.json index 23954df2..b444133b 100644 --- a/tests/wraparound2/out/-z0_--detect-longitude-wraparound.json +++ b/tests/wraparound2/out/-z0_--detect-longitude-wraparound.json @@ -1,5 +1,5 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "-180.000000,12.583700,179.688000,85.027900", +"antimeridian_adjusted_bounds": "-180.000000,12.583700,179.688000,85.051129", "bounds": "-180.000000,12.583700,180.000000,85.051129", "center": "0.000000,12.583700,0", "description": "tests/wraparound2/out/-z0_--detect-longitude-wraparound.json.check.mbtiles",