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 f2e3baf5e..d370bc674 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 @@ -367,7 +367,7 @@ , { "type": "Feature", "properties": { "name": "New Zealand" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 172.792969, -40.513799 ], [ 173.232422, -41.310824 ], [ 173.935547, -40.913513 ], [ 174.287109, -41.376809 ], [ 174.287109, -41.771312 ], [ 173.232422, -42.940339 ], [ 172.705078, -43.389082 ], [ 173.056641, -43.834527 ], [ 172.265625, -43.834527 ], [ 171.474609, -44.213710 ], [ 170.595703, -45.890008 ], [ 169.365234, -46.619261 ], [ 168.398438, -46.619261 ], [ 167.783203, -46.316584 ], [ 166.640625, -46.195042 ], [ 166.552734, -45.828799 ], [ 167.080078, -45.089036 ], [ 168.310547, -44.150681 ], [ 168.925781, -43.961191 ], [ 170.507812, -43.004647 ], [ 171.123047, -42.488302 ], [ 171.562500, -41.771312 ], [ 171.914062, -41.508577 ], [ 172.089844, -40.979898 ], [ 172.792969, -40.513799 ] ] ], [ [ [ -187.031250, -43.197167 ], [ -187.031250, -40.847060 ], [ -186.767578, -41.310824 ], [ -186.064453, -40.913513 ], [ -185.712891, -41.376809 ], [ -185.712891, -41.771312 ], [ -187.031250, -43.197167 ] ] ], [ [ [ 172.968750, -34.452218 ], [ 173.583984, -35.029996 ], [ 174.287109, -35.245619 ], [ 174.638672, -36.173357 ], [ 175.341797, -37.230328 ], [ 175.341797, -36.527295 ], [ 175.781250, -36.809285 ], [ 175.957031, -37.579413 ], [ 176.748047, -37.857507 ], [ 177.451172, -37.926868 ], [ 177.978516, -37.579413 ], [ 178.505859, -37.718590 ], [ 177.978516, -39.164141 ], [ 177.187500, -39.164141 ], [ 176.923828, -39.436193 ], [ 177.011719, -39.909736 ], [ 176.044922, -41.310824 ], [ 175.253906, -41.705729 ], [ 175.078125, -41.442726 ], [ 174.638672, -41.310824 ], [ 175.253906, -40.446947 ], [ 174.902344, -39.909736 ], [ 173.847656, -39.504041 ], [ 173.847656, -39.164141 ], [ 174.550781, -38.822591 ], [ 174.726562, -37.996163 ], [ 174.726562, -37.370157 ], [ 174.287109, -36.738884 ], [ 174.287109, -36.527295 ], [ 173.056641, -35.245619 ], [ 172.617188, -34.524661 ], [ 172.968750, -34.452218 ] ] ], [ [ [ -187.031250, -34.452218 ], [ -186.416016, -35.029996 ], [ -185.712891, -35.245619 ], [ -185.361328, -36.173357 ], [ -184.658203, -37.230328 ], [ -184.658203, -36.527295 ], [ -184.218750, -36.809285 ], [ -184.042969, -37.579413 ], [ -183.251953, -37.857507 ], [ -182.548828, -37.926868 ], [ -182.021484, -37.579413 ], [ -181.494141, -37.718590 ], [ -182.021484, -39.164141 ], [ -182.812500, -39.164141 ], [ -183.076172, -39.436193 ], [ -182.988281, -39.909736 ], [ -183.955078, -41.310824 ], [ -184.746094, -41.705729 ], [ -184.921875, -41.442726 ], [ -185.361328, -41.310824 ], [ -184.746094, -40.446947 ], [ -185.097656, -39.909736 ], [ -186.152344, -39.504041 ], [ -186.152344, -39.164141 ], [ -185.449219, -38.822591 ], [ -185.273438, -37.996163 ], [ -185.273438, -37.370157 ], [ -185.712891, -36.738884 ], [ -185.712891, -36.527295 ], [ -187.031250, -35.101934 ], [ -187.031250, -34.452218 ] ] ], [ [ [ -187.031250, -43.197167 ], [ -186.943359, -43.834527 ], [ -187.031250, -43.834527 ], [ -187.031250, -43.197167 ] ] ] ] } } , -{ "type": "Feature", "properties": { "name": "Antarctica" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -46.669922, -77.823323 ], [ -45.175781, -78.043795 ], [ -43.945312, -78.473002 ], [ -43.505859, -79.088462 ], [ -43.330078, -80.027655 ], [ -44.912109, -80.342262 ], [ -46.494141, -80.589727 ], [ -48.427734, -80.830907 ], [ -50.449219, -81.024916 ], [ -52.822266, -80.969904 ], [ -54.140625, -80.632740 ], [ -53.964844, -80.223588 ], [ -51.855469, -79.951265 ], [ -50.976562, -79.608215 ], [ -49.921875, -78.819036 ], [ -48.691406, -78.043795 ], [ -48.164062, -78.043795 ], [ -46.669922, -77.823323 ] ] ], [ [ [ -60.644531, -79.624056 ], [ -59.589844, -80.042864 ], [ -60.117188, -80.997452 ], [ -62.226562, -80.858875 ], [ -64.511719, -80.928426 ], [ -65.742188, -80.589727 ], [ -66.269531, -80.253391 ], [ -64.072266, -80.297927 ], [ -61.875000, -80.386396 ], [ -60.644531, -79.624056 ] ] ], [ [ [ -57.832031, -63.273182 ], [ -57.216797, -63.509375 ], [ -57.568359, -63.860036 ], [ -58.623047, -64.168107 ], [ -59.062500, -64.358931 ], [ -59.765625, -64.206377 ], [ -60.644531, -64.320872 ], [ -62.050781, -64.811557 ], [ -62.490234, -65.109148 ], [ -62.666016, -65.476508 ], [ -62.578125, -65.874725 ], [ -62.138672, -66.196009 ], [ -62.841797, -66.407955 ], [ -63.720703, -66.513260 ], [ -65.478516, -67.575717 ], [ -65.654297, -67.941650 ], [ -65.302734, -68.366801 ], [ -64.775391, -68.688521 ], [ -63.984375, -68.911005 ], [ -63.193359, -69.224997 ], [ -62.753906, -69.626510 ], [ -62.314453, -70.377854 ], [ -61.787109, -70.728979 ], [ -61.523438, -71.102543 ], [ -61.347656, -72.019729 ], [ -60.732422, -73.175897 ], [ -60.820312, -73.701948 ], [ -61.347656, -74.116047 ], [ -61.962891, -74.449358 ], [ -63.281250, -74.566736 ], [ -64.335938, -75.253057 ], [ -65.830078, -75.628632 ], [ -67.236328, -75.802118 ], [ -69.785156, -76.226907 ], [ -70.576172, -76.639226 ], [ -72.246094, -76.679785 ], [ -74.003906, -76.639226 ], [ -75.585938, -76.720223 ], [ -77.255859, -76.720223 ], [ -76.904297, -77.098423 ], [ -75.410156, -77.273855 ], [ -74.267578, -77.561042 ], [ -73.652344, -77.915669 ], [ -74.794922, -78.224513 ], [ -76.464844, -78.116408 ], [ -77.958984, -78.384855 ], [ -78.046875, -79.187834 ], [ -76.816406, -79.512662 ], [ -76.640625, -79.889737 ], [ -75.322266, -80.253391 ], [ -73.212891, -80.415707 ], [ -71.455078, -80.689789 ], [ -70.048828, -80.997452 ], [ -68.203125, -81.321593 ], [ -65.742188, -81.479293 ], [ -63.281250, -81.748454 ], [ -59.677734, -82.379147 ], [ -58.710938, -82.842440 ], [ -58.183594, -83.215693 ], [ -57.041016, -82.864308 ], [ -53.613281, -82.261699 ], [ -51.503906, -82.009169 ], [ -49.746094, -81.723188 ], [ -47.285156, -81.710526 ], [ -44.824219, -81.848756 ], [ -42.802734, -82.082145 ], [ -42.187500, -81.646927 ], [ -40.781250, -81.361287 ], [ -38.232422, -81.334844 ], [ -34.365234, -80.900669 ], [ -30.058594, -80.589727 ], [ -28.564453, -80.342262 ], [ -29.267578, -79.981891 ], [ -29.707031, -79.639874 ], [ -29.707031, -79.253586 ], [ -31.640625, -79.302640 ], [ -33.662109, -79.448477 ], [ -35.683594, -79.448477 ], [ -35.947266, -79.088462 ], [ -35.771484, -78.331648 ], [ -35.332031, -78.116408 ], [ -32.255859, -77.655346 ], [ -29.794922, -77.059116 ], [ -28.916016, -76.679785 ], [ -25.488281, -76.289542 ], [ -23.906250, -76.247817 ], [ -22.500000, -76.100796 ], [ -20.039062, -75.672197 ], [ -17.490234, -75.118222 ], [ -15.732422, -74.496413 ], [ -15.380859, -74.116047 ], [ -16.435547, -73.873717 ], [ -16.083984, -73.453473 ], [ -15.468750, -73.150440 ], [ -13.271484, -72.711903 ], [ -12.304688, -72.395706 ], [ -11.513672, -72.019729 ], [ -10.986328, -71.552741 ], [ -10.283203, -71.272595 ], [ -9.140625, -71.328950 ], [ -8.613281, -71.663663 ], [ -7.382812, -71.691293 ], [ -7.382812, -71.328950 ], [ -6.855469, -70.931004 ], [ -5.800781, -71.016960 ], [ -5.537109, -71.413177 ], [ -4.306641, -71.469124 ], [ -1.757812, -71.159391 ], [ -0.703125, -71.216075 ], [ -0.263672, -71.635993 ], [ 0.878906, -71.300793 ], [ 1.845703, -71.130988 ], [ 4.130859, -70.844673 ], [ 5.185547, -70.612614 ], [ 6.240234, -70.466207 ], [ 7.119141, -70.259452 ], [ 7.734375, -69.900118 ], [ 8.525391, -70.140364 ], [ 9.492188, -70.020587 ], [ 10.810547, -70.844673 ], [ 11.953125, -70.641769 ], [ 12.392578, -70.259452 ], [ 13.447266, -69.960439 ], [ 14.765625, -70.020587 ], [ 15.117188, -70.407348 ], [ 15.908203, -70.020587 ], [ 17.050781, -69.900118 ], [ 19.248047, -69.900118 ], [ 21.445312, -70.080562 ], [ 21.884766, -70.407348 ], [ 22.587891, -70.699951 ], [ 23.642578, -70.524897 ], [ 27.070312, -70.466207 ], [ 29.179688, -70.199994 ], [ 30.058594, -69.930300 ], [ 30.937500, -69.748551 ], [ 31.992188, -69.657086 ], [ 32.783203, -69.380313 ], [ 33.310547, -68.847665 ], [ 33.837891, -68.496040 ], [ 34.892578, -68.656555 ], [ 35.332031, -69.005675 ], [ 36.123047, -69.256149 ], [ 37.177734, -69.162558 ], [ 37.880859, -69.534518 ], [ 38.671875, -69.778952 ], [ 39.638672, -69.534518 ], [ 39.990234, -69.099940 ], [ 40.957031, -68.942607 ], [ 41.923828, -68.592487 ], [ 44.121094, -68.269387 ], [ 46.494141, -67.609221 ], [ 47.460938, -67.709445 ], [ 48.955078, -67.101656 ], [ 49.921875, -67.101656 ], [ 50.712891, -66.861082 ], [ 50.976562, -66.513260 ], [ 52.646484, -66.053716 ], [ 54.492188, -65.802776 ], [ 56.337891, -65.982270 ], [ 57.128906, -66.231457 ], [ 57.216797, -66.687784 ], [ 58.710938, -67.272043 ], [ 59.941406, -67.407487 ], [ 61.435547, -67.941650 ], [ 62.402344, -68.007571 ], [ 63.193359, -67.809245 ], [ 64.072266, -67.407487 ], [ 64.951172, -67.609221 ], [ 66.884766, -67.842416 ], [ 67.851562, -67.941650 ], [ 68.906250, -67.941650 ], [ 69.697266, -68.974164 ], [ 69.697266, -69.224997 ], [ 69.521484, -69.687618 ], [ 68.554688, -69.930300 ], [ 67.851562, -70.318738 ], [ 67.939453, -70.699951 ], [ 69.082031, -70.670881 ], [ 68.906250, -71.074056 ], [ 67.939453, -71.856229 ], [ 68.730469, -72.154890 ], [ 69.873047, -72.262310 ], [ 71.015625, -72.100944 ], [ 71.894531, -71.328950 ], [ 73.125000, -70.728979 ], [ 73.828125, -69.869892 ], [ 74.531250, -69.778952 ], [ 75.585938, -69.748551 ], [ 77.607422, -69.472969 ], [ 78.398438, -68.688521 ], [ 79.101562, -68.334376 ], [ 80.947266, -67.875541 ], [ 81.474609, -67.542167 ], [ 82.089844, -67.373698 ], [ 82.792969, -67.204032 ], [ 83.759766, -67.305976 ], [ 85.693359, -67.101656 ], [ 86.748047, -67.135829 ], [ 87.451172, -66.861082 ], [ 87.978516, -66.196009 ], [ 88.857422, -66.964476 ], [ 89.648438, -67.135829 ], [ 90.615234, -67.238062 ], [ 91.582031, -67.101656 ], [ 93.515625, -67.204032 ], [ 94.218750, -67.101656 ], [ 95.009766, -67.169955 ], [ 95.800781, -67.373698 ], [ 96.679688, -67.238062 ], [ 97.734375, -67.238062 ], [ 98.701172, -67.101656 ], [ 99.755859, -67.238062 ], [ 102.832031, -65.549367 ], [ 103.447266, -65.694476 ], [ 104.238281, -65.982270 ], [ 106.171875, -66.930060 ], [ 108.105469, -66.964476 ], [ 110.214844, -66.687784 ], [ 111.708984, -66.124962 ], [ 112.851562, -66.089364 ], [ 113.642578, -65.874725 ], [ 114.345703, -66.089364 ], [ 115.576172, -66.687784 ], [ 116.718750, -66.652977 ], [ 117.421875, -66.930060 ], [ 118.564453, -67.169955 ], [ 119.794922, -67.272043 ], [ 120.849609, -67.204032 ], [ 122.343750, -66.548263 ], [ 123.222656, -66.478208 ], [ 125.156250, -66.722541 ], [ 126.123047, -66.548263 ], [ 127.001953, -66.548263 ], [ 128.759766, -66.757250 ], [ 130.781250, -66.407955 ], [ 132.978516, -66.372755 ], [ 134.736328, -66.196009 ], [ 135.000000, -65.730626 ], [ 135.087891, -65.293468 ], [ 135.703125, -65.585720 ], [ 135.878906, -66.018018 ], [ 136.582031, -66.791909 ], [ 137.460938, -66.964476 ], [ 140.800781, -66.826520 ], [ 143.085938, -66.791909 ], [ 145.458984, -66.930060 ], [ 146.162109, -67.238062 ], [ 145.986328, -67.609221 ], [ 146.689453, -67.908619 ], [ 148.798828, -68.399180 ], [ 152.490234, -68.879358 ], [ 153.632812, -68.879358 ], [ 154.248047, -68.560384 ], [ 155.917969, -69.162558 ], [ 156.796875, -69.380313 ], [ 159.169922, -69.595890 ], [ 159.697266, -69.990535 ], [ 160.839844, -70.229744 ], [ 161.542969, -70.583418 ], [ 162.685547, -70.728979 ], [ 166.113281, -70.757966 ], [ 167.343750, -70.844673 ], [ 168.398438, -70.959697 ], [ 170.507812, -71.413177 ], [ 171.210938, -71.691293 ], [ 171.123047, -72.100944 ], [ 170.595703, -72.448792 ], [ 169.277344, -73.652545 ], [ 167.958984, -73.824820 ], [ 167.343750, -74.164085 ], [ 166.113281, -74.378513 ], [ 165.673828, -74.775843 ], [ 164.267578, -75.453071 ], [ 163.564453, -76.247817 ], [ 163.476562, -76.700019 ], [ 163.476562, -77.059116 ], [ 164.091797, -77.466028 ], [ 164.267578, -77.823323 ], [ 164.707031, -78.188586 ], [ 166.640625, -78.313860 ], [ 166.992188, -78.750659 ], [ 165.234375, -78.903929 ], [ 163.652344, -79.121686 ], [ 161.806641, -79.154810 ], [ 160.927734, -79.734281 ], [ 160.751953, -80.193694 ], [ 159.785156, -80.942273 ], [ 161.103516, -81.281717 ], [ 161.630859, -81.685144 ], [ 162.509766, -82.057893 ], [ 163.740234, -82.390794 ], [ 166.640625, -83.026219 ], [ 168.925781, -83.339153 ], [ 169.365234, -83.829945 ], [ 172.265625, -84.043447 ], [ 173.232422, -84.414502 ], [ 175.957031, -84.160849 ], [ 180.000000, -84.714152 ], [ 180.087891, -84.722243 ], [ 180.966797, -84.142939 ], [ 182.724609, -84.457112 ], [ 183.955078, -84.097922 ], [ 184.130859, -84.115970 ], [ 185.625000, -84.532994 ], [ 187.031250, -84.079819 ], [ 187.031250, -85.622069 ], [ 180.000000, -85.622069 ], [ -180.000000, -85.622069 ], [ -187.031250, -85.622069 ], [ -187.031250, -84.310902 ], [ -186.767578, -84.414502 ], [ -184.042969, -84.160849 ], [ -180.000000, -84.714152 ], [ -179.912109, -84.722243 ], [ -179.033203, -84.142939 ], [ -177.275391, -84.457112 ], [ -176.044922, -84.097922 ], [ -175.869141, -84.115970 ], [ -174.375000, -84.532994 ], [ -172.880859, -84.061661 ], [ -169.980469, -83.886366 ], [ -166.992188, -84.566386 ], [ -164.179688, -84.826305 ], [ -162.597656, -85.051129 ], [ -161.894531, -85.141284 ], [ -158.115234, -85.373767 ], [ -155.214844, -85.096413 ], [ -150.908203, -85.295131 ], [ -148.535156, -85.608630 ], [ -145.898438, -85.316708 ], [ -143.173828, -85.051129 ], [ -143.085938, -85.043541 ], [ -142.910156, -84.566386 ], [ -146.865234, -84.532994 ], [ -150.029297, -84.293450 ], [ -150.908203, -83.905058 ], [ -153.544922, -83.686615 ], [ -153.369141, -83.236426 ], [ -152.666016, -82.448764 ], [ -152.841797, -82.045740 ], [ -154.511719, -81.773644 ], [ -155.302734, -81.413933 ], [ -156.796875, -81.106811 ], [ -154.423828, -81.160996 ], [ -152.138672, -80.997452 ], [ -150.644531, -81.334844 ], [ -148.886719, -81.038617 ], [ -147.216797, -80.675559 ], [ -146.425781, -80.342262 ], [ -146.777344, -79.920548 ], [ -149.501953, -79.351472 ], [ -151.611328, -79.302640 ], [ -153.369141, -79.154810 ], [ -155.302734, -79.071812 ], [ -156.005859, -78.699106 ], [ -157.236328, -78.384855 ], [ -158.027344, -78.025574 ], [ -158.378906, -76.880775 ], [ -157.851562, -76.980149 ], [ -156.972656, -77.293202 ], [ -155.302734, -77.196176 ], [ -153.720703, -77.059116 ], [ -152.929688, -77.504119 ], [ -151.347656, -77.389504 ], [ -150.029297, -77.176684 ], [ -148.710938, -76.900709 ], [ -147.656250, -76.578159 ], [ -146.074219, -76.475773 ], [ -146.162109, -76.100796 ], [ -146.513672, -75.737303 ], [ -146.162109, -75.386696 ], [ -144.931641, -75.208245 ], [ -144.316406, -75.541113 ], [ -142.822266, -75.342282 ], [ -141.679688, -75.095633 ], [ -140.185547, -75.073010 ], [ -138.867188, -74.959392 ], [ -135.175781, -74.307353 ], [ -133.769531, -74.449358 ], [ -132.275391, -74.307353 ], [ -130.957031, -74.472903 ], [ -129.550781, -74.449358 ], [ -128.232422, -74.331108 ], [ -125.419922, -74.519889 ], [ -124.013672, -74.472903 ], [ -121.113281, -74.519889 ], [ -119.707031, -74.472903 ], [ -118.652344, -74.188052 ], [ -117.509766, -74.019543 ], [ -116.191406, -74.235878 ], [ -115.048828, -74.067866 ], [ -113.906250, -73.726595 ], [ -113.291016, -74.019543 ], [ -112.939453, -74.378513 ], [ -112.324219, -74.706450 ], [ -111.269531, -74.425777 ], [ -110.039062, -74.798906 ], [ -108.720703, -74.913708 ], [ -107.578125, -75.185789 ], [ -106.171875, -75.118222 ], [ -104.853516, -74.959392 ], [ -103.359375, -74.982183 ], [ -100.634766, -75.297735 ], [ -100.107422, -74.867889 ], [ -101.250000, -74.188052 ], [ -102.568359, -74.116047 ], [ -103.095703, -73.726595 ], [ -103.710938, -72.607120 ], [ -102.919922, -72.764065 ], [ -101.601562, -72.816074 ], [ -100.283203, -72.764065 ], [ -99.140625, -72.919635 ], [ -98.085938, -73.201317 ], [ -97.646484, -73.553302 ], [ -96.328125, -73.627789 ], [ -92.460938, -73.175897 ], [ -91.406250, -73.403338 ], [ -90.087891, -73.327858 ], [ -89.208984, -72.554498 ], [ -88.417969, -72.996909 ], [ -87.275391, -73.175897 ], [ -86.044922, -73.099413 ], [ -85.166016, -73.478485 ], [ -83.847656, -73.528399 ], [ -82.705078, -73.627789 ], [ -81.474609, -73.849286 ], [ -80.683594, -73.478485 ], [ -80.332031, -73.124945 ], [ -79.277344, -73.528399 ], [ -77.958984, -73.428424 ], [ -76.904297, -73.627789 ], [ -76.201172, -73.971078 ], [ -74.882812, -73.873717 ], [ -72.861328, -73.403338 ], [ -68.906250, -72.996909 ], [ -67.939453, -72.790088 ], [ -67.412109, -72.475276 ], [ -67.148438, -72.046840 ], [ -67.236328, -71.635993 ], [ -68.466797, -70.110485 ], [ -68.554688, -69.718107 ], [ -68.466797, -69.318320 ], [ -67.587891, -68.528235 ], [ -67.412109, -68.138852 ], [ -67.763672, -67.339861 ], [ -67.236328, -66.861082 ], [ -66.093750, -66.196009 ], [ -64.599609, -65.585720 ], [ -64.160156, -65.183030 ], [ -63.632812, -64.886265 ], [ -63.017578, -64.623877 ], [ -62.050781, -64.586185 ], [ -61.435547, -64.282760 ], [ -60.732422, -64.091408 ], [ -59.853516, -63.937372 ], [ -59.150391, -63.704722 ], [ -58.623047, -63.391522 ], [ -57.832031, -63.273182 ] ] ], [ [ [ -163.125000, -78.224513 ], [ -161.279297, -78.384855 ], [ -160.224609, -78.699106 ], [ -159.521484, -79.038437 ], [ -159.169922, -79.496652 ], [ -161.103516, -79.639874 ], [ -162.421875, -79.286313 ], [ -163.037109, -78.870048 ], [ -163.740234, -78.595299 ], [ -163.125000, -78.224513 ] ] ], [ [ [ -122.431641, -73.327858 ], [ -119.882812, -73.652545 ], [ -118.740234, -73.478485 ], [ -119.267578, -73.824820 ], [ -120.234375, -74.091974 ], [ -121.640625, -74.019543 ], [ -122.607422, -73.652545 ], [ -122.431641, -73.327858 ] ] ], [ [ [ -126.562500, -73.252045 ], [ -124.013672, -73.873717 ], [ -125.947266, -73.726595 ], [ -127.265625, -73.453473 ], [ -126.562500, -73.252045 ] ] ], [ [ [ -101.689453, -71.718882 ], [ -100.458984, -71.856229 ], [ -98.964844, -71.938158 ], [ -97.910156, -72.073911 ], [ -96.767578, -71.965388 ], [ -96.240234, -72.528130 ], [ -96.943359, -72.448792 ], [ -98.173828, -72.475276 ], [ -99.404297, -72.448792 ], [ -100.810547, -72.501722 ], [ -101.777344, -72.315785 ], [ -102.304688, -71.883578 ], [ -101.689453, -71.718882 ] ] ], [ [ [ -70.224609, -68.879358 ], [ -69.697266, -69.256149 ], [ -68.466797, -70.959697 ], [ -68.291016, -71.413177 ], [ -68.818359, -72.181804 ], [ -69.960938, -72.315785 ], [ -71.103516, -72.501722 ], [ -72.421875, -72.475276 ], [ -71.894531, -72.100944 ], [ -74.179688, -72.369105 ], [ -74.970703, -72.073911 ], [ -74.970703, -71.663663 ], [ -73.916016, -71.272595 ], [ -73.212891, -71.159391 ], [ -72.070312, -71.187754 ], [ -71.806641, -70.670881 ], [ -71.718750, -69.503765 ], [ -71.191406, -69.037142 ], [ -70.224609, -68.879358 ] ] ] ] } } +{ "type": "Feature", "properties": { "name": "Antarctica" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -46.669922, -77.823323 ], [ -45.175781, -78.043795 ], [ -43.945312, -78.473002 ], [ -43.505859, -79.088462 ], [ -43.330078, -80.027655 ], [ -44.912109, -80.342262 ], [ -46.494141, -80.589727 ], [ -48.427734, -80.830907 ], [ -50.449219, -81.024916 ], [ -52.822266, -80.969904 ], [ -54.140625, -80.632740 ], [ -53.964844, -80.223588 ], [ -51.855469, -79.951265 ], [ -50.976562, -79.608215 ], [ -49.921875, -78.819036 ], [ -48.691406, -78.043795 ], [ -48.164062, -78.043795 ], [ -46.669922, -77.823323 ] ] ], [ [ [ -60.644531, -79.624056 ], [ -59.589844, -80.042864 ], [ -60.117188, -80.997452 ], [ -62.226562, -80.858875 ], [ -64.511719, -80.928426 ], [ -65.742188, -80.589727 ], [ -66.269531, -80.253391 ], [ -64.072266, -80.297927 ], [ -61.875000, -80.386396 ], [ -60.644531, -79.624056 ] ] ], [ [ [ -57.832031, -63.273182 ], [ -57.216797, -63.509375 ], [ -57.568359, -63.860036 ], [ -58.623047, -64.168107 ], [ -59.062500, -64.358931 ], [ -59.765625, -64.206377 ], [ -60.644531, -64.320872 ], [ -62.050781, -64.811557 ], [ -62.490234, -65.109148 ], [ -62.666016, -65.476508 ], [ -62.578125, -65.874725 ], [ -62.138672, -66.196009 ], [ -62.841797, -66.407955 ], [ -63.720703, -66.513260 ], [ -65.478516, -67.575717 ], [ -65.654297, -67.941650 ], [ -65.302734, -68.366801 ], [ -64.775391, -68.688521 ], [ -63.984375, -68.911005 ], [ -63.193359, -69.224997 ], [ -62.753906, -69.626510 ], [ -62.314453, -70.377854 ], [ -61.787109, -70.728979 ], [ -61.523438, -71.102543 ], [ -61.347656, -72.019729 ], [ -60.732422, -73.175897 ], [ -60.820312, -73.701948 ], [ -61.347656, -74.116047 ], [ -61.962891, -74.449358 ], [ -63.281250, -74.566736 ], [ -64.335938, -75.253057 ], [ -65.830078, -75.628632 ], [ -67.236328, -75.802118 ], [ -69.785156, -76.226907 ], [ -70.576172, -76.639226 ], [ -72.246094, -76.679785 ], [ -74.003906, -76.639226 ], [ -75.585938, -76.720223 ], [ -77.255859, -76.720223 ], [ -76.904297, -77.098423 ], [ -75.410156, -77.273855 ], [ -74.267578, -77.561042 ], [ -73.652344, -77.915669 ], [ -74.794922, -78.224513 ], [ -76.464844, -78.116408 ], [ -77.958984, -78.384855 ], [ -78.046875, -79.187834 ], [ -76.816406, -79.512662 ], [ -76.640625, -79.889737 ], [ -75.322266, -80.253391 ], [ -73.212891, -80.415707 ], [ -71.455078, -80.689789 ], [ -70.048828, -80.997452 ], [ -68.203125, -81.321593 ], [ -65.742188, -81.479293 ], [ -63.281250, -81.748454 ], [ -59.677734, -82.379147 ], [ -58.710938, -82.842440 ], [ -58.183594, -83.215693 ], [ -57.041016, -82.864308 ], [ -53.613281, -82.261699 ], [ -51.503906, -82.009169 ], [ -49.746094, -81.723188 ], [ -47.285156, -81.710526 ], [ -44.824219, -81.848756 ], [ -42.802734, -82.082145 ], [ -42.187500, -81.646927 ], [ -40.781250, -81.361287 ], [ -38.232422, -81.334844 ], [ -34.365234, -80.900669 ], [ -30.058594, -80.589727 ], [ -28.564453, -80.342262 ], [ -29.267578, -79.981891 ], [ -29.707031, -79.639874 ], [ -29.707031, -79.253586 ], [ -31.640625, -79.302640 ], [ -33.662109, -79.448477 ], [ -35.683594, -79.448477 ], [ -35.947266, -79.088462 ], [ -35.771484, -78.331648 ], [ -35.332031, -78.116408 ], [ -32.255859, -77.655346 ], [ -29.794922, -77.059116 ], [ -28.916016, -76.679785 ], [ -25.488281, -76.289542 ], [ -23.906250, -76.247817 ], [ -22.500000, -76.100796 ], [ -20.039062, -75.672197 ], [ -17.490234, -75.118222 ], [ -15.732422, -74.496413 ], [ -15.380859, -74.116047 ], [ -16.435547, -73.873717 ], [ -16.083984, -73.453473 ], [ -15.468750, -73.150440 ], [ -13.271484, -72.711903 ], [ -12.304688, -72.395706 ], [ -11.513672, -72.019729 ], [ -10.986328, -71.552741 ], [ -10.283203, -71.272595 ], [ -9.140625, -71.328950 ], [ -8.613281, -71.663663 ], [ -7.382812, -71.691293 ], [ -7.382812, -71.328950 ], [ -6.855469, -70.931004 ], [ -5.800781, -71.016960 ], [ -5.537109, -71.413177 ], [ -4.306641, -71.469124 ], [ -1.757812, -71.159391 ], [ -0.703125, -71.216075 ], [ -0.263672, -71.635993 ], [ 0.878906, -71.300793 ], [ 1.845703, -71.130988 ], [ 4.130859, -70.844673 ], [ 5.185547, -70.612614 ], [ 6.240234, -70.466207 ], [ 7.119141, -70.259452 ], [ 7.734375, -69.900118 ], [ 8.525391, -70.140364 ], [ 9.492188, -70.020587 ], [ 10.810547, -70.844673 ], [ 11.953125, -70.641769 ], [ 12.392578, -70.259452 ], [ 13.447266, -69.960439 ], [ 14.765625, -70.020587 ], [ 15.117188, -70.407348 ], [ 15.908203, -70.020587 ], [ 17.050781, -69.900118 ], [ 18.193359, -69.869892 ], [ 19.248047, -69.900118 ], [ 21.445312, -70.080562 ], [ 21.884766, -70.407348 ], [ 22.587891, -70.699951 ], [ 23.642578, -70.524897 ], [ 27.070312, -70.466207 ], [ 29.179688, -70.199994 ], [ 30.058594, -69.930300 ], [ 30.937500, -69.748551 ], [ 31.992188, -69.657086 ], [ 32.783203, -69.380313 ], [ 33.310547, -68.847665 ], [ 33.837891, -68.496040 ], [ 34.892578, -68.656555 ], [ 35.332031, -69.005675 ], [ 36.123047, -69.256149 ], [ 37.177734, -69.162558 ], [ 37.880859, -69.534518 ], [ 38.671875, -69.778952 ], [ 39.638672, -69.534518 ], [ 39.990234, -69.099940 ], [ 40.957031, -68.942607 ], [ 41.923828, -68.592487 ], [ 44.121094, -68.269387 ], [ 46.494141, -67.609221 ], [ 47.460938, -67.709445 ], [ 48.955078, -67.101656 ], [ 49.921875, -67.101656 ], [ 50.712891, -66.861082 ], [ 50.976562, -66.513260 ], [ 52.646484, -66.053716 ], [ 54.492188, -65.802776 ], [ 56.337891, -65.982270 ], [ 57.128906, -66.231457 ], [ 57.216797, -66.687784 ], [ 58.710938, -67.272043 ], [ 59.941406, -67.407487 ], [ 61.435547, -67.941650 ], [ 62.402344, -68.007571 ], [ 63.193359, -67.809245 ], [ 64.072266, -67.407487 ], [ 64.951172, -67.609221 ], [ 66.884766, -67.842416 ], [ 67.851562, -67.941650 ], [ 68.906250, -67.941650 ], [ 69.697266, -68.974164 ], [ 69.697266, -69.224997 ], [ 69.521484, -69.687618 ], [ 68.554688, -69.930300 ], [ 67.851562, -70.318738 ], [ 67.939453, -70.699951 ], [ 69.082031, -70.670881 ], [ 68.906250, -71.074056 ], [ 67.939453, -71.856229 ], [ 68.730469, -72.154890 ], [ 69.873047, -72.262310 ], [ 71.015625, -72.100944 ], [ 71.894531, -71.328950 ], [ 73.125000, -70.728979 ], [ 73.828125, -69.869892 ], [ 74.531250, -69.778952 ], [ 75.585938, -69.748551 ], [ 77.607422, -69.472969 ], [ 78.398438, -68.688521 ], [ 79.101562, -68.334376 ], [ 80.947266, -67.875541 ], [ 81.474609, -67.542167 ], [ 82.089844, -67.373698 ], [ 82.792969, -67.204032 ], [ 83.759766, -67.305976 ], [ 85.693359, -67.101656 ], [ 86.748047, -67.135829 ], [ 87.451172, -66.861082 ], [ 87.978516, -66.196009 ], [ 88.857422, -66.964476 ], [ 89.648438, -67.135829 ], [ 90.615234, -67.238062 ], [ 91.582031, -67.101656 ], [ 93.515625, -67.204032 ], [ 94.218750, -67.101656 ], [ 95.009766, -67.169955 ], [ 95.800781, -67.373698 ], [ 96.679688, -67.238062 ], [ 97.734375, -67.238062 ], [ 98.701172, -67.101656 ], [ 99.755859, -67.238062 ], [ 102.832031, -65.549367 ], [ 103.447266, -65.694476 ], [ 104.238281, -65.982270 ], [ 106.171875, -66.930060 ], [ 108.105469, -66.964476 ], [ 110.214844, -66.687784 ], [ 111.708984, -66.124962 ], [ 112.851562, -66.089364 ], [ 113.642578, -65.874725 ], [ 114.345703, -66.089364 ], [ 115.576172, -66.687784 ], [ 116.718750, -66.652977 ], [ 117.421875, -66.930060 ], [ 118.564453, -67.169955 ], [ 119.794922, -67.272043 ], [ 120.849609, -67.204032 ], [ 122.343750, -66.548263 ], [ 123.222656, -66.478208 ], [ 125.156250, -66.722541 ], [ 126.123047, -66.548263 ], [ 127.001953, -66.548263 ], [ 128.759766, -66.757250 ], [ 130.781250, -66.407955 ], [ 132.978516, -66.372755 ], [ 134.736328, -66.196009 ], [ 135.000000, -65.730626 ], [ 135.087891, -65.293468 ], [ 135.703125, -65.585720 ], [ 135.878906, -66.018018 ], [ 136.582031, -66.791909 ], [ 137.460938, -66.964476 ], [ 140.800781, -66.826520 ], [ 143.085938, -66.791909 ], [ 145.458984, -66.930060 ], [ 146.162109, -67.238062 ], [ 145.986328, -67.609221 ], [ 146.689453, -67.908619 ], [ 148.798828, -68.399180 ], [ 152.490234, -68.879358 ], [ 153.632812, -68.879358 ], [ 154.248047, -68.560384 ], [ 155.917969, -69.162558 ], [ 156.796875, -69.380313 ], [ 159.169922, -69.595890 ], [ 159.697266, -69.990535 ], [ 160.839844, -70.229744 ], [ 161.542969, -70.583418 ], [ 162.685547, -70.728979 ], [ 166.113281, -70.757966 ], [ 167.343750, -70.844673 ], [ 168.398438, -70.959697 ], [ 170.507812, -71.413177 ], [ 171.210938, -71.691293 ], [ 171.123047, -72.100944 ], [ 170.595703, -72.448792 ], [ 169.277344, -73.652545 ], [ 167.958984, -73.824820 ], [ 167.343750, -74.164085 ], [ 166.113281, -74.378513 ], [ 165.673828, -74.775843 ], [ 164.267578, -75.453071 ], [ 163.564453, -76.247817 ], [ 163.476562, -76.700019 ], [ 163.476562, -77.059116 ], [ 164.091797, -77.466028 ], [ 164.267578, -77.823323 ], [ 164.707031, -78.188586 ], [ 166.640625, -78.313860 ], [ 166.992188, -78.750659 ], [ 165.234375, -78.903929 ], [ 163.652344, -79.121686 ], [ 161.806641, -79.154810 ], [ 160.927734, -79.734281 ], [ 160.751953, -80.193694 ], [ 159.785156, -80.942273 ], [ 161.103516, -81.281717 ], [ 161.630859, -81.685144 ], [ 162.509766, -82.057893 ], [ 163.740234, -82.390794 ], [ 166.640625, -83.026219 ], [ 168.925781, -83.339153 ], [ 169.365234, -83.829945 ], [ 172.265625, -84.043447 ], [ 173.232422, -84.414502 ], [ 175.957031, -84.160849 ], [ 180.000000, -84.714152 ], [ 180.087891, -84.722243 ], [ 180.966797, -84.142939 ], [ 182.724609, -84.457112 ], [ 183.955078, -84.097922 ], [ 184.130859, -84.115970 ], [ 185.625000, -84.532994 ], [ 187.031250, -84.079819 ], [ 187.031250, -85.622069 ], [ 180.000000, -85.622069 ], [ -180.000000, -85.622069 ], [ -187.031250, -85.622069 ], [ -187.031250, -84.310902 ], [ -186.767578, -84.414502 ], [ -184.042969, -84.160849 ], [ -180.000000, -84.714152 ], [ -179.912109, -84.722243 ], [ -179.033203, -84.142939 ], [ -177.275391, -84.457112 ], [ -176.044922, -84.097922 ], [ -175.869141, -84.115970 ], [ -174.375000, -84.532994 ], [ -172.880859, -84.061661 ], [ -169.980469, -83.886366 ], [ -166.992188, -84.566386 ], [ -164.179688, -84.826305 ], [ -162.597656, -85.051129 ], [ -161.894531, -85.141284 ], [ -158.115234, -85.373767 ], [ -155.214844, -85.096413 ], [ -150.908203, -85.295131 ], [ -148.535156, -85.608630 ], [ -145.898438, -85.316708 ], [ -143.173828, -85.051129 ], [ -143.085938, -85.043541 ], [ -142.910156, -84.566386 ], [ -146.865234, -84.532994 ], [ -150.029297, -84.293450 ], [ -150.908203, -83.905058 ], [ -153.544922, -83.686615 ], [ -153.369141, -83.236426 ], [ -152.666016, -82.448764 ], [ -152.841797, -82.045740 ], [ -154.511719, -81.773644 ], [ -155.302734, -81.413933 ], [ -156.796875, -81.106811 ], [ -154.423828, -81.160996 ], [ -152.138672, -80.997452 ], [ -150.644531, -81.334844 ], [ -148.886719, -81.038617 ], [ -147.216797, -80.675559 ], [ -146.425781, -80.342262 ], [ -146.777344, -79.920548 ], [ -149.501953, -79.351472 ], [ -151.611328, -79.302640 ], [ -153.369141, -79.154810 ], [ -155.302734, -79.071812 ], [ -156.005859, -78.699106 ], [ -157.236328, -78.384855 ], [ -158.027344, -78.025574 ], [ -158.378906, -76.880775 ], [ -157.851562, -76.980149 ], [ -156.972656, -77.293202 ], [ -155.302734, -77.196176 ], [ -153.720703, -77.059116 ], [ -152.929688, -77.504119 ], [ -151.347656, -77.389504 ], [ -150.029297, -77.176684 ], [ -148.710938, -76.900709 ], [ -147.656250, -76.578159 ], [ -146.074219, -76.475773 ], [ -146.162109, -76.100796 ], [ -146.513672, -75.737303 ], [ -146.162109, -75.386696 ], [ -144.931641, -75.208245 ], [ -144.316406, -75.541113 ], [ -142.822266, -75.342282 ], [ -141.679688, -75.095633 ], [ -140.185547, -75.073010 ], [ -138.867188, -74.959392 ], [ -135.175781, -74.307353 ], [ -133.769531, -74.449358 ], [ -132.275391, -74.307353 ], [ -130.957031, -74.472903 ], [ -129.550781, -74.449358 ], [ -128.232422, -74.331108 ], [ -125.419922, -74.519889 ], [ -124.013672, -74.472903 ], [ -121.113281, -74.519889 ], [ -119.707031, -74.472903 ], [ -118.652344, -74.188052 ], [ -117.509766, -74.019543 ], [ -116.191406, -74.235878 ], [ -115.048828, -74.067866 ], [ -113.906250, -73.726595 ], [ -113.291016, -74.019543 ], [ -112.939453, -74.378513 ], [ -112.324219, -74.706450 ], [ -111.269531, -74.425777 ], [ -110.039062, -74.798906 ], [ -108.720703, -74.913708 ], [ -107.578125, -75.185789 ], [ -106.171875, -75.118222 ], [ -104.853516, -74.959392 ], [ -103.359375, -74.982183 ], [ -100.634766, -75.297735 ], [ -100.107422, -74.867889 ], [ -101.250000, -74.188052 ], [ -102.568359, -74.116047 ], [ -103.095703, -73.726595 ], [ -103.710938, -72.607120 ], [ -102.919922, -72.764065 ], [ -101.601562, -72.816074 ], [ -100.283203, -72.764065 ], [ -99.140625, -72.919635 ], [ -98.085938, -73.201317 ], [ -97.646484, -73.553302 ], [ -96.328125, -73.627789 ], [ -92.460938, -73.175897 ], [ -91.406250, -73.403338 ], [ -90.087891, -73.327858 ], [ -89.208984, -72.554498 ], [ -88.417969, -72.996909 ], [ -87.275391, -73.175897 ], [ -86.044922, -73.099413 ], [ -85.166016, -73.478485 ], [ -83.847656, -73.528399 ], [ -82.705078, -73.627789 ], [ -81.474609, -73.849286 ], [ -80.683594, -73.478485 ], [ -80.332031, -73.124945 ], [ -79.277344, -73.528399 ], [ -77.958984, -73.428424 ], [ -76.904297, -73.627789 ], [ -76.201172, -73.971078 ], [ -74.882812, -73.873717 ], [ -72.861328, -73.403338 ], [ -68.906250, -72.996909 ], [ -67.939453, -72.790088 ], [ -67.412109, -72.475276 ], [ -67.148438, -72.046840 ], [ -67.236328, -71.635993 ], [ -68.466797, -70.110485 ], [ -68.554688, -69.718107 ], [ -68.466797, -69.318320 ], [ -67.587891, -68.528235 ], [ -67.412109, -68.138852 ], [ -67.763672, -67.339861 ], [ -67.236328, -66.861082 ], [ -66.093750, -66.196009 ], [ -64.599609, -65.585720 ], [ -64.160156, -65.183030 ], [ -63.632812, -64.886265 ], [ -63.017578, -64.623877 ], [ -62.050781, -64.586185 ], [ -61.435547, -64.282760 ], [ -60.732422, -64.091408 ], [ -59.853516, -63.937372 ], [ -59.150391, -63.704722 ], [ -58.623047, -63.391522 ], [ -57.832031, -63.273182 ] ] ], [ [ [ -163.125000, -78.224513 ], [ -161.279297, -78.384855 ], [ -160.224609, -78.699106 ], [ -159.521484, -79.038437 ], [ -159.169922, -79.496652 ], [ -161.103516, -79.639874 ], [ -162.421875, -79.286313 ], [ -163.037109, -78.870048 ], [ -163.740234, -78.595299 ], [ -163.125000, -78.224513 ] ] ], [ [ [ -122.431641, -73.327858 ], [ -119.882812, -73.652545 ], [ -118.740234, -73.478485 ], [ -119.267578, -73.824820 ], [ -120.234375, -74.091974 ], [ -121.640625, -74.019543 ], [ -122.607422, -73.652545 ], [ -122.431641, -73.327858 ] ] ], [ [ [ -126.562500, -73.252045 ], [ -124.013672, -73.873717 ], [ -125.947266, -73.726595 ], [ -127.265625, -73.453473 ], [ -126.562500, -73.252045 ] ] ], [ [ [ -101.689453, -71.718882 ], [ -100.458984, -71.856229 ], [ -98.964844, -71.938158 ], [ -97.910156, -72.073911 ], [ -96.767578, -71.965388 ], [ -96.240234, -72.528130 ], [ -96.943359, -72.448792 ], [ -98.173828, -72.475276 ], [ -99.404297, -72.448792 ], [ -100.810547, -72.501722 ], [ -101.777344, -72.315785 ], [ -102.304688, -71.883578 ], [ -101.689453, -71.718882 ] ] ], [ [ [ -70.224609, -68.879358 ], [ -69.697266, -69.256149 ], [ -68.466797, -70.959697 ], [ -68.291016, -71.413177 ], [ -68.818359, -72.181804 ], [ -69.960938, -72.315785 ], [ -71.103516, -72.501722 ], [ -72.421875, -72.475276 ], [ -71.894531, -72.100944 ], [ -74.179688, -72.369105 ], [ -74.970703, -72.073911 ], [ -74.970703, -71.663663 ], [ -73.916016, -71.272595 ], [ -73.212891, -71.159391 ], [ -72.070312, -71.187754 ], [ -71.806641, -70.670881 ], [ -71.718750, -69.503765 ], [ -71.191406, -69.037142 ], [ -70.224609, -68.879358 ] ] ] ] } } ] } ] } , diff --git a/tile.cpp b/tile.cpp index b48616296..4227d5805 100644 --- a/tile.cpp +++ b/tile.cpp @@ -2524,8 +2524,9 @@ long long write_tile(decompressor *geoms, std::atomic *geompos_in, ch if (layer_features[x].coalesced && layer_features[x].type == VT_LINE) { layer_features[x].geom = remove_noop(layer_features[x].geom, layer_features[x].type, 0); if (!(prevent[P_SIMPLIFY] || (z == maxzoom && prevent[P_SIMPLIFY_LOW]))) { - layer_features[x].geom = simplify_lines(layer_features[x].geom, z, tx, ty, line_detail, - !(prevent[P_CLIPPING] || prevent[P_DUPLICATION]), simplification, layer_features[x].type == VT_POLYGON ? 4 : 0, shared_nodes, shared_nodes_map, nodepos); + // XXX revisit: why does this not take zoom into account? + layer_features[x].geom = simplify_lines(layer_features[x].geom, 32, 0, 0, 0, + !(prevent[P_CLIPPING] || prevent[P_DUPLICATION]), simplification, layer_features[x].type == VT_POLYGON ? 4 : 0, shared_nodes, NULL, 0); } }