Improve quality of coalescing-as-needed; add options to limit feature count (#25)

* Add an option to limit geometry vertex count

* Update docs and changelog

* Track desired feature count and geometry size in strategies

* Remove dead code for a long-forgotten inaccessible option

* Fix the option name in changelog

* Refine coalesce-smallest to only coalesce onto other small features

* Clean polygons before coalescing-as-needed

* Don't accumulate tiny polygon holes as negative dust

* Add the option not to limit the feature count at maxzoom

* Add options to limit feature count more abruptly in each tile

* Revert "Add the option not to limit the feature count at maxzoom"

This reverts commit ace173ab7a.

* Revert "Fix the option name in changelog"

This reverts commit 38dbce8405.

* Revert "Add an option to limit geometry vertex count"

This reverts commit d379fdf06b.

* Remove test for reverted option

* Remove more leftovers from geometry size limiting

* Update changelog
This commit is contained in:
Erica Fischer
2022-11-17 13:09:10 -08:00
committed by GitHub
parent 7733cced43
commit 8eec2be462
30 changed files with 1773 additions and 636 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -232,7 +232,7 @@
,
{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 4, "sovereignt": "Botswana", "sov_a3": "BWA", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Botswana", "adm0_a3": "BWA", "geou_dif": 0, "geounit": "Botswana", "gu_a3": "BWA", "su_dif": 0, "subunit": "Botswana", "su_a3": "BWA", "brk_diff": 0, "name": "Botswana", "name_long": "Botswana", "brk_a3": "BWA", "brk_name": "Botswana", "abbrev": "Bwa.", "postal": "BW", "formal_en": "Republic of Botswana", "name_sort": "Botswana", "mapcolor7": 6, "mapcolor8": 5, "mapcolor9": 7, "mapcolor13": 3, "pop_est": 1990876, "gdp_md_est": 27060, "pop_year": -99, "lastcensus": 2011, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "3. Upper middle income", "wikipedia": -99, "iso_a2": "BW", "iso_a3": "BWA", "iso_n3": "072", "un_a3": "072", "wb_a2": "BW", "wb_a3": "BWA", "woe_id": -99, "adm0_a3_is": "BWA", "adm0_a3_us": "BWA", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Southern Africa", "region_wb": "Sub-Saharan Africa", "name_len": 8, "long_len": 8, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 25.048828, -17.644022 ], [ 29.355469, -22.024546 ], [ 20.830078, -26.824071 ], [ 20.830078, -18.229351 ], [ 25.048828, -17.644022 ] ] ] } }
,
{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 2, "sovereignt": "South Africa", "sov_a3": "ZAF", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "South Africa", "adm0_a3": "ZAF", "geou_dif": 0, "geounit": "South Africa", "gu_a3": "ZAF", "su_dif": 0, "subunit": "South Africa", "su_a3": "ZAF", "brk_diff": 0, "name": "South Africa", "name_long": "South Africa", "brk_a3": "ZAF", "brk_name": "South Africa", "abbrev": "S.Af.", "postal": "ZA", "formal_en": "Republic of South Africa", "name_sort": "South Africa", "mapcolor7": 2, "mapcolor8": 3, "mapcolor9": 4, "mapcolor13": 2, "pop_est": 49052489, "gdp_md_est": 491000, "pop_year": -99, "lastcensus": 2001, "gdp_year": -99, "economy": "5. Emerging region: G20", "income_grp": "3. Upper middle income", "wikipedia": -99, "iso_a2": "ZA", "iso_a3": "ZAF", "iso_n3": "710", "un_a3": "710", "wb_a2": "ZA", "wb_a3": "ZAF", "woe_id": -99, "adm0_a3_is": "ZAF", "adm0_a3_us": "ZAF", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Southern Africa", "region_wb": "Sub-Saharan Africa", "name_len": 12, "long_len": 12, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 31.113281, -22.187405 ], [ 28.212891, -32.768800 ], [ 18.369141, -34.089061 ], [ 19.863281, -24.766785 ], [ 31.113281, -22.187405 ] ] ] } }
{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 2, "sovereignt": "South Africa", "sov_a3": "ZAF", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "South Africa", "adm0_a3": "ZAF", "geou_dif": 0, "geounit": "South Africa", "gu_a3": "ZAF", "su_dif": 0, "subunit": "South Africa", "su_a3": "ZAF", "brk_diff": 0, "name": "South Africa", "name_long": "South Africa", "brk_a3": "ZAF", "brk_name": "South Africa", "abbrev": "S.Af.", "postal": "ZA", "formal_en": "Republic of South Africa", "name_sort": "South Africa", "mapcolor7": 2, "mapcolor8": 3, "mapcolor9": 4, "mapcolor13": 2, "pop_est": 49052489, "gdp_md_est": 491000, "pop_year": -99, "lastcensus": 2001, "gdp_year": -99, "economy": "5. Emerging region: G20", "income_grp": "3. Upper middle income", "wikipedia": -99, "iso_a2": "ZA", "iso_a3": "ZAF", "iso_n3": "710", "un_a3": "710", "wb_a2": "ZA", "wb_a3": "ZAF", "woe_id": -99, "adm0_a3_is": "ZAF", "adm0_a3_us": "ZAF", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Southern Africa", "region_wb": "Sub-Saharan Africa", "name_len": 12, "long_len": 12, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 31.113281, -22.187405 ], [ 29.267578, -29.228890 ], [ 29.179688, -29.228890 ], [ 26.982422, -29.840644 ], [ 28.037109, -30.524413 ], [ 29.179688, -29.305561 ], [ 28.212891, -32.768800 ], [ 18.369141, -34.089061 ], [ 19.863281, -24.766785 ], [ 31.113281, -22.187405 ] ] ] } }
,
{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 3, "sovereignt": "Zambia", "sov_a3": "ZMB", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Zambia", "adm0_a3": "ZMB", "geou_dif": 0, "geounit": "Zambia", "gu_a3": "ZMB", "su_dif": 0, "subunit": "Zambia", "su_a3": "ZMB", "brk_diff": 0, "name": "Zambia", "name_long": "Zambia", "brk_a3": "ZMB", "brk_name": "Zambia", "abbrev": "Zambia", "postal": "ZM", "formal_en": "Republic of Zambia", "name_sort": "Zambia", "mapcolor7": 5, "mapcolor8": 8, "mapcolor9": 5, "mapcolor13": 13, "pop_est": 11862740, "gdp_md_est": 17500, "pop_year": -99, "lastcensus": 2010, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "4. Lower middle income", "wikipedia": -99, "iso_a2": "ZM", "iso_a3": "ZMB", "iso_n3": "894", "un_a3": "894", "wb_a2": "ZM", "wb_a3": "ZMB", "woe_id": -99, "adm0_a3_is": "ZMB", "adm0_a3_us": "ZMB", "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": 6, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 33.222656, -9.622414 ], [ 21.884766, -16.045813 ], [ 23.906250, -10.919618 ], [ 33.222656, -9.622414 ] ] ] } }
,
@@ -240,7 +240,7 @@
,
{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 3, "sovereignt": "United Republic of Tanzania", "sov_a3": "TZA", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "United Republic of Tanzania", "adm0_a3": "TZA", "geou_dif": 0, "geounit": "Tanzania", "gu_a3": "TZA", "su_dif": 0, "subunit": "Tanzania", "su_a3": "TZA", "brk_diff": 0, "name": "Tanzania", "name_long": "Tanzania", "brk_a3": "TZA", "brk_name": "Tanzania", "abbrev": "Tanz.", "postal": "TZ", "formal_en": "United Republic of Tanzania", "name_sort": "Tanzania", "mapcolor7": 3, "mapcolor8": 6, "mapcolor9": 2, "mapcolor13": 2, "pop_est": 41048532, "gdp_md_est": 54250, "pop_year": -99, "lastcensus": 2002, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "5. Low income", "wikipedia": -99, "iso_a2": "TZ", "iso_a3": "TZA", "iso_n3": "834", "un_a3": "834", "wb_a2": "TZ", "wb_a3": "TZA", "woe_id": -99, "adm0_a3_is": "TZA", "adm0_a3_us": "TZA", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Eastern Africa", "region_wb": "Sub-Saharan Africa", "name_len": 8, "long_len": 8, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 30.410156, -1.054628 ], [ 40.253906, -10.314919 ], [ 30.673828, -8.320212 ], [ 30.410156, -1.054628 ] ] ] } }
,
{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 6, "sovereignt": "Lesotho", "sov_a3": "LSO", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Lesotho", "adm0_a3": "LSO", "geou_dif": 0, "geounit": "Lesotho", "gu_a3": "LSO", "su_dif": 0, "subunit": "Lesotho", "su_a3": "LSO", "brk_diff": 0, "name": "Lesotho", "name_long": "Lesotho", "brk_a3": "LSO", "brk_name": "Lesotho", "abbrev": "Les.", "postal": "LS", "formal_en": "Kingdom of Lesotho", "name_sort": "Lesotho", "mapcolor7": 1, "mapcolor8": 5, "mapcolor9": 2, "mapcolor13": 8, "pop_est": 2130819, "gdp_md_est": 3293, "pop_year": -99, "lastcensus": 2006, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "4. Lower middle income", "wikipedia": -99, "iso_a2": "LS", "iso_a3": "LSO", "iso_n3": "426", "un_a3": "426", "wb_a2": "LS", "wb_a3": "LSO", "woe_id": -99, "adm0_a3_is": "LSO", "adm0_a3_us": "LSO", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Southern Africa", "region_wb": "Sub-Saharan Africa", "name_len": 7, "long_len": 7, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 30.673828, -26.667096 ], [ 30.673828, -30.524413 ], [ 26.279297, -30.524413 ], [ 26.279297, -26.667096 ], [ 30.673828, -26.667096 ] ] ] } }
{ "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": [ [ [ 37.177734, -14.604847 ], [ 37.177734, -18.812718 ], [ 32.783203, -18.812718 ], [ 32.783203, -14.604847 ], [ 37.177734, -14.604847 ] ] ] } }
,
{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 3, "sovereignt": "Zimbabwe", "sov_a3": "ZWE", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Zimbabwe", "adm0_a3": "ZWE", "geou_dif": 0, "geounit": "Zimbabwe", "gu_a3": "ZWE", "su_dif": 0, "subunit": "Zimbabwe", "su_a3": "ZWE", "brk_diff": 0, "name": "Zimbabwe", "name_long": "Zimbabwe", "brk_a3": "ZWE", "brk_name": "Zimbabwe", "abbrev": "Zimb.", "postal": "ZW", "formal_en": "Republic of Zimbabwe", "name_sort": "Zimbabwe", "mapcolor7": 1, "mapcolor8": 5, "mapcolor9": 3, "mapcolor13": 9, "pop_est": 12619600, "gdp_md_est": 9323, "pop_year": 0, "lastcensus": 2002, "gdp_year": 0, "economy": "5. Emerging region: G20", "income_grp": "5. Low income", "wikipedia": -99, "iso_a2": "ZW", "iso_a3": "ZWE", "iso_n3": "716", "un_a3": "716", "wb_a2": "ZW", "wb_a3": "ZWE", "woe_id": -99, "adm0_a3_is": "ZWE", "adm0_a3_us": "ZWE", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Africa", "region_un": "Africa", "subregion": "Eastern Africa", "region_wb": "Sub-Saharan Africa", "name_len": 8, "long_len": 8, "abbrev_len": 5, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 30.234375, -15.453680 ], [ 32.607422, -20.303418 ], [ 25.224609, -17.727759 ], [ 30.234375, -15.453680 ] ] ] } }
,
@@ -248,9 +248,9 @@
,
{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 3, "sovereignt": "Madagascar", "sov_a3": "MDG", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Madagascar", "adm0_a3": "MDG", "geou_dif": 0, "geounit": "Madagascar", "gu_a3": "MDG", "su_dif": 0, "subunit": "Madagascar", "su_a3": "MDG", "brk_diff": 0, "name": "Madagascar", "name_long": "Madagascar", "brk_a3": "MDG", "brk_name": "Madagascar", "abbrev": "Mad.", "postal": "MG", "formal_en": "Republic of Madagascar", "name_sort": "Madagascar", "mapcolor7": 6, "mapcolor8": 5, "mapcolor9": 2, "mapcolor13": 3, "pop_est": 20653556, "gdp_md_est": 20130, "pop_year": -99, "lastcensus": 1993, "gdp_year": -99, "economy": "7. Least developed region", "income_grp": "5. Low income", "wikipedia": -99, "iso_a2": "MG", "iso_a3": "MDG", "iso_n3": "450", "un_a3": "450", "wb_a2": "MG", "wb_a3": "MDG", "woe_id": -99, "adm0_a3_is": "MDG", "adm0_a3_us": "MDG", "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": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 49.130859, -12.039321 ], [ 45.351562, -25.562265 ], [ 43.945312, -17.392579 ], [ 49.130859, -12.039321 ] ] ] } }
,
{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 2, "sovereignt": "Australia", "sov_a3": "AU1", "adm0_dif": 1, "level": 2, "type": "Country", "admin": "Australia", "adm0_a3": "AUS", "geou_dif": 0, "geounit": "Australia", "gu_a3": "AUS", "su_dif": 0, "subunit": "Australia", "su_a3": "AUS", "brk_diff": 0, "name": "Australia", "name_long": "Australia", "brk_a3": "AUS", "brk_name": "Australia", "abbrev": "Auz.", "postal": "AU", "formal_en": "Commonwealth of Australia", "name_sort": "Australia", "mapcolor7": 1, "mapcolor8": 2, "mapcolor9": 2, "mapcolor13": 7, "pop_est": 21262641, "gdp_md_est": 800200, "pop_year": -99, "lastcensus": 2006, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "1. High income: OECD", "wikipedia": -99, "iso_a2": "AU", "iso_a3": "AUS", "iso_n3": "036", "un_a3": "036", "wb_a2": "AU", "wb_a3": "AUS", "woe_id": -99, "adm0_a3_is": "AUS", "adm0_a3_us": "AUS", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Oceania", "region_un": "Oceania", "subregion": "Australia and New Zealand", "region_wb": "East Asia & Pacific", "name_len": 9, "long_len": 9, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 142.470703, -10.660608 ], [ 152.841797, -31.578535 ], [ 146.250000, -39.027719 ], [ 131.308594, -31.428663 ], [ 116.542969, -34.957995 ], [ 114.082031, -21.698265 ], [ 132.275391, -11.092166 ], [ 140.185547, -17.644022 ], [ 142.470703, -10.660608 ] ] ] } }
{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 2, "sovereignt": "Australia", "sov_a3": "AU1", "adm0_dif": 1, "level": 2, "type": "Country", "admin": "Australia", "adm0_a3": "AUS", "geou_dif": 0, "geounit": "Australia", "gu_a3": "AUS", "su_dif": 0, "subunit": "Australia", "su_a3": "AUS", "brk_diff": 0, "name": "Australia", "name_long": "Australia", "brk_a3": "AUS", "brk_name": "Australia", "abbrev": "Auz.", "postal": "AU", "formal_en": "Commonwealth of Australia", "name_sort": "Australia", "mapcolor7": 1, "mapcolor8": 2, "mapcolor9": 2, "mapcolor13": 7, "pop_est": 21262641, "gdp_md_est": 800200, "pop_year": -99, "lastcensus": 2006, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "1. High income: OECD", "wikipedia": -99, "iso_a2": "AU", "iso_a3": "AUS", "iso_n3": "036", "un_a3": "036", "wb_a2": "AU", "wb_a3": "AUS", "woe_id": -99, "adm0_a3_is": "AUS", "adm0_a3_us": "AUS", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Oceania", "region_un": "Oceania", "subregion": "Australia and New Zealand", "region_wb": "East Asia & Pacific", "name_len": 9, "long_len": 9, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 145.634766, -41.574361 ], [ 150.029297, -44.777936 ], [ 145.634766, -44.777936 ], [ 145.634766, -41.574361 ] ] ], [ [ [ 142.470703, -10.660608 ], [ 152.841797, -31.578535 ], [ 146.250000, -39.027719 ], [ 131.308594, -31.428663 ], [ 116.542969, -34.957995 ], [ 114.082031, -21.698265 ], [ 132.275391, -11.092166 ], [ 140.185547, -17.644022 ], [ 142.470703, -10.660608 ] ] ] ] } }
,
{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 2, "sovereignt": "Papua New Guinea", "sov_a3": "PNG", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Papua New Guinea", "adm0_a3": "PNG", "geou_dif": 0, "geounit": "Papua New Guinea", "gu_a3": "PNG", "su_dif": 1, "subunit": "Papua New Guinea", "su_a3": "PN1", "brk_diff": 0, "name": "Papua New Guinea", "name_long": "Papua New Guinea", "brk_a3": "PN1", "brk_name": "Papua New Guinea", "abbrev": "P.N.G.", "postal": "PG", "formal_en": "Independent State of Papua New Guinea", "name_sort": "Papua New Guinea", "mapcolor7": 4, "mapcolor8": 2, "mapcolor9": 3, "mapcolor13": 1, "pop_est": 6057263, "gdp_md_est": 13210, "pop_year": -99, "lastcensus": 2000, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "4. Lower middle income", "wikipedia": -99, "iso_a2": "PG", "iso_a3": "PNG", "iso_n3": "598", "un_a3": "598", "wb_a2": "PG", "wb_a3": "PNG", "woe_id": -99, "adm0_a3_is": "PNG", "adm0_a3_us": "PNG", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Oceania", "region_un": "Oceania", "subregion": "Melanesia", "region_wb": "East Asia & Pacific", "name_len": 16, "long_len": 16, "abbrev_len": 6, "tiny": -99, "homepart": 1 }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 140.976562, -2.547988 ], [ 147.568359, -6.053161 ], [ 150.644531, -10.574222 ], [ 140.976562, -9.102097 ], [ 140.976562, -2.547988 ] ] ], [ [ [ 150.117188, -2.108899 ], [ 154.511719, -6.489983 ], [ 150.117188, -6.489983 ], [ 150.117188, -2.108899 ] ] ] ] } }
{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 2, "sovereignt": "Papua New Guinea", "sov_a3": "PNG", "adm0_dif": 0, "level": 2, "type": "Sovereign country", "admin": "Papua New Guinea", "adm0_a3": "PNG", "geou_dif": 0, "geounit": "Papua New Guinea", "gu_a3": "PNG", "su_dif": 1, "subunit": "Papua New Guinea", "su_a3": "PN1", "brk_diff": 0, "name": "Papua New Guinea", "name_long": "Papua New Guinea", "brk_a3": "PN1", "brk_name": "Papua New Guinea", "abbrev": "P.N.G.", "postal": "PG", "formal_en": "Independent State of Papua New Guinea", "name_sort": "Papua New Guinea", "mapcolor7": 4, "mapcolor8": 2, "mapcolor9": 3, "mapcolor13": 1, "pop_est": 6057263, "gdp_md_est": 13210, "pop_year": -99, "lastcensus": 2000, "gdp_year": -99, "economy": "6. Developing region", "income_grp": "4. Lower middle income", "wikipedia": -99, "iso_a2": "PG", "iso_a3": "PNG", "iso_n3": "598", "un_a3": "598", "wb_a2": "PG", "wb_a3": "PNG", "woe_id": -99, "adm0_a3_is": "PNG", "adm0_a3_us": "PNG", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Oceania", "region_un": "Oceania", "subregion": "Melanesia", "region_wb": "East Asia & Pacific", "name_len": 16, "long_len": 16, "abbrev_len": 6, "tiny": -99, "homepart": 1 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 140.976562, -2.547988 ], [ 147.568359, -6.053161 ], [ 150.644531, -10.574222 ], [ 140.976562, -9.102097 ], [ 140.976562, -2.547988 ] ] ] } }
,
{ "type": "Feature", "properties": { "scalerank": 1, "featurecla": "Admin-0 country", "labelrank": 2, "sovereignt": "New Zealand", "sov_a3": "NZ1", "adm0_dif": 1, "level": 2, "type": "Country", "admin": "New Zealand", "adm0_a3": "NZL", "geou_dif": 0, "geounit": "New Zealand", "gu_a3": "NZL", "su_dif": 0, "subunit": "New Zealand", "su_a3": "NZL", "brk_diff": 0, "name": "New Zealand", "name_long": "New Zealand", "brk_a3": "NZL", "brk_name": "New Zealand", "abbrev": "N.Z.", "postal": "NZ", "formal_en": "New Zealand", "name_sort": "New Zealand", "mapcolor7": 3, "mapcolor8": 3, "mapcolor9": 4, "mapcolor13": 4, "pop_est": 4213418, "gdp_md_est": 116700, "pop_year": -99, "lastcensus": 2006, "gdp_year": -99, "economy": "2. Developed region: nonG7", "income_grp": "1. High income: OECD", "wikipedia": -99, "iso_a2": "NZ", "iso_a3": "NZL", "iso_n3": "554", "un_a3": "554", "wb_a2": "NZ", "wb_a3": "NZL", "woe_id": -99, "adm0_a3_is": "NZL", "adm0_a3_us": "NZL", "adm0_a3_un": -99, "adm0_a3_wb": -99, "continent": "Oceania", "region_un": "Oceania", "subregion": "Australia and New Zealand", "region_wb": "East Asia & Pacific", "name_len": 11, "long_len": 11, "abbrev_len": 4, "tiny": -99, "homepart": 1 }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 172.968750, -39.977120 ], [ 177.363281, -43.261206 ], [ 172.968750, -43.261206 ], [ 172.968750, -41.640078 ], [ 166.640625, -46.195042 ], [ 172.089844, -40.913513 ], [ 172.968750, -40.913513 ], [ 172.968750, -39.977120 ] ] ], [ [ [ -187.031250, -39.977120 ], [ -182.636719, -43.261206 ], [ -187.031250, -43.261206 ], [ -187.031250, -39.977120 ] ] ] ] } }
] }
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long