Send dot-dropping through the same pipeline.

The first feature in a tile can never be dropped, since there is
no previous feature to attach its properties to.

Remove the previous special case that reset the dropping counter
at the first feature within each tile proper (as opposed to the
first feature in each tile, including its buffer, which is now
the one that is guaranteed to be preserved).
This commit is contained in:
Eric Fischer
2018-02-23 17:19:54 -08:00
parent 7fe0c87806
commit a8a342f701
42 changed files with 18490 additions and 18041 deletions
+4 -6
View File
@@ -438,14 +438,14 @@
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -81.518555, 30.751278 ], [ -81.914062, 30.826781 ], [ -82.045898, 30.789037 ], [ -82.045898, 30.448674 ], [ -82.177734, 30.372875 ], [ -82.265625, 30.562261 ], [ -84.858398, 30.751278 ], [ -85.034180, 31.015279 ] ] } }
,
{ "type": "Feature", "properties": { "SCALERANK": 1, "NATSCALE": 300, "LABELRANK": 1, "FEATURECLA": "Populated place", "NAME": "Miami", "DIFFASCII": 0, "NAMEASCII": "Miami", "ADM0CAP": 0, "CAPALT": 0, "WORLDCITY": 1, "MEGACITY": 1, "SOV0NAME": "United States", "SOV_A3": "USA", "ADM0NAME": "United States of America", "ADM0_A3": "USA", "ADM1NAME": "Florida", "ISO_A2": "US", "LATITUDE": 25.787611, "LONGITUDE": -80.224106, "CHANGED": 0, "NAMEDIFF": 0, "POP_MAX": 5585000, "POP_MIN": 382894, "POP_OTHER": 1037811, "RANK_MAX": 13, "RANK_MIN": 10, "GEONAMEID": 4164138, "MEGANAME": "Miami", "LS_NAME": "Miami", "LS_MATCH": 1, "CHECKME": 0, "MAX_POP10": 1122682, "MAX_POP20": 1443206, "MAX_POP50": 5187749, "MAX_POP300": 5187749, "MAX_POP310": 5187749, "MAX_NATSCA": 300, "MIN_AREAKM": 380, "MAX_AREAKM": 2907, "MIN_AREAMI": 147, "MAX_AREAMI": 1122, "MIN_PERKM": 156, "MAX_PERKM": 999, "MIN_PERMI": 97, "MAX_PERMI": 620, "MIN_BBXMIN": -80.466667, "MAX_BBXMIN": -80.441667, "MIN_BBXMAX": -80.175719, "MAX_BBXMAX": -80.025, "MIN_BBYMIN": 25.55, "MAX_BBYMIN": 25.725, "MIN_BBYMAX": 26.01406, "MAX_BBYMAX": 26.991667, "MEAN_BBXC": -80.236416, "MEAN_BBYC": 26.067179, "COMPARE": 0, "GN_ASCII": "Miami", "FEATURE_CL": "P", "FEATURE_CO": "PPL", "ADMIN1_COD": 0, "GN_POP": 382894, "ELEVATION": 2, "GTOPO30": 2, "TIMEZONE": "America/New_York", "GEONAMESNO": "Geonames ascii name + lat.d + long.d matching.", "UN_FID": 550, "UN_ADM0": "United States of America", "UN_LAT": 25.83, "UN_LONG": -80.27, "POP1950": 622, "POP1955": 924, "POP1960": 1361, "POP1965": 1709, "POP1970": 2141, "POP1975": 2590, "POP1980": 3122, "POP1985": 3521, "POP1990": 3969, "POP1995": 4431, "POP2000": 4946, "POP2005": 5438, "POP2010": 5585, "POP2015": 5755, "POP2020": 5969, "POP2025": 6141, "POP2050": 6272 }, "geometry": { "type": "Point", "coordinates": [ -80.244141, 25.799891 ] } }
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -77.739258, 39.334297 ], [ -77.958984, 39.605688 ], [ -78.266602, 39.673370 ], [ -78.574219, 39.537940 ], [ -78.837891, 39.571822 ], [ -79.497070, 39.232253 ], [ -79.497070, 39.740986 ] ] } }
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -75.805664, 39.740986 ], [ -79.497070, 39.740986 ] ] } }
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -77.124023, 38.959409 ], [ -77.519531, 39.130060 ], [ -77.475586, 39.232253 ], [ -77.739258, 39.334297 ] ] } }
,
{ "type": "Feature", "properties": { "SCALERANK": 0, "NATSCALE": 600, "LABELRANK": 1, "FEATURECLA": "Admin-0 capital", "NAME": "Washington, D.C.", "NAMEALT": "Washington D.C.", "DIFFASCII": 0, "NAMEASCII": "Washington, D.C.", "ADM0CAP": 1, "CAPALT": 0, "WORLDCITY": 1, "MEGACITY": 1, "SOV0NAME": "United States", "SOV_A3": "USA", "ADM0NAME": "United States of America", "ADM0_A3": "USA", "ADM1NAME": "District of Columbia", "ISO_A2": "US", "LATITUDE": 38.899549, "LONGITUDE": -77.009419, "CHANGED": 0, "NAMEDIFF": 0, "POP_MAX": 4338000, "POP_MIN": 552433, "POP_OTHER": 2175991, "RANK_MAX": 12, "RANK_MIN": 11, "GEONAMEID": 4140963, "MEGANAME": "Washington, D.C.", "LS_NAME": "Washington, D.C.", "LS_MATCH": 1, "CHECKME": 5, "MAX_POP10": 2182723, "MAX_POP20": 2240256, "MAX_POP50": 3764385, "MAX_POP300": 5678280, "MAX_POP310": 5678280, "MAX_NATSCA": 300, "MIN_AREAKM": 1114, "MAX_AREAKM": 3447, "MIN_AREAMI": 430, "MAX_AREAMI": 1331, "MIN_PERKM": 548, "MAX_PERKM": 1898, "MIN_PERMI": 341, "MAX_PERMI": 1179, "MIN_BBXMIN": -77.533333, "MAX_BBXMIN": -77.308333, "MIN_BBXMAX": -76.752653, "MAX_BBXMAX": -76.4, "MIN_BBYMIN": 38.666667, "MAX_BBYMIN": 38.754222, "MIN_BBYMAX": 39.241667, "MAX_BBYMAX": 39.533333, "MEAN_BBXC": -77.002668, "MEAN_BBYC": 39.007587, "COMPARE": 0, "GN_ASCII": "Washington", "FEATURE_CL": "P", "FEATURE_CO": "PPLC", "ADMIN1_COD": 0, "GN_POP": 552433, "ELEVATION": 7, "GTOPO30": 11, "TIMEZONE": "America/New_York", "GEONAMESNO": "GeoNames match general.", "UN_FID": 577, "UN_ADM0": "United States of America", "UN_LAT": 38.89, "UN_LONG": -76.95, "POP1950": 1298, "POP1955": 1539, "POP1960": 1823, "POP1965": 2135, "POP1970": 2488, "POP1975": 2626, "POP1980": 2777, "POP1985": 3063, "POP1990": 3376, "POP1995": 3651, "POP2000": 3949, "POP2005": 4241, "POP2010": 4338, "POP2015": 4464, "POP2020": 4636, "POP2025": 4778, "POP2050": 4889, "CITYALT": "Washington D.C." }, "geometry": { "type": "Point", "coordinates": [ -77.036133, 38.925229 ] } }
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -77.080078, 38.822591 ], [ -77.124023, 38.959409 ] ] } }
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -77.080078, 38.822591 ], [ -76.948242, 38.891033 ], [ -77.080078, 38.993572 ], [ -77.124023, 38.959409 ] ] } }
@@ -712,14 +712,14 @@
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -81.496582, 30.732393 ], [ -81.716309, 30.751278 ], [ -81.914062, 30.826781 ], [ -82.023926, 30.789037 ], [ -82.023926, 30.448674 ], [ -82.155762, 30.353916 ], [ -82.243652, 30.543339 ], [ -83.869629, 30.675715 ], [ -84.858398, 30.732393 ], [ -85.012207, 30.996446 ] ] } }
,
{ "type": "Feature", "properties": { "SCALERANK": 1, "NATSCALE": 300, "LABELRANK": 1, "FEATURECLA": "Populated place", "NAME": "Miami", "DIFFASCII": 0, "NAMEASCII": "Miami", "ADM0CAP": 0, "CAPALT": 0, "WORLDCITY": 1, "MEGACITY": 1, "SOV0NAME": "United States", "SOV_A3": "USA", "ADM0NAME": "United States of America", "ADM0_A3": "USA", "ADM1NAME": "Florida", "ISO_A2": "US", "LATITUDE": 25.787611, "LONGITUDE": -80.224106, "CHANGED": 0, "NAMEDIFF": 0, "POP_MAX": 5585000, "POP_MIN": 382894, "POP_OTHER": 1037811, "RANK_MAX": 13, "RANK_MIN": 10, "GEONAMEID": 4164138, "MEGANAME": "Miami", "LS_NAME": "Miami", "LS_MATCH": 1, "CHECKME": 0, "MAX_POP10": 1122682, "MAX_POP20": 1443206, "MAX_POP50": 5187749, "MAX_POP300": 5187749, "MAX_POP310": 5187749, "MAX_NATSCA": 300, "MIN_AREAKM": 380, "MAX_AREAKM": 2907, "MIN_AREAMI": 147, "MAX_AREAMI": 1122, "MIN_PERKM": 156, "MAX_PERKM": 999, "MIN_PERMI": 97, "MAX_PERMI": 620, "MIN_BBXMIN": -80.466667, "MAX_BBXMIN": -80.441667, "MIN_BBXMAX": -80.175719, "MAX_BBXMAX": -80.025, "MIN_BBYMIN": 25.55, "MAX_BBYMIN": 25.725, "MIN_BBYMAX": 26.01406, "MAX_BBYMAX": 26.991667, "MEAN_BBXC": -80.236416, "MEAN_BBYC": 26.067179, "COMPARE": 0, "GN_ASCII": "Miami", "FEATURE_CL": "P", "FEATURE_CO": "PPL", "ADMIN1_COD": 0, "GN_POP": 382894, "ELEVATION": 2, "GTOPO30": 2, "TIMEZONE": "America/New_York", "GEONAMESNO": "Geonames ascii name + lat.d + long.d matching.", "UN_FID": 550, "UN_ADM0": "United States of America", "UN_LAT": 25.83, "UN_LONG": -80.27, "POP1950": 622, "POP1955": 924, "POP1960": 1361, "POP1965": 1709, "POP1970": 2141, "POP1975": 2590, "POP1980": 3122, "POP1985": 3521, "POP1990": 3969, "POP1995": 4431, "POP2000": 4946, "POP2005": 5438, "POP2010": 5585, "POP2015": 5755, "POP2020": 5969, "POP2025": 6141, "POP2050": 6272 }, "geometry": { "type": "Point", "coordinates": [ -80.244141, 25.799891 ] } }
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -77.739258, 39.334297 ], [ -77.937012, 39.605688 ], [ -78.244629, 39.673370 ], [ -78.552246, 39.537940 ], [ -78.837891, 39.571822 ], [ -78.969727, 39.470125 ], [ -79.167480, 39.419221 ], [ -79.497070, 39.215231 ], [ -79.497070, 39.724089 ] ] } }
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -75.805664, 39.724089 ], [ -79.497070, 39.724089 ] ] } }
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -77.124023, 38.942321 ], [ -77.321777, 39.061849 ], [ -77.519531, 39.113014 ], [ -77.453613, 39.215231 ], [ -77.585449, 39.300299 ], [ -77.739258, 39.334297 ] ] } }
,
{ "type": "Feature", "properties": { "SCALERANK": 0, "NATSCALE": 600, "LABELRANK": 1, "FEATURECLA": "Admin-0 capital", "NAME": "Washington, D.C.", "NAMEALT": "Washington D.C.", "DIFFASCII": 0, "NAMEASCII": "Washington, D.C.", "ADM0CAP": 1, "CAPALT": 0, "WORLDCITY": 1, "MEGACITY": 1, "SOV0NAME": "United States", "SOV_A3": "USA", "ADM0NAME": "United States of America", "ADM0_A3": "USA", "ADM1NAME": "District of Columbia", "ISO_A2": "US", "LATITUDE": 38.899549, "LONGITUDE": -77.009419, "CHANGED": 0, "NAMEDIFF": 0, "POP_MAX": 4338000, "POP_MIN": 552433, "POP_OTHER": 2175991, "RANK_MAX": 12, "RANK_MIN": 11, "GEONAMEID": 4140963, "MEGANAME": "Washington, D.C.", "LS_NAME": "Washington, D.C.", "LS_MATCH": 1, "CHECKME": 5, "MAX_POP10": 2182723, "MAX_POP20": 2240256, "MAX_POP50": 3764385, "MAX_POP300": 5678280, "MAX_POP310": 5678280, "MAX_NATSCA": 300, "MIN_AREAKM": 1114, "MAX_AREAKM": 3447, "MIN_AREAMI": 430, "MAX_AREAMI": 1331, "MIN_PERKM": 548, "MAX_PERKM": 1898, "MIN_PERMI": 341, "MAX_PERMI": 1179, "MIN_BBXMIN": -77.533333, "MAX_BBXMIN": -77.308333, "MIN_BBXMAX": -76.752653, "MAX_BBXMAX": -76.4, "MIN_BBYMIN": 38.666667, "MAX_BBYMIN": 38.754222, "MIN_BBYMAX": 39.241667, "MAX_BBYMAX": 39.533333, "MEAN_BBXC": -77.002668, "MEAN_BBYC": 39.007587, "COMPARE": 0, "GN_ASCII": "Washington", "FEATURE_CL": "P", "FEATURE_CO": "PPLC", "ADMIN1_COD": 0, "GN_POP": 552433, "ELEVATION": 7, "GTOPO30": 11, "TIMEZONE": "America/New_York", "GEONAMESNO": "GeoNames match general.", "UN_FID": 577, "UN_ADM0": "United States of America", "UN_LAT": 38.89, "UN_LONG": -76.95, "POP1950": 1298, "POP1955": 1539, "POP1960": 1823, "POP1965": 2135, "POP1970": 2488, "POP1975": 2626, "POP1980": 2777, "POP1985": 3063, "POP1990": 3376, "POP1995": 3651, "POP2000": 3949, "POP2005": 4241, "POP2010": 4338, "POP2015": 4464, "POP2020": 4636, "POP2025": 4778, "POP2050": 4889, "CITYALT": "Washington D.C." }, "geometry": { "type": "Point", "coordinates": [ -77.014160, 38.908133 ] } }
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -77.058105, 38.805470 ], [ -77.058105, 38.856820 ], [ -77.124023, 38.942321 ] ] } }
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -77.058105, 38.805470 ], [ -76.926270, 38.891033 ], [ -77.058105, 38.993572 ], [ -77.124023, 38.942321 ] ] } }
@@ -734,8 +734,6 @@
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -75.805664, 39.724089 ], [ -75.717773, 38.462192 ], [ -75.058594, 38.462192 ] ] } }
,
{ "type": "Feature", "properties": { "SCALERANK": 0, "NATSCALE": 600, "LABELRANK": 1, "FEATURECLA": "Populated place", "NAME": "New York", "NAMEALT": "New York-Newark", "DIFFASCII": 0, "NAMEASCII": "New York", "ADM0CAP": 0, "CAPALT": 0, "CAPIN": "UN Headquarters", "WORLDCITY": 1, "MEGACITY": 1, "SOV0NAME": "United States", "SOV_A3": "USA", "ADM0NAME": "United States of America", "ADM0_A3": "USA", "ADM1NAME": "New York", "ISO_A2": "US", "LATITUDE": 40.749979, "LONGITUDE": -73.980017, "CHANGED": 0, "NAMEDIFF": 0, "POP_MAX": 19040000, "POP_MIN": 8008278, "POP_OTHER": 9292603, "RANK_MAX": 14, "RANK_MIN": 13, "GEONAMEID": 5128581, "MEGANAME": "New York-Newark", "LS_NAME": "New York", "LS_MATCH": 1, "CHECKME": 0, "MAX_POP10": 9376946, "MAX_POP20": 11947707, "MAX_POP50": 18788144, "MAX_POP300": 18788144, "MAX_POP310": 18924578, "MAX_NATSCA": 300, "MIN_AREAKM": 1137, "MAX_AREAKM": 8185, "MIN_AREAMI": 439, "MAX_AREAMI": 3160, "MIN_PERKM": 497, "MAX_PERKM": 4993, "MIN_PERMI": 309, "MAX_PERMI": 3102, "MIN_BBXMIN": -74.75, "MAX_BBXMIN": -74.091431, "MIN_BBXMAX": -73.574946, "MAX_BBXMAX": -72.716667, "MIN_BBYMIN": 39.808333, "MAX_BBYMIN": 40.566667, "MIN_BBYMAX": 41.057237, "MAX_BBYMAX": 41.941667, "MEAN_BBXC": -73.815782, "MEAN_BBYC": 40.813006, "COMPARE": 0, "GN_ASCII": "New York City", "FEATURE_CL": "P", "FEATURE_CO": "PPL", "ADMIN1_COD": 0, "GN_POP": 8008278, "ELEVATION": 10, "GTOPO30": 2, "TIMEZONE": "America/New_York", "GEONAMESNO": "GeoNames spatial join with similar names only.", "UN_FID": 555, "UN_ADM0": "United States of America", "UN_LAT": 40.7, "UN_LONG": -73.9, "POP1950": 12338, "POP1955": 13219, "POP1960": 14164, "POP1965": 15177, "POP1970": 16191, "POP1975": 15880, "POP1980": 15601, "POP1985": 15827, "POP1990": 16086, "POP1995": 16943, "POP2000": 17846, "POP2005": 18732, "POP2010": 19040, "POP2015": 19441, "POP2020": 19974, "POP2025": 20370, "POP2050": 20628, "CITYALT": "New York" }, "geometry": { "type": "Point", "coordinates": [ -74.003906, 40.763901 ] } }
,
{ "type": "Feature", "properties": { "scalerank": 2, "featurecla": "Admin-1 boundary", "adm0_a3": "USA", "adm0_name": "United States of America", "mapcolor9": 1, "mapcolor13": 1 }, "geometry": { "type": "LineString", "coordinates": [ [ -75.695801, 37.944198 ], [ -75.629883, 38.013476 ], [ -75.388184, 38.030786 ] ] } }
] }
] }