From a987197eed28d145a469d5d5b585135bdac4721f Mon Sep 17 00:00:00 2001 From: Erica Fischer Date: Mon, 26 Feb 2024 15:41:26 -0800 Subject: [PATCH] Don't swap attributes when reducing tiny polygon dust (#207) * Don't swap attributes when reducing tiny polygon dust Because the dust placeholder may be misleadingly far from the feature that contributed the most area to it * Remove unused arguments; update changelog --- CHANGELOG.md | 4 ++ geometry.cpp | 28 +------------ geometry.hpp | 2 +- ...polygon-size_50_--order-largest-first.json | 42 +++++++++---------- .../out/-Z21_-zg_-D10_-d10.json | 12 +++--- tile.cpp | 4 +- version.hpp | 2 +- 7 files changed, 35 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2337fa3e5..c51372511 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 2.46.0 + +* Polygon dust returns to having the attributes of the contributing feature nearest the placeholder instead of the contributing feature with the largest area. + # 2.45.0 * Adjust tile size limit with --retain-points-multiplier dynamically within each tile, to allow multiplier features at high zooms if other features are being dropped as-needed diff --git a/geometry.cpp b/geometry.cpp index 31a1c15af..2b4343d37 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -168,11 +168,9 @@ void check_polygon(drawvec &geom) { } } -drawvec reduce_tiny_poly(drawvec const &geom, int z, int detail, bool *still_needs_simplification, bool *reduced_away, double *accum_area, serial_feature *this_feature, serial_feature *tiny_feature) { +drawvec reduce_tiny_poly(drawvec const &geom, int z, int detail, bool *still_needs_simplification, bool *reduced_away, double *accum_area) { drawvec out; const double pixel = (1LL << (32 - detail - z)) * (double) tiny_polygon_size; - bool includes_real = false; - bool includes_dust = false; bool included_last_outer = false; *still_needs_simplification = false; @@ -217,7 +215,6 @@ drawvec reduce_tiny_poly(drawvec const &geom, int z, int detail, bool *still_nee out.emplace_back(VT_LINETO, geom[i].x - pixel / 2 + pixel, geom[i].y - pixel / 2 + pixel); out.emplace_back(VT_LINETO, geom[i].x - pixel / 2, geom[i].y - pixel / 2 + pixel); out.emplace_back(VT_LINETO, geom[i].x - pixel / 2, geom[i].y - pixel / 2); - includes_dust = true; *accum_area -= pixel * pixel; } @@ -238,7 +235,6 @@ drawvec reduce_tiny_poly(drawvec const &geom, int z, int detail, bool *still_nee // which means that the overall polygon has a real geometry, // which means that it gets to be simplified. *still_needs_simplification = true; - includes_real = true; if (area > 0) { included_last_outer = true; @@ -260,28 +256,6 @@ drawvec reduce_tiny_poly(drawvec const &geom, int z, int detail, bool *still_nee fprintf(stderr, "\n"); out.push_back(geom[i]); - includes_real = true; - } - } - - if (!includes_real) { - if (includes_dust) { - // this geometry is just dust, so if there is another feature that - // contributed to the dust that is larger than this feature, - // keep its attributes instead of this one that just happened to be - // the one that hit the threshold of survival. - - if (tiny_feature->extent > this_feature->extent) { - *this_feature = *tiny_feature; - tiny_feature->extent = 0; - } - } else { - // this is a feature that we are throwing away, so hang on to it - // attributes if it is bigger than the biggest one we threw away so far - - if (this_feature->extent > tiny_feature->extent) { - *tiny_feature = *this_feature; - } } } diff --git a/geometry.hpp b/geometry.hpp index 850f7e798..f847afd15 100644 --- a/geometry.hpp +++ b/geometry.hpp @@ -74,7 +74,7 @@ drawvec remove_noop(drawvec geom, int type, int shift); drawvec clip_point(drawvec &geom, int z, long long buffer); drawvec clean_or_clip_poly(drawvec &geom, int z, int buffer, bool clip, bool try_scaling); drawvec close_poly(drawvec &geom); -drawvec reduce_tiny_poly(const drawvec &geom, int z, int detail, bool *still_needs_simplification, bool *reduced_away, double *accum_area, serial_feature *this_feature, serial_feature *tiny_feature); +drawvec reduce_tiny_poly(const drawvec &geom, int z, int detail, bool *still_needs_simplification, bool *reduced_away, double *accum_area); int clip(long long *x0, long long *y0, long long *x1, long long *y1, long long xmin, long long ymin, long long xmax, long long ymax); drawvec clip_lines(drawvec &geom, int z, long long buffer); drawvec stairstep(drawvec &geom, int z, int detail); 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 3535bc31b..62f057ad5 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 @@ -207,55 +207,55 @@ , { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 3, "sovereignt": "Senegal", "sov_a3": "SEN", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Senegal", "adm0_a3": "SEN", "geou_dif": 0, "geounit": "Senegal", "gu_a3": "SEN", "su_dif": 0, "subunit": "Senegal", "su_a3": "SEN", "brk_diff": 0, "name": "Senegal", "name_long": "Senegal", "brk_a3": "SEN", "brk_name": "Senegal", "abbrev": "Sen.", "postal": "SN", "formal_en": "Republic of Senegal", "name_sort": "Senegal", "mapcolor7": 2, "mapcolor8": 6, "mapcolor9": 5, "mapcolor13": 5, "pop_est": 13711597, "gdp_md_est": 21980, "pop_year": -99, "lastcensus": 2002, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "4. Lower middle income", "wikipedia": -99, "iso_a2": "SN", "iso_a3": "SEN", "iso_n3": "686", "un_a3": "686", "wb_a2": "SN", "wb_a3": "SEN", "woe_id": -99, "adm0_a3_is": "SEN", "adm0_a3_us": "SEN", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Western Africa", "region_wb": "Sub-Saharan Africa", "name_len": 7, "long_len": 7, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -15.029297, 17.056785 ], [ -15.029297, 12.811801 ], [ -19.423828, 12.811801 ], [ -19.423828, 17.056785 ], [ -15.029297, 17.056785 ] ] ] } } , -{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 4, "sovereignt": "Bulgaria", "sov_a3": "BGR", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Bulgaria", "adm0_a3": "BGR", "geou_dif": 0, "geounit": "Bulgaria", "gu_a3": "BGR", "su_dif": 0, "subunit": "Bulgaria", "su_a3": "BGR", "brk_diff": 0, "name": "Bulgaria", "name_long": "Bulgaria", "brk_a3": "BGR", "brk_name": "Bulgaria", "abbrev": "Bulg.", "postal": "BG", "formal_en": "Republic of Bulgaria", "name_sort": "Bulgaria", "mapcolor7": 4, "mapcolor8": 5, "mapcolor9": 1, "mapcolor13": 8, "pop_est": 7204687, "gdp_md_est": 93750, "pop_year": -99, "lastcensus": 2011, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "3. Upper middle income", "wikipedia": -99, "iso_a2": "BG", "iso_a3": "BGR", "iso_n3": "100", "un_a3": "100", "wb_a2": "BG", "wb_a3": "BGR", "woe_id": -99, "adm0_a3_is": "BGR", "adm0_a3_us": "BGR", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Eastern Europe", "region_wb": "Europe & Central Asia", "name_len": 8, "long_len": 8, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 30.410156, 46.980252 ], [ 30.410156, 43.897892 ], [ 26.015625, 43.897892 ], [ 26.015625, 46.980252 ], [ 30.410156, 46.980252 ] ] ] } } -, { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 5, "sovereignt": "Hungary", "sov_a3": "HUN", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Hungary", "adm0_a3": "HUN", "geou_dif": 0, "geounit": "Hungary", "gu_a3": "HUN", "su_dif": 0, "subunit": "Hungary", "su_a3": "HUN", "brk_diff": 0, "name": "Hungary", "name_long": "Hungary", "brk_a3": "HUN", "brk_name": "Hungary", "abbrev": "Hun.", "postal": "HU", "formal_en": "Republic of Hungary", "name_sort": "Hungary", "mapcolor7": 4, "mapcolor8": 6, "mapcolor9": 1, "mapcolor13": 5, "pop_est": 9905596, "gdp_md_est": 196600, "pop_year": -99, "lastcensus": 2001, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "1. High income: OECD", "wikipedia": -99, "iso_a2": "HU", "iso_a3": "HUN", "iso_n3": "348", "un_a3": "348", "wb_a2": "HU", "wb_a3": "HUN", "woe_id": -99, "adm0_a3_is": "HUN", "adm0_a3_us": "HUN", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Eastern Europe", "region_wb": "Europe & Central Asia", "name_len": 7, "long_len": 7, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 18.369141, 48.341646 ], [ 18.369141, 45.336702 ], [ 13.974609, 45.336702 ], [ 13.974609, 48.341646 ], [ 18.369141, 48.341646 ] ] ] } } , { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 5, "sovereignt": "Lithuania", "sov_a3": "LTU", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Lithuania", "adm0_a3": "LTU", "geou_dif": 0, "geounit": "Lithuania", "gu_a3": "LTU", "su_dif": 0, "subunit": "Lithuania", "su_a3": "LTU", "brk_diff": 0, "name": "Lithuania", "name_long": "Lithuania", "brk_a3": "LTU", "brk_name": "Lithuania", "abbrev": "Lith.", "postal": "LT", "formal_en": "Republic of Lithuania", "name_sort": "Lithuania", "mapcolor7": 6, "mapcolor8": 3, "mapcolor9": 3, "mapcolor13": 9, "pop_est": 3555179, "gdp_md_est": 63330, "pop_year": -99, "lastcensus": 2011, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "3. Upper middle income", "wikipedia": -99, "iso_a2": "LT", "iso_a3": "LTU", "iso_n3": "440", "un_a3": "440", "wb_a2": "LT", "wb_a3": "LTU", "woe_id": -99, "adm0_a3_is": "LTU", "adm0_a3_us": "LTU", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Northern Europe", "region_wb": "Europe & Central Asia", "name_len": 9, "long_len": 9, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 24.433594, 57.515823 ], [ 24.433594, 55.078367 ], [ 20.039062, 55.078367 ], [ 20.039062, 57.515823 ], [ 24.433594, 57.515823 ] ] ] } } , -{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 3, "sovereignt": "Nepal", "sov_a3": "NPL", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Nepal", "adm0_a3": "NPL", "geou_dif": 0, "geounit": "Nepal", "gu_a3": "NPL", "su_dif": 0, "subunit": "Nepal", "su_a3": "NPL", "brk_diff": 0, "name": "Nepal", "name_long": "Nepal", "brk_a3": "NPL", "brk_name": "Nepal", "abbrev": "Nepal", "postal": "NP", "formal_en": "Nepal", "name_sort": "Nepal", "mapcolor7": 2, "mapcolor8": 2, "mapcolor9": 3, "mapcolor13": 12, "pop_est": 28563377, "gdp_md_est": 31080, "pop_year": -99, "lastcensus": 2001, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "5. Low income", "wikipedia": -99, "iso_a2": "NP", "iso_a3": "NPL", "iso_n3": "524", "un_a3": "524", "wb_a2": "NP", "wb_a3": "NPL", "woe_id": -99, "adm0_a3_is": "NPL", "adm0_a3_us": "NPL", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Asia", "region_un": "Asia", "subregion": "Southern Asia", "region_wb": "South Asia", "name_len": 5, "long_len": 5, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 83.847656, 8.667918 ], [ 83.847656, 4.302591 ], [ 79.453125, 4.302591 ], [ 79.453125, 8.667918 ], [ 83.847656, 8.667918 ] ] ] } } -, { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 5, "sovereignt": "Czech Republic", "sov_a3": "CZE", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Czech Republic", "adm0_a3": "CZE", "geou_dif": 0, "geounit": "Czech Republic", "gu_a3": "CZE", "su_dif": 0, "subunit": "Czech Republic", "su_a3": "CZE", "brk_diff": 0, "name": "Czech Rep.", "name_long": "Czech Republic", "brk_a3": "CZE", "brk_name": "Czech Rep.", "abbrev": "Cz. Rep.", "postal": "CZ", "formal_en": "Czech Republic", "name_sort": "Czech Republic", "mapcolor7": 1, "mapcolor8": 1, "mapcolor9": 2, "mapcolor13": 6, "pop_est": 10211904, "gdp_md_est": 265200, "pop_year": -99, "lastcensus": 2011, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "1. High income: OECD", "wikipedia": -99, "iso_a2": "CZ", "iso_a3": "CZE", "iso_n3": "203", "un_a3": "203", "wb_a2": "CZ", "wb_a3": "CZE", "woe_id": -99, "adm0_a3_is": "CZE", "adm0_a3_us": "CZE", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Eastern Europe", "region_wb": "Europe & Central Asia", "name_len": 10, "long_len": 14, "abbrev_len": 8, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 21.093750, 50.903033 ], [ 21.093750, 48.048710 ], [ 16.699219, 48.048710 ], [ 16.699219, 50.903033 ], [ 21.093750, 50.903033 ] ] ] } } , -{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 3, "sovereignt": "Cambodia", "sov_a3": "KHM", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Cambodia", "adm0_a3": "KHM", "geou_dif": 0, "geounit": "Cambodia", "gu_a3": "KHM", "su_dif": 0, "subunit": "Cambodia", "su_a3": "KHM", "brk_diff": 0, "name": "Cambodia", "name_long": "Cambodia", "brk_a3": "KHM", "brk_name": "Cambodia", "abbrev": "Camb.", "postal": "KH", "formal_en": "Kingdom of Cambodia", "name_sort": "Cambodia", "mapcolor7": 6, "mapcolor8": 3, "mapcolor9": 6, "mapcolor13": 5, "pop_est": 14494293, "gdp_md_est": 27940, "pop_year": -99, "lastcensus": 2008, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "5. Low income", "wikipedia": -99, "iso_a2": "KH", "iso_a3": "KHM", "iso_n3": "116", "un_a3": "116", "wb_a2": "KH", "wb_a3": "KHM", "woe_id": -99, "adm0_a3_is": "KHM", "adm0_a3_us": "KHM", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Asia", "region_un": "Asia", "subregion": "South-Eastern Asia", "region_wb": "East Asia & Pacific", "name_len": 8, "long_len": 8, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 34.980469, -7.013668 ], [ 34.980469, -11.350797 ], [ 30.585938, -11.350797 ], [ 30.585938, -7.013668 ], [ 34.980469, -7.013668 ] ] ] } } -, { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 4, "sovereignt": "Austria", "sov_a3": "AUT", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Austria", "adm0_a3": "AUT", "geou_dif": 0, "geounit": "Austria", "gu_a3": "AUT", "su_dif": 0, "subunit": "Austria", "su_a3": "AUT", "brk_diff": 0, "name": "Austria", "name_long": "Austria", "brk_a3": "AUT", "brk_name": "Austria", "abbrev": "Aust.", "postal": "A", "formal_en": "Republic of Austria", "name_sort": "Austria", "mapcolor7": 3, "mapcolor8": 1, "mapcolor9": 3, "mapcolor13": 4, "pop_est": 8210281, "gdp_md_est": 329500, "pop_year": -99, "lastcensus": 2011, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "1. High income: OECD", "wikipedia": -99, "iso_a2": "AT", "iso_a3": "AUT", "iso_n3": "040", "un_a3": "040", "wb_a2": "AT", "wb_a3": "AUT", "woe_id": -99, "adm0_a3_is": "AUT", "adm0_a3_us": "AUT", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Western Europe", "region_wb": "Europe & Central Asia", "name_len": 7, "long_len": 7, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 11.689453, 48.574790 ], [ 11.689453, 45.583290 ], [ 7.294922, 45.583290 ], [ 7.294922, 48.574790 ], [ 11.689453, 48.574790 ] ] ] } } , { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 5, "sovereignt": "Somaliland", "sov_a3": "SOL", "adm0_dif": 0, "level": 2, "type": "Indeterminate", "admin": "Somaliland", "adm0_a3": "SOL", "geou_dif": 0, "geounit": "Somaliland", "gu_a3": "SOL", "su_dif": 0, "subunit": "Somaliland", "su_a3": "SOL", "brk_diff": 1, "name": "Somaliland", "name_long": "Somaliland", "brk_a3": "B30", "brk_name": "Somaliland", "abbrev": "Solnd.", "postal": "SL", "formal_en": "Republic of Somaliland", "note_adm0": "Self admin.", "note_brk": "Self admin.; Claimed by Somalia", "name_sort": "Somaliland", "mapcolor7": 3, "mapcolor8": 6, "mapcolor9": 5, "mapcolor13": 2, "pop_est": 3500000, "gdp_md_est": 12250, "pop_year": -99, "lastcensus": -99, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "4. Lower middle income", "wikipedia": -99, "iso_a2": "-99", "iso_a3": "-99", "iso_n3": "-99", "un_a3": "-099", "wb_a2": "-99", "wb_a3": "-99", "woe_id": -99, "adm0_a3_is": "SOM", "adm0_a3_us": "SOM", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Eastern Africa", "region_wb": "Sub-Saharan Africa", "name_len": 10, "long_len": 10, "abbrev_len": 6, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 51.152344, 12.125264 ], [ 51.152344, 7.798079 ], [ 46.757812, 7.798079 ], [ 46.757812, 12.125264 ], [ 51.152344, 12.125264 ] ] ] } } , -{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 6, "sovereignt": "Estonia", "sov_a3": "EST", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Estonia", "adm0_a3": "EST", "geou_dif": 0, "geounit": "Estonia", "gu_a3": "EST", "su_dif": 0, "subunit": "Estonia", "su_a3": "EST", "brk_diff": 0, "name": "Estonia", "name_long": "Estonia", "brk_a3": "EST", "brk_name": "Estonia", "abbrev": "Est.", "postal": "EST", "formal_en": "Republic of Estonia", "name_sort": "Estonia", "mapcolor7": 3, "mapcolor8": 2, "mapcolor9": 1, "mapcolor13": 10, "pop_est": 1299371, "gdp_md_est": 27410, "pop_year": -99, "lastcensus": 2000, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "1. High income: OECD", "wikipedia": -99, "iso_a2": "EE", "iso_a3": "EST", "iso_n3": "233", "un_a3": "233", "wb_a2": "EE", "wb_a3": "EST", "woe_id": -99, "adm0_a3_is": "EST", "adm0_a3_us": "EST", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Northern Europe", "region_wb": "Europe & Central Asia", "name_len": 7, "long_len": 7, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 19.160156, 49.553726 ], [ 19.160156, 46.619261 ], [ 14.765625, 46.619261 ], [ 14.765625, 49.553726 ], [ 19.160156, 49.553726 ] ] ] } } -, { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 3, "sovereignt": "Ireland", "sov_a3": "IRL", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Ireland", "adm0_a3": "IRL", "geou_dif": 0, "geounit": "Ireland", "gu_a3": "IRL", "su_dif": 0, "subunit": "Ireland", "su_a3": "IRL", "brk_diff": 0, "name": "Ireland", "name_long": "Ireland", "brk_a3": "IRL", "brk_name": "Ireland", "abbrev": "Ire.", "postal": "IRL", "formal_en": "Ireland", "name_sort": "Ireland", "mapcolor7": 2, "mapcolor8": 3, "mapcolor9": 2, "mapcolor13": 2, "pop_est": 4203200, "gdp_md_est": 188400, "pop_year": -99, "lastcensus": 2011, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "1. High income: OECD", "wikipedia": -99, "iso_a2": "IE", "iso_a3": "IRL", "iso_n3": "372", "un_a3": "372", "wb_a2": "IE", "wb_a3": "IRL", "woe_id": -99, "adm0_a3_is": "IRL", "adm0_a3_us": "IRL", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Northern Europe", "region_wb": "Europe & Central Asia", "name_len": 7, "long_len": 7, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -5.361328, 56.365250 ], [ -5.361328, 53.852527 ], [ -9.755859, 53.852527 ], [ -9.755859, 56.365250 ], [ -5.361328, 56.365250 ] ] ] } } , { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 3, "sovereignt": "Bangladesh", "sov_a3": "BGD", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Bangladesh", "adm0_a3": "BGD", "geou_dif": 0, "geounit": "Bangladesh", "gu_a3": "BGD", "su_dif": 0, "subunit": "Bangladesh", "su_a3": "BGD", "brk_diff": 0, "name": "Bangladesh", "name_long": "Bangladesh", "brk_a3": "BGD", "brk_name": "Bangladesh", "abbrev": "Bang.", "postal": "BD", "formal_en": "People's Republic of Bangladesh", "name_sort": "Bangladesh", "mapcolor7": 3, "mapcolor8": 4, "mapcolor9": 7, "mapcolor13": 7, "pop_est": 156050883, "gdp_md_est": 224000, "pop_year": -99, "lastcensus": 2011, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "5. Low income", "wikipedia": -99, "iso_a2": "BD", "iso_a3": "BGD", "iso_n3": "050", "un_a3": "050", "wb_a2": "BD", "wb_a3": "BGD", "woe_id": -99, "adm0_a3_is": "BGD", "adm0_a3_us": "BGD", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Asia", "region_un": "Asia", "subregion": "Southern Asia", "region_wb": "South Asia", "name_len": 10, "long_len": 10, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 94.833984, 23.322080 ], [ 94.833984, 19.228177 ], [ 90.439453, 19.228177 ], [ 90.439453, 23.322080 ], [ 94.833984, 23.322080 ] ] ] } } , { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 2, "sovereignt": "Portugal", "sov_a3": "PRT", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Portugal", "adm0_a3": "PRT", "geou_dif": 0, "geounit": "Portugal", "gu_a3": "PRT", "su_dif": 1, "subunit": "Portugal", "su_a3": "PR1", "brk_diff": 0, "name": "Portugal", "name_long": "Portugal", "brk_a3": "PR1", "brk_name": "Portugal", "abbrev": "Port.", "postal": "P", "formal_en": "Portuguese Republic", "name_sort": "Portugal", "mapcolor7": 1, "mapcolor8": 7, "mapcolor9": 1, "mapcolor13": 4, "pop_est": 10707924, "gdp_md_est": 208627, "pop_year": -99, "lastcensus": 2011, "gdp_year": 0, "economy": "2. Developed region: nonG7", "income_grp": "1. High income: OECD", "wikipedia": -99, "iso_a2": "PT", "iso_a3": "PRT", "iso_n3": "620", "un_a3": "620", "wb_a2": "PT", "wb_a3": "PRT", "woe_id": -99, "adm0_a3_is": "PRT", "adm0_a3_us": "PRT", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Southern Europe", "region_wb": "Europe & Central Asia", "name_len": 8, "long_len": 8, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -6.152344, 38.685510 ], [ -6.152344, 35.173808 ], [ -10.546875, 35.173808 ], [ -10.546875, 38.685510 ], [ -6.152344, 38.685510 ] ] ] } } , -{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 5, "sovereignt": "Azerbaijan", "sov_a3": "AZE", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Azerbaijan", "adm0_a3": "AZE", "geou_dif": 0, "geounit": "Azerbaijan", "gu_a3": "AZE", "su_dif": 0, "subunit": "Azerbaijan", "su_a3": "AZE", "brk_diff": 0, "name": "Azerbaijan", "name_long": "Azerbaijan", "brk_a3": "AZE", "brk_name": "Azerbaijan", "abbrev": "Aze.", "postal": "AZ", "formal_en": "Republic of Azerbaijan", "name_sort": "Azerbaijan", "mapcolor7": 1, "mapcolor8": 6, "mapcolor9": 5, "mapcolor13": 8, "pop_est": 8238672, "gdp_md_est": 77610, "pop_year": -99, "lastcensus": 2009, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "3. Upper middle income", "wikipedia": -99, "iso_a2": "AZ", "iso_a3": "AZE", "iso_n3": "031", "un_a3": "031", "wb_a2": "AZ", "wb_a3": "AZE", "woe_id": -99, "adm0_a3_is": "AZE", "adm0_a3_us": "AZE", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Asia", "region_un": "Asia", "subregion": "Western Asia", "region_wb": "Europe & Central Asia", "name_len": 10, "long_len": 10, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 49.921875, 30.448674 ], [ 49.921875, 26.588527 ], [ 45.527344, 26.588527 ], [ 45.527344, 30.448674 ], [ 49.921875, 30.448674 ] ] ] } } -, -{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 5, "sovereignt": "Republic of Serbia", "sov_a3": "SRB", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Republic of Serbia", "adm0_a3": "SRB", "geou_dif": 0, "geounit": "Republic of Serbia", "gu_a3": "SRB", "su_dif": 0, "subunit": "Republic of Serbia", "su_a3": "SRB", "brk_diff": 0, "name": "Serbia", "name_long": "Serbia", "brk_a3": "SRB", "brk_name": "Serbia", "abbrev": "Serb.", "postal": "RS", "formal_en": "Republic of Serbia", "name_sort": "Serbia", "mapcolor7": 3, "mapcolor8": 3, "mapcolor9": 2, "mapcolor13": 10, "pop_est": 7379339, "gdp_md_est": 80340, "pop_year": -99, "lastcensus": 2011, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "3. Upper middle income", "wikipedia": -99, "iso_a2": "RS", "iso_a3": "SRB", "iso_n3": "688", "un_a3": "688", "wb_a2": "YF", "wb_a3": "SRB", "woe_id": -99, "adm0_a3_is": "SRB", "adm0_a3_us": "SRB", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Southern Europe", "region_wb": "Europe & Central Asia", "name_len": 6, "long_len": 6, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 22.675781, 43.133061 ], [ 22.675781, 39.842286 ], [ 18.281250, 39.842286 ], [ 18.281250, 43.133061 ], [ 22.675781, 43.133061 ] ] ] } } -, { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 4, "sovereignt": "Suriname", "sov_a3": "SUR", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Suriname", "adm0_a3": "SUR", "geou_dif": 0, "geounit": "Suriname", "gu_a3": "SUR", "su_dif": 0, "subunit": "Suriname", "su_a3": "SUR", "brk_diff": 0, "name": "Suriname", "name_long": "Suriname", "brk_a3": "SUR", "brk_name": "Suriname", "abbrev": "Sur.", "postal": "SR", "formal_en": "Republic of Suriname", "name_sort": "Suriname", "mapcolor7": 1, "mapcolor8": 4, "mapcolor9": 7, "mapcolor13": 6, "pop_est": 481267, "gdp_md_est": 4254, "pop_year": -99, "lastcensus": 2004, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "3. Upper middle income", "wikipedia": -99, "iso_a2": "SR", "iso_a3": "SUR", "iso_n3": "740", "un_a3": "740", "wb_a2": "SR", "wb_a3": "SUR", "woe_id": -99, "adm0_a3_is": "SUR", "adm0_a3_us": "SUR", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "South America", "region_un": "Americas", "subregion": "South America", "region_wb": "Latin America & Caribbean", "name_len": 8, "long_len": 8, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -54.931641, 5.003394 ], [ -54.931641, 0.615223 ], [ -59.326172, 0.615223 ], [ -59.326172, 5.003394 ], [ -54.931641, 5.003394 ] ] ] } } , { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 4, "sovereignt": "Denmark", "sov_a3": "DN1", "adm0_dif": 1, "level": 2, "type": "Country", "admin": "Denmark", "adm0_a3": "DNK", "geou_dif": 0, "geounit": "Denmark", "gu_a3": "DNK", "su_dif": 0, "subunit": "Denmark", "su_a3": "DNK", "brk_diff": 0, "name": "Denmark", "name_long": "Denmark", "brk_a3": "DNK", "brk_name": "Denmark", "abbrev": "Den.", "postal": "DK", "formal_en": "Kingdom of Denmark", "name_sort": "Denmark", "mapcolor7": 4, "mapcolor8": 1, "mapcolor9": 3, "mapcolor13": 12, "pop_est": 5500510, "gdp_md_est": 203600, "pop_year": -99, "lastcensus": 2011, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "1. High income: OECD", "wikipedia": -99, "iso_a2": "DK", "iso_a3": "DNK", "iso_n3": "208", "un_a3": "208", "wb_a2": "DK", "wb_a3": "DNK", "woe_id": -99, "adm0_a3_is": "DNK", "adm0_a3_us": "DNK", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Northern Europe", "region_wb": "Europe & Central Asia", "name_len": 7, "long_len": 7, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 12.744141, 58.904646 ], [ 12.744141, 56.559482 ], [ 8.349609, 56.559482 ], [ 8.349609, 58.904646 ], [ 12.744141, 58.904646 ] ] ] } } , -{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 5, "sovereignt": "Nicaragua", "sov_a3": "NIC", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Nicaragua", "adm0_a3": "NIC", "geou_dif": 0, "geounit": "Nicaragua", "gu_a3": "NIC", "su_dif": 0, "subunit": "Nicaragua", "su_a3": "NIC", "brk_diff": 0, "name": "Nicaragua", "name_long": "Nicaragua", "brk_a3": "NIC", "brk_name": "Nicaragua", "abbrev": "Nic.", "postal": "NI", "formal_en": "Republic of Nicaragua", "name_sort": "Nicaragua", "mapcolor7": 1, "mapcolor8": 4, "mapcolor9": 1, "mapcolor13": 9, "pop_est": 5891199, "gdp_md_est": 16790, "pop_year": -99, "lastcensus": 2005, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "4. Lower middle income", "wikipedia": -99, "iso_a2": "NI", "iso_a3": "NIC", "iso_n3": "558", "un_a3": "558", "wb_a2": "NI", "wb_a3": "NIC", "woe_id": -99, "adm0_a3_is": "NIC", "adm0_a3_us": "NIC", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "North America", "region_un": "Americas", "subregion": "Central America", "region_wb": "Latin America & Caribbean", "name_len": 9, "long_len": 9, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -83.408203, 13.325485 ], [ -83.408203, 9.015302 ], [ -87.802734, 9.015302 ], [ -87.802734, 13.325485 ], [ -83.408203, 13.325485 ] ] ] } } -, { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 3, "sovereignt": "Cuba", "sov_a3": "CUB", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Cuba", "adm0_a3": "CUB", "geou_dif": 0, "geounit": "Cuba", "gu_a3": "CUB", "su_dif": 0, "subunit": "Cuba", "su_a3": "CUB", "brk_diff": 0, "name": "Cuba", "name_long": "Cuba", "brk_a3": "CUB", "brk_name": "Cuba", "abbrev": "Cuba", "postal": "CU", "formal_en": "Republic of Cuba", "name_sort": "Cuba", "mapcolor7": 3, "mapcolor8": 5, "mapcolor9": 3, "mapcolor13": 4, "pop_est": 11451652, "gdp_md_est": 108200, "pop_year": -99, "lastcensus": 2002, "gdp_year": -99, "economy": "5. Emerging region: G20", "income_grp": "3. Upper middle income", "wikipedia": -99, "iso_a2": "CU", "iso_a3": "CUB", "iso_n3": "192", "un_a3": "192", "wb_a2": "CU", "wb_a3": "CUB", "woe_id": -99, "adm0_a3_is": "CUB", "adm0_a3_us": "CUB", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "North America", "region_un": "Americas", "subregion": "Caribbean", "region_wb": "Latin America & Caribbean", "name_len": 4, "long_len": 4, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -82.001953, 24.607069 ], [ -82.001953, 20.550509 ], [ -86.396484, 20.550509 ], [ -86.396484, 24.607069 ], [ -82.001953, 24.607069 ] ] ] } } , -{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 4, "sovereignt": "Eritrea", "sov_a3": "ERI", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Eritrea", "adm0_a3": "ERI", "geou_dif": 0, "geounit": "Eritrea", "gu_a3": "ERI", "su_dif": 0, "subunit": "Eritrea", "su_a3": "ERI", "brk_diff": 0, "name": "Eritrea", "name_long": "Eritrea", "brk_a3": "ERI", "brk_name": "Eritrea", "abbrev": "Erit.", "postal": "ER", "formal_en": "State of Eritrea", "name_sort": "Eritrea", "mapcolor7": 3, "mapcolor8": 1, "mapcolor9": 2, "mapcolor13": 12, "pop_est": 5647168, "gdp_md_est": 3945, "pop_year": -99, "lastcensus": 1984, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "5. Low income", "wikipedia": -99, "iso_a2": "ER", "iso_a3": "ERI", "iso_n3": "232", "un_a3": "232", "wb_a2": "ER", "wb_a3": "ERI", "woe_id": -99, "adm0_a3_is": "ERI", "adm0_a3_us": "ERI", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Eastern Africa", "region_wb": "Sub-Saharan Africa", "name_len": 7, "long_len": 7, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 43.857422, 13.752725 ], [ 43.857422, 9.449062 ], [ 39.462891, 9.449062 ], [ 39.462891, 13.752725 ], [ 43.857422, 13.752725 ] ] ] } } -, -{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 5, "sovereignt": "Georgia", "sov_a3": "GEO", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Georgia", "adm0_a3": "GEO", "geou_dif": 0, "geounit": "Georgia", "gu_a3": "GEO", "su_dif": 0, "subunit": "Georgia", "su_a3": "GEO", "brk_diff": 0, "name": "Georgia", "name_long": "Georgia", "brk_a3": "GEO", "brk_name": "Georgia", "abbrev": "Geo.", "postal": "GE", "formal_en": "Georgia", "name_sort": "Georgia", "mapcolor7": 5, "mapcolor8": 1, "mapcolor9": 3, "mapcolor13": 2, "pop_est": 4615807, "gdp_md_est": 21510, "pop_year": -99, "lastcensus": 2002, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "4. Lower middle income", "wikipedia": -99, "iso_a2": "GE", "iso_a3": "GEO", "iso_n3": "268", "un_a3": "268", "wb_a2": "GE", "wb_a3": "GEO", "woe_id": -99, "adm0_a3_is": "GEO", "adm0_a3_us": "GEO", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Asia", "region_un": "Asia", "subregion": "Western Asia", "region_wb": "Europe & Central Asia", "name_len": 7, "long_len": 7, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 5.800781, 13.838080 ], [ 5.800781, 9.535749 ], [ 1.406250, 9.535749 ], [ 1.406250, 13.838080 ], [ 5.800781, 13.838080 ] ] ] } } -, { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 5, "sovereignt": "Honduras", "sov_a3": "HND", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Honduras", "adm0_a3": "HND", "geou_dif": 0, "geounit": "Honduras", "gu_a3": "HND", "su_dif": 0, "subunit": "Honduras", "su_a3": "HND", "brk_diff": 0, "name": "Honduras", "name_long": "Honduras", "brk_a3": "HND", "brk_name": "Honduras", "abbrev": "Hond.", "postal": "HN", "formal_en": "Republic of Honduras", "name_sort": "Honduras", "mapcolor7": 2, "mapcolor8": 5, "mapcolor9": 2, "mapcolor13": 5, "pop_est": 7792854, "gdp_md_est": 33720, "pop_year": -99, "lastcensus": 2001, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "4. Lower middle income", "wikipedia": -99, "iso_a2": "HN", "iso_a3": "HND", "iso_n3": "340", "un_a3": "340", "wb_a2": "HN", "wb_a3": "HND", "woe_id": -99, "adm0_a3_is": "HND", "adm0_a3_us": "HND", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "North America", "region_un": "Americas", "subregion": "Central America", "region_wb": "Latin America & Caribbean", "name_len": 8, "long_len": 8, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -86.923828, 17.140790 ], [ -86.923828, 12.897489 ], [ -91.318359, 12.897489 ], [ -91.318359, 17.140790 ], [ -86.923828, 17.140790 ] ] ] } } , { "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 4, "sovereignt": "Jordan", "sov_a3": "JOR", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Jordan", "adm0_a3": "JOR", "geou_dif": 0, "geounit": "Jordan", "gu_a3": "JOR", "su_dif": 0, "subunit": "Jordan", "su_a3": "JOR", "brk_diff": 0, "name": "Jordan", "name_long": "Jordan", "brk_a3": "JOR", "brk_name": "Jordan", "abbrev": "Jord.", "postal": "J", "formal_en": "Hashemite Kingdom of Jordan", "name_sort": "Jordan", "mapcolor7": 5, "mapcolor8": 3, "mapcolor9": 4, "mapcolor13": 4, "pop_est": 6342948, "gdp_md_est": 31610, "pop_year": -99, "lastcensus": 2004, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "3. Upper middle income", "wikipedia": -99, "iso_a2": "JO", "iso_a3": "JOR", "iso_n3": "400", "un_a3": "400", "wb_a2": "JO", "wb_a3": "JOR", "woe_id": -99, "adm0_a3_is": "JOR", "adm0_a3_us": "JOR", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Asia", "region_un": "Asia", "subregion": "Western Asia", "region_wb": "Middle East & North Africa", "name_len": 6, "long_len": 6, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 37.089844, 31.428663 ], [ 37.089844, 27.605671 ], [ 32.695312, 27.605671 ], [ 32.695312, 31.428663 ], [ 37.089844, 31.428663 ] ] ] } } , -{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 7, "sovereignt": "Western Sahara", "sov_a3": "SAH", "adm0_dif": 0, "level": 2, "type": "Indeterminate", "admin": "Western Sahara", "adm0_a3": "SAH", "geou_dif": 0, "geounit": "Western Sahara", "gu_a3": "SAH", "su_dif": 0, "subunit": "Western Sahara", "su_a3": "SAH", "brk_diff": 1, "name": "W. Sahara", "name_long": "Western Sahara", "brk_a3": "B28", "brk_name": "W. Sahara", "abbrev": "W. Sah.", "postal": "WS", "formal_en": "Sahrawi Arab Democratic Republic", "note_adm0": "Self admin.", "note_brk": "Self admin.; Claimed by Morocco", "name_sort": "Western Sahara", "mapcolor7": 4, "mapcolor8": 7, "mapcolor9": 4, "mapcolor13": 4, "pop_est": -99, "gdp_md_est": -99, "pop_year": -99, "lastcensus": -99, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "5. Low income", "wikipedia": -99, "iso_a2": "EH", "iso_a3": "ESH", "iso_n3": "732", "un_a3": "732", "wb_a2": "-99", "wb_a3": "-99", "woe_id": -99, "adm0_a3_is": "MAR", "adm0_a3_us": "SAH", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Northern Africa", "region_wb": "Middle East & North Africa", "name_len": 9, "long_len": 14, "abbrev_len": 7, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -7.558594, 10.746969 ], [ -7.558594, 6.402648 ], [ -11.953125, 6.402648 ], [ -11.953125, 10.746969 ], [ -7.558594, 10.746969 ] ] ] } } +{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 5, "sovereignt": "Benin", "sov_a3": "BEN", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Benin", "adm0_a3": "BEN", "geou_dif": 0, "geounit": "Benin", "gu_a3": "BEN", "su_dif": 0, "subunit": "Benin", "su_a3": "BEN", "brk_diff": 0, "name": "Benin", "name_long": "Benin", "brk_a3": "BEN", "brk_name": "Benin", "abbrev": "Benin", "postal": "BJ", "formal_en": "Republic of Benin", "name_sort": "Benin", "mapcolor7": 1, "mapcolor8": 2, "mapcolor9": 2, "mapcolor13": 12, "pop_est": 8791832, "gdp_md_est": 12830, "pop_year": -99, "lastcensus": 2002, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "5. Low income", "wikipedia": -99, "iso_a2": "BJ", "iso_a3": "BEN", "iso_n3": "204", "un_a3": "204", "wb_a2": "BJ", "wb_a3": "BEN", "woe_id": -99, "adm0_a3_is": "BEN", "adm0_a3_us": "BEN", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Western Africa", "region_wb": "Sub-Saharan Africa", "name_len": 5, "long_len": 5, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 5.800781, 13.838080 ], [ 5.800781, 9.535749 ], [ 1.406250, 9.535749 ], [ 1.406250, 13.838080 ], [ 5.800781, 13.838080 ] ] ] } } +, +{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 6, "sovereignt": "Malawi", "sov_a3": "MWI", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Malawi", "adm0_a3": "MWI", "geou_dif": 0, "geounit": "Malawi", "gu_a3": "MWI", "su_dif": 0, "subunit": "Malawi", "su_a3": "MWI", "brk_diff": 0, "name": "Malawi", "name_long": "Malawi", "brk_a3": "MWI", "brk_name": "Malawi", "abbrev": "Mal.", "postal": "MW", "formal_en": "Republic of Malawi", "name_sort": "Malawi", "mapcolor7": 1, "mapcolor8": 3, "mapcolor9": 4, "mapcolor13": 5, "pop_est": 14268711, "gdp_md_est": 11810, "pop_year": -99, "lastcensus": 2008, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "5. Low income", "wikipedia": -99, "iso_a2": "MW", "iso_a3": "MWI", "iso_n3": "454", "un_a3": "454", "wb_a2": "MW", "wb_a3": "MWI", "woe_id": -99, "adm0_a3_is": "MWI", "adm0_a3_us": "MWI", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Eastern Africa", "region_wb": "Sub-Saharan Africa", "name_len": 6, "long_len": 6, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 34.980469, -7.013668 ], [ 34.980469, -11.350797 ], [ 30.585938, -11.350797 ], [ 30.585938, -7.013668 ], [ 34.980469, -7.013668 ] ] ] } } +, +{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 6, "sovereignt": "Slovakia", "sov_a3": "SVK", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Slovakia", "adm0_a3": "SVK", "geou_dif": 0, "geounit": "Slovakia", "gu_a3": "SVK", "su_dif": 0, "subunit": "Slovakia", "su_a3": "SVK", "brk_diff": 0, "name": "Slovakia", "name_long": "Slovakia", "brk_a3": "SVK", "brk_name": "Slovakia", "abbrev": "Svk.", "postal": "SK", "formal_en": "Slovak Republic", "name_sort": "Slovak Republic", "mapcolor7": 2, "mapcolor8": 4, "mapcolor9": 4, "mapcolor13": 9, "pop_est": 5463046, "gdp_md_est": 119500, "pop_year": -99, "lastcensus": 2011, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "1. High income: OECD", "wikipedia": -99, "iso_a2": "SK", "iso_a3": "SVK", "iso_n3": "703", "un_a3": "703", "wb_a2": "SK", "wb_a3": "SVK", "woe_id": -99, "adm0_a3_is": "SVK", "adm0_a3_us": "SVK", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Eastern Europe", "region_wb": "Europe & Central Asia", "name_len": 8, "long_len": 8, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 19.160156, 49.553726 ], [ 19.160156, 46.619261 ], [ 14.765625, 46.619261 ], [ 14.765625, 49.553726 ], [ 19.160156, 49.553726 ] ] ] } } +, +{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 4, "sovereignt": "Liberia", "sov_a3": "LBR", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Liberia", "adm0_a3": "LBR", "geou_dif": 0, "geounit": "Liberia", "gu_a3": "LBR", "su_dif": 0, "subunit": "Liberia", "su_a3": "LBR", "brk_diff": 0, "name": "Liberia", "name_long": "Liberia", "brk_a3": "LBR", "brk_name": "Liberia", "abbrev": "Liberia", "postal": "LR", "formal_en": "Republic of Liberia", "name_sort": "Liberia", "mapcolor7": 2, "mapcolor8": 3, "mapcolor9": 4, "mapcolor13": 9, "pop_est": 3441790, "gdp_md_est": 1526, "pop_year": -99, "lastcensus": 2008, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "5. Low income", "wikipedia": -99, "iso_a2": "LR", "iso_a3": "LBR", "iso_n3": "430", "un_a3": "430", "wb_a2": "LR", "wb_a3": "LBR", "woe_id": -99, "adm0_a3_is": "LBR", "adm0_a3_us": "LBR", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Western Africa", "region_wb": "Sub-Saharan Africa", "name_len": 7, "long_len": 7, "abbrev_len": 7, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -7.558594, 10.746969 ], [ -7.558594, 6.402648 ], [ -11.953125, 6.402648 ], [ -11.953125, 10.746969 ], [ -7.558594, 10.746969 ] ] ] } } +, +{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 4, "sovereignt": "Switzerland", "sov_a3": "CHE", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Switzerland", "adm0_a3": "CHE", "geou_dif": 0, "geounit": "Switzerland", "gu_a3": "CHE", "su_dif": 0, "subunit": "Switzerland", "su_a3": "CHE", "brk_diff": 0, "name": "Switzerland", "name_long": "Switzerland", "brk_a3": "CHE", "brk_name": "Switzerland", "abbrev": "Switz.", "postal": "CH", "formal_en": "Swiss Confederation", "name_sort": "Switzerland", "mapcolor7": 5, "mapcolor8": 2, "mapcolor9": 7, "mapcolor13": 3, "pop_est": 7604467, "gdp_md_est": 316700, "pop_year": -99, "lastcensus": 2010, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "1. High income: OECD", "wikipedia": -99, "iso_a2": "CH", "iso_a3": "CHE", "iso_n3": "756", "un_a3": "756", "wb_a2": "CH", "wb_a3": "CHE", "woe_id": -99, "adm0_a3_is": "CHE", "adm0_a3_us": "CHE", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Western Europe", "region_wb": "Europe & Central Asia", "name_len": 11, "long_len": 11, "abbrev_len": 6, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 9.931641, 47.338823 ], [ 9.931641, 44.276671 ], [ 5.537109, 44.276671 ], [ 5.537109, 47.338823 ], [ 9.931641, 47.338823 ] ] ] } } +, +{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 6, "sovereignt": "Moldova", "sov_a3": "MDA", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Moldova", "adm0_a3": "MDA", "geou_dif": 0, "geounit": "Moldova", "gu_a3": "MDA", "su_dif": 0, "subunit": "Moldova", "su_a3": "MDA", "brk_diff": 0, "name": "Moldova", "name_long": "Moldova", "brk_a3": "MDA", "brk_name": "Moldova", "abbrev": "Mda.", "postal": "MD", "formal_en": "Republic of Moldova", "name_sort": "Moldova", "mapcolor7": 3, "mapcolor8": 5, "mapcolor9": 4, "mapcolor13": 12, "pop_est": 4320748, "gdp_md_est": 10670, "pop_year": -99, "lastcensus": 2004, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "4. Lower middle income", "wikipedia": -99, "iso_a2": "MD", "iso_a3": "MDA", "iso_n3": "498", "un_a3": "498", "wb_a2": "MD", "wb_a3": "MDA", "woe_id": -99, "adm0_a3_is": "MDA", "adm0_a3_us": "MDA", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Eastern Europe", "region_wb": "Europe & Central Asia", "name_len": 7, "long_len": 7, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 30.410156, 46.980252 ], [ 30.410156, 43.897892 ], [ 26.015625, 43.897892 ], [ 26.015625, 46.980252 ], [ 30.410156, 46.980252 ] ] ] } } +, +{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 3, "sovereignt": "Sri Lanka", "sov_a3": "LKA", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Sri Lanka", "adm0_a3": "LKA", "geou_dif": 0, "geounit": "Sri Lanka", "gu_a3": "LKA", "su_dif": 0, "subunit": "Sri Lanka", "su_a3": "LKA", "brk_diff": 0, "name": "Sri Lanka", "name_long": "Sri Lanka", "brk_a3": "LKA", "brk_name": "Sri Lanka", "abbrev": "Sri L.", "postal": "LK", "formal_en": "Democratic Socialist Republic of Sri Lanka", "name_sort": "Sri Lanka", "mapcolor7": 3, "mapcolor8": 5, "mapcolor9": 4, "mapcolor13": 9, "pop_est": 21324791, "gdp_md_est": 91870, "pop_year": -99, "lastcensus": 2001, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "4. Lower middle income", "wikipedia": -99, "iso_a2": "LK", "iso_a3": "LKA", "iso_n3": "144", "un_a3": "144", "wb_a2": "LK", "wb_a3": "LKA", "woe_id": -99, "adm0_a3_is": "LKA", "adm0_a3_us": "LKA", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Asia", "region_un": "Asia", "subregion": "Southern Asia", "region_wb": "South Asia", "name_len": 9, "long_len": 9, "abbrev_len": 6, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 83.847656, 8.667918 ], [ 83.847656, 4.302591 ], [ 79.453125, 4.302591 ], [ 79.453125, 8.667918 ], [ 83.847656, 8.667918 ] ] ] } } +, +{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 5, "sovereignt": "Costa Rica", "sov_a3": "CRI", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Costa Rica", "adm0_a3": "CRI", "geou_dif": 0, "geounit": "Costa Rica", "gu_a3": "CRI", "su_dif": 0, "subunit": "Costa Rica", "su_a3": "CRI", "brk_diff": 0, "name": "Costa Rica", "name_long": "Costa Rica", "brk_a3": "CRI", "brk_name": "Costa Rica", "abbrev": "C.R.", "postal": "CR", "formal_en": "Republic of Costa Rica", "name_sort": "Costa Rica", "mapcolor7": 3, "mapcolor8": 2, "mapcolor9": 4, "mapcolor13": 2, "pop_est": 4253877, "gdp_md_est": 48320, "pop_year": -99, "lastcensus": 2011, "gdp_year": -99, "economy": "5. Emerging region: G20", "income_grp": "3. Upper middle income", "wikipedia": -99, "iso_a2": "CR", "iso_a3": "CRI", "iso_n3": "188", "un_a3": "188", "wb_a2": "CR", "wb_a3": "CRI", "woe_id": -99, "adm0_a3_is": "CRI", "adm0_a3_us": "CRI", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "North America", "region_un": "Americas", "subregion": "Central America", "region_wb": "Latin America & Caribbean", "name_len": 10, "long_len": 10, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -83.408203, 13.325485 ], [ -83.408203, 9.015302 ], [ -87.802734, 9.015302 ], [ -87.802734, 13.325485 ], [ -83.408203, 13.325485 ] ] ] } } +, +{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 6, "sovereignt": "Albania", "sov_a3": "ALB", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Albania", "adm0_a3": "ALB", "geou_dif": 0, "geounit": "Albania", "gu_a3": "ALB", "su_dif": 0, "subunit": "Albania", "su_a3": "ALB", "brk_diff": 0, "name": "Albania", "name_long": "Albania", "brk_a3": "ALB", "brk_name": "Albania", "abbrev": "Alb.", "postal": "AL", "formal_en": "Republic of Albania", "name_sort": "Albania", "mapcolor7": 1, "mapcolor8": 4, "mapcolor9": 1, "mapcolor13": 6, "pop_est": 3639453, "gdp_md_est": 21810, "pop_year": -99, "lastcensus": 2001, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "4. Lower middle income", "wikipedia": -99, "iso_a2": "AL", "iso_a3": "ALB", "iso_n3": "008", "un_a3": "008", "wb_a2": "AL", "wb_a3": "ALB", "woe_id": -99, "adm0_a3_is": "ALB", "adm0_a3_us": "ALB", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Southern Europe", "region_wb": "Europe & Central Asia", "name_len": 7, "long_len": 7, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 23.203125, 42.228517 ], [ 23.203125, 38.891033 ], [ 18.808594, 38.891033 ], [ 18.808594, 42.228517 ], [ 23.203125, 42.228517 ] ] ] } } +, +{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 6, "sovereignt": "Macedonia", "sov_a3": "MKD", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Macedonia", "adm0_a3": "MKD", "geou_dif": 0, "geounit": "Macedonia", "gu_a3": "MKD", "su_dif": 0, "subunit": "Macedonia", "su_a3": "MKD", "brk_diff": 0, "name": "Macedonia", "name_long": "Macedonia", "brk_a3": "MKD", "brk_name": "Macedonia", "abbrev": "Mkd.", "postal": "MK", "formal_en": "Former Yugoslav Republic of Macedonia", "name_sort": "Macedonia, FYR", "mapcolor7": 5, "mapcolor8": 3, "mapcolor9": 7, "mapcolor13": 3, "pop_est": 2066718, "gdp_md_est": 18780, "pop_year": -99, "lastcensus": 2010, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "3. Upper middle income", "wikipedia": -99, "iso_a2": "MK", "iso_a3": "MKD", "iso_n3": "807", "un_a3": "807", "wb_a2": "MK", "wb_a3": "MKD", "woe_id": -99, "adm0_a3_is": "MKD", "adm0_a3_us": "MKD", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Southern Europe", "region_wb": "Europe & Central Asia", "name_len": 9, "long_len": 9, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 22.675781, 43.133061 ], [ 22.675781, 39.842286 ], [ 18.281250, 39.842286 ], [ 18.281250, 43.133061 ], [ 22.675781, 43.133061 ] ] ] } } , -{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 6, "sovereignt": "Croatia", "sov_a3": "HRV", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Croatia", "adm0_a3": "HRV", "geou_dif": 0, "geounit": "Croatia", "gu_a3": "HRV", "su_dif": 0, "subunit": "Croatia", "su_a3": "HRV", "brk_diff": 0, "name": "Croatia", "name_long": "Croatia", "brk_a3": "HRV", "brk_name": "Croatia", "abbrev": "Cro.", "postal": "HR", "formal_en": "Republic of Croatia", "name_sort": "Croatia", "mapcolor7": 5, "mapcolor8": 4, "mapcolor9": 5, "mapcolor13": 1, "pop_est": 4489409, "gdp_md_est": 82390, "pop_year": -99, "lastcensus": 2011, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "2. High income: nonOECD", "wikipedia": -99, "iso_a2": "HR", "iso_a3": "HRV", "iso_n3": "191", "un_a3": "191", "wb_a2": "HR", "wb_a3": "HRV", "woe_id": -99, "adm0_a3_is": "HRV", "adm0_a3_us": "HRV", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Southern Europe", "region_wb": "Europe & Central Asia", "name_len": 7, "long_len": 7, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 23.203125, 42.228517 ], [ 23.203125, 38.891033 ], [ 18.808594, 38.891033 ], [ 18.808594, 42.228517 ], [ 23.203125, 42.228517 ] ] ] } } +{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 5, "sovereignt": "Djibouti", "sov_a3": "DJI", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Djibouti", "adm0_a3": "DJI", "geou_dif": 0, "geounit": "Djibouti", "gu_a3": "DJI", "su_dif": 0, "subunit": "Djibouti", "su_a3": "DJI", "brk_diff": 0, "name": "Djibouti", "name_long": "Djibouti", "brk_a3": "DJI", "brk_name": "Djibouti", "abbrev": "Dji.", "postal": "DJ", "formal_en": "Republic of Djibouti", "name_sort": "Djibouti", "mapcolor7": 1, "mapcolor8": 2, "mapcolor9": 4, "mapcolor13": 8, "pop_est": 516055, "gdp_md_est": 1885, "pop_year": -99, "lastcensus": 2009, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "4. Lower middle income", "wikipedia": -99, "iso_a2": "DJ", "iso_a3": "DJI", "iso_n3": "262", "un_a3": "262", "wb_a2": "DJ", "wb_a3": "DJI", "woe_id": -99, "adm0_a3_is": "DJI", "adm0_a3_us": "DJI", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Eastern Africa", "region_wb": "Middle East & North Africa", "name_len": 8, "long_len": 8, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 43.857422, 13.752725 ], [ 43.857422, 9.449062 ], [ 39.462891, 9.449062 ], [ 39.462891, 13.752725 ], [ 43.857422, 13.752725 ] ] ] } } , -{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 5, "sovereignt": "Netherlands", "sov_a3": "NL1", "adm0_dif": 1, "level": 2, "type": "Country", "admin": "Netherlands", "adm0_a3": "NLD", "geou_dif": 0, "geounit": "Netherlands", "gu_a3": "NLD", "su_dif": 0, "subunit": "Netherlands", "su_a3": "NLD", "brk_diff": 0, "name": "Netherlands", "name_long": "Netherlands", "brk_a3": "NLD", "brk_name": "Netherlands", "abbrev": "Neth.", "postal": "NL", "formal_en": "Kingdom of the Netherlands", "name_sort": "Netherlands", "mapcolor7": 4, "mapcolor8": 2, "mapcolor9": 2, "mapcolor13": 9, "pop_est": 16715999, "gdp_md_est": 672000, "pop_year": -99, "lastcensus": 2011, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "1. High income: OECD", "wikipedia": -99, "iso_a2": "NL", "iso_a3": "NLD", "iso_n3": "528", "un_a3": "528", "wb_a2": "NL", "wb_a3": "NLD", "woe_id": -99, "adm0_a3_is": "NLD", "adm0_a3_us": "NLD", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Europe", "region_un": "Europe", "subregion": "Western Europe", "region_wb": "Europe & Central Asia", "name_len": 11, "long_len": 11, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 9.931641, 47.338823 ], [ 9.931641, 44.276671 ], [ 5.537109, 44.276671 ], [ 5.537109, 47.338823 ], [ 9.931641, 47.338823 ] ] ] } } +{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 6, "sovereignt": "Kuwait", "sov_a3": "KWT", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Kuwait", "adm0_a3": "KWT", "geou_dif": 0, "geounit": "Kuwait", "gu_a3": "KWT", "su_dif": 0, "subunit": "Kuwait", "su_a3": "KWT", "brk_diff": 0, "name": "Kuwait", "name_long": "Kuwait", "brk_a3": "KWT", "brk_name": "Kuwait", "abbrev": "Kwt.", "postal": "KW", "formal_en": "State of Kuwait", "name_sort": "Kuwait", "mapcolor7": 2, "mapcolor8": 2, "mapcolor9": 2, "mapcolor13": 2, "pop_est": 2691158, "gdp_md_est": 149100, "pop_year": -99, "lastcensus": 2010, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "2. High income: nonOECD", "wikipedia": -99, "iso_a2": "KW", "iso_a3": "KWT", "iso_n3": "414", "un_a3": "414", "wb_a2": "KW", "wb_a3": "KWT", "woe_id": -99, "adm0_a3_is": "KWT", "adm0_a3_us": "KWT", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Asia", "region_un": "Asia", "subregion": "Western Asia", "region_wb": "Middle East & North Africa", "name_len": 6, "long_len": 6, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 49.921875, 30.448674 ], [ 49.921875, 26.588527 ], [ 45.527344, 26.588527 ], [ 45.527344, 30.448674 ], [ 49.921875, 30.448674 ] ] ] } } ] } ] } ] } diff --git a/tests/single-polygons/out/-Z21_-zg_-D10_-d10.json b/tests/single-polygons/out/-Z21_-zg_-D10_-d10.json index 74687191f..a30c6c47a 100644 --- a/tests/single-polygons/out/-Z21_-zg_-D10_-d10.json +++ b/tests/single-polygons/out/-Z21_-zg_-D10_-d10.json @@ -15,21 +15,21 @@ }, "features": [ { "type": "FeatureCollection", "properties": { "zoom": 21, "x": 2066402, "y": 1282091 }, "features": [ { "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 1024 }, "features": [ -{ "type": "Feature", "properties": { "seq": 7 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721520, -37.166209 ], [ 174.721520, -37.166210 ], [ 174.721519, -37.166210 ], [ 174.721519, -37.166209 ], [ 174.721520, -37.166209 ] ] ] } } +{ "type": "Feature", "properties": { "seq": 9 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721520, -37.166209 ], [ 174.721520, -37.166210 ], [ 174.721519, -37.166210 ], [ 174.721519, -37.166209 ], [ 174.721520, -37.166209 ] ] ] } } , { "type": "Feature", "properties": { "seq": 10 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721520, -37.166209 ], [ 174.721520, -37.166210 ], [ 174.721520, -37.166210 ], [ 174.721520, -37.166209 ], [ 174.721520, -37.166209 ] ] ] } } , { "type": "Feature", "properties": { "seq": 11 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721521, -37.166209 ], [ 174.721521, -37.166210 ], [ 174.721521, -37.166210 ], [ 174.721521, -37.166209 ], [ 174.721521, -37.166209 ] ] ] } } , -{ "type": "Feature", "properties": { "seq": 12 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721523, -37.166209 ], [ 174.721523, -37.166210 ], [ 174.721523, -37.166210 ], [ 174.721523, -37.166209 ], [ 174.721523, -37.166209 ] ] ] } } +{ "type": "Feature", "properties": { "seq": 13 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721523, -37.166209 ], [ 174.721523, -37.166210 ], [ 174.721523, -37.166210 ], [ 174.721523, -37.166209 ], [ 174.721523, -37.166209 ] ] ] } } , { "type": "Feature", "properties": { "seq": 16 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721526, -37.166210 ], [ 174.721526, -37.166210 ], [ 174.721525, -37.166210 ], [ 174.721525, -37.166210 ], [ 174.721526, -37.166210 ] ] ] } } , { "type": "Feature", "properties": { "seq": 17 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721527, -37.166210 ], [ 174.721527, -37.166210 ], [ 174.721526, -37.166210 ], [ 174.721526, -37.166210 ], [ 174.721527, -37.166210 ] ] ] } } , -{ "type": "Feature", "properties": { "seq": 18 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721535, -37.166210 ], [ 174.721535, -37.166210 ], [ 174.721535, -37.166210 ], [ 174.721535, -37.166210 ], [ 174.721535, -37.166210 ] ] ] } } +{ "type": "Feature", "properties": { "seq": 19 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721535, -37.166210 ], [ 174.721535, -37.166210 ], [ 174.721535, -37.166210 ], [ 174.721535, -37.166210 ], [ 174.721535, -37.166210 ] ] ] } } , -{ "type": "Feature", "properties": { "seq": 20 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721538, -37.166210 ], [ 174.721538, -37.166210 ], [ 174.721538, -37.166210 ], [ 174.721538, -37.166210 ], [ 174.721538, -37.166210 ] ] ] } } +{ "type": "Feature", "properties": { "seq": 21 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721538, -37.166210 ], [ 174.721538, -37.166210 ], [ 174.721538, -37.166210 ], [ 174.721538, -37.166210 ], [ 174.721538, -37.166210 ] ] ] } } , { "type": "Feature", "properties": { "seq": 22 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721540, -37.166210 ], [ 174.721540, -37.166210 ], [ 174.721540, -37.166210 ], [ 174.721540, -37.166210 ], [ 174.721540, -37.166210 ] ] ] } } , @@ -45,7 +45,7 @@ , { "type": "Feature", "properties": { "seq": 30 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721549, -37.166210 ], [ 174.721549, -37.166210 ], [ 174.721549, -37.166210 ], [ 174.721549, -37.166210 ], [ 174.721549, -37.166210 ] ] ] } } , -{ "type": "Feature", "properties": { "seq": 29 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721557, -37.166210 ], [ 174.721557, -37.166210 ], [ 174.721557, -37.166210 ], [ 174.721557, -37.166210 ], [ 174.721557, -37.166210 ] ] ] } } +{ "type": "Feature", "properties": { "seq": 32 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721557, -37.166210 ], [ 174.721557, -37.166210 ], [ 174.721557, -37.166210 ], [ 174.721557, -37.166210 ], [ 174.721557, -37.166210 ] ] ] } } , { "type": "Feature", "properties": { "seq": 33 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721559, -37.166210 ], [ 174.721559, -37.166210 ], [ 174.721558, -37.166210 ], [ 174.721558, -37.166210 ], [ 174.721559, -37.166210 ] ] ] } } , @@ -69,7 +69,7 @@ , { "type": "Feature", "properties": { "seq": 13 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721524, -37.166210 ], [ 174.721524, -37.166210 ], [ 174.721524, -37.166210 ], [ 174.721523, -37.166210 ], [ 174.721524, -37.166210 ] ] ] } } , -{ "type": "Feature", "properties": { "seq": 6 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721524, -37.166210 ], [ 174.721524, -37.166210 ], [ 174.721524, -37.166210 ], [ 174.721524, -37.166210 ], [ 174.721524, -37.166210 ] ] ] } } +{ "type": "Feature", "properties": { "seq": 14 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721524, -37.166210 ], [ 174.721524, -37.166210 ], [ 174.721524, -37.166210 ], [ 174.721524, -37.166210 ], [ 174.721524, -37.166210 ] ] ] } } , { "type": "Feature", "properties": { "seq": 15 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 174.721525, -37.166210 ], [ 174.721525, -37.166210 ], [ 174.721525, -37.166210 ], [ 174.721525, -37.166210 ], [ 174.721525, -37.166210 ] ] ] } } , diff --git a/tile.cpp b/tile.cpp index 44d2e5eff..033ec44d9 100644 --- a/tile.cpp +++ b/tile.cpp @@ -1591,8 +1591,6 @@ long long write_tile(decompressor *geoms, std::atomic *geompos_in, ch FILE *prefilter_read_fp = NULL; json_pull *prefilter_jp = NULL; - serial_feature tiny_feature; // used to track which feature currently represents the dust - if (z < minzoom) { prefilter = NULL; postfilter = NULL; @@ -1852,7 +1850,7 @@ long long write_tile(decompressor *geoms, std::atomic *geompos_in, ch bool prevent_tiny = prevent[P_TINY_POLYGON_REDUCTION] || (prevent[P_TINY_POLYGON_REDUCTION_AT_MAXZOOM] && z == maxzoom); if (!prevent_tiny && !additional[A_GRID_LOW_ZOOMS]) { - sf.geometry = reduce_tiny_poly(sf.geometry, z, line_detail, &still_need_simplification_after_reduction, &simplified_away_by_reduction, &accum_area, &sf, &tiny_feature); + sf.geometry = reduce_tiny_poly(sf.geometry, z, line_detail, &still_need_simplification_after_reduction, &simplified_away_by_reduction, &accum_area); if (simplified_away_by_reduction) { strategy->tiny_polygons++; } diff --git a/version.hpp b/version.hpp index a4d519c27..f091e508b 100644 --- a/version.hpp +++ b/version.hpp @@ -1,6 +1,6 @@ #ifndef VERSION_HPP #define VERSION_HPP -#define VERSION "v2.45.0" +#define VERSION "v2.46.0" #endif