diff --git a/tests/feature-filter/out/filtered.json.standard b/tests/feature-filter/out/filtered.json.standard index 4d9ae0dd..c391431c 100644 --- a/tests/feature-filter/out/filtered.json.standard +++ b/tests/feature-filter/out/filtered.json.standard @@ -1,6 +1,6 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "-180.000000,0.000000,0.966797,85.051129", -"bounds": "-180.000000,0.000000,0.966797,85.051129", +"antimeridian_adjusted_bounds": "-100.019531,0.000000,0.966797,0.966751", +"bounds": "-100.019531,0.000000,0.966797,0.966751", "center": "0.000000,0.000000,0", "description": "tests/feature-filter/out/all.mbtiles", "format": "pbf", diff --git a/tests/join-population/joined-i.mbtiles.json b/tests/join-population/joined-i.mbtiles.json index e50d42e9..6d8dd763 100644 --- a/tests/join-population/joined-i.mbtiles.json +++ b/tests/join-population/joined-i.mbtiles.json @@ -1,6 +1,6 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "-135.000000,37.881357,-122.280579,40.979898", -"bounds": "-135.000000,37.881357,-122.280579,40.979898", +"antimeridian_adjusted_bounds": "-122.309418,37.881357,-122.280579,37.900865", +"bounds": "-122.309418,37.881357,-122.280579,37.900865", "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", diff --git a/tests/join-population/joined-no-tile-stats.mbtiles.json b/tests/join-population/joined-no-tile-stats.mbtiles.json index 92a87d2e..4e5b7ec0 100644 --- a/tests/join-population/joined-no-tile-stats.mbtiles.json +++ b/tests/join-population/joined-no-tile-stats.mbtiles.json @@ -1,6 +1,6 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "-135.000000,37.874853,-122.280579,40.979898", -"bounds": "-135.000000,37.874853,-122.280579,40.979898", +"antimeridian_adjusted_bounds": "-122.343750,37.874853,-122.280579,37.900865", +"bounds": "-122.343750,37.874853,-122.280579,37.900865", "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", diff --git a/tests/join-population/joined-null.mbtiles.json b/tests/join-population/joined-null.mbtiles.json index 3d2a912e..c8a71676 100644 --- a/tests/join-population/joined-null.mbtiles.json +++ b/tests/join-population/joined-null.mbtiles.json @@ -1,6 +1,6 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "-135.000000,37.874853,-122.280579,40.979898", -"bounds": "-135.000000,37.874853,-122.280579,40.979898", +"antimeridian_adjusted_bounds": "-122.343750,37.874853,-122.280579,37.900865", +"bounds": "-122.343750,37.874853,-122.280579,37.900865", "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", diff --git a/tests/join-population/joined-tile-stats-attributes-limit.mbtiles.json b/tests/join-population/joined-tile-stats-attributes-limit.mbtiles.json index 7afa4f11..c6f6d52c 100644 --- a/tests/join-population/joined-tile-stats-attributes-limit.mbtiles.json +++ b/tests/join-population/joined-tile-stats-attributes-limit.mbtiles.json @@ -1,6 +1,6 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "-135.000000,37.874853,-122.280579,40.979898", -"bounds": "-135.000000,37.874853,-122.280579,40.979898", +"antimeridian_adjusted_bounds": "-122.343750,37.874853,-122.280579,37.900865", +"bounds": "-122.343750,37.874853,-122.280579,37.900865", "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", diff --git a/tests/join-population/joined-tile-stats-sample-values-limit.mbtiles.json b/tests/join-population/joined-tile-stats-sample-values-limit.mbtiles.json index b0b4c3f8..b3ce3787 100644 --- a/tests/join-population/joined-tile-stats-sample-values-limit.mbtiles.json +++ b/tests/join-population/joined-tile-stats-sample-values-limit.mbtiles.json @@ -1,6 +1,6 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "-135.000000,37.874853,-122.280579,40.979898", -"bounds": "-135.000000,37.874853,-122.280579,40.979898", +"antimeridian_adjusted_bounds": "-122.343750,37.874853,-122.280579,37.900865", +"bounds": "-122.343750,37.874853,-122.280579,37.900865", "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", diff --git a/tests/join-population/joined-tile-stats-values-limit.mbtiles.json b/tests/join-population/joined-tile-stats-values-limit.mbtiles.json index 517f1f24..7999ec3c 100644 --- a/tests/join-population/joined-tile-stats-values-limit.mbtiles.json +++ b/tests/join-population/joined-tile-stats-values-limit.mbtiles.json @@ -1,6 +1,6 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "-135.000000,37.874853,-122.280579,40.979898", -"bounds": "-135.000000,37.874853,-122.280579,40.979898", +"antimeridian_adjusted_bounds": "-122.343750,37.874853,-122.280579,37.900865", +"bounds": "-122.343750,37.874853,-122.280579,37.900865", "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", diff --git a/tests/join-population/joined.mbtiles.json b/tests/join-population/joined.mbtiles.json index acd23ed2..4d416618 100644 --- a/tests/join-population/joined.mbtiles.json +++ b/tests/join-population/joined.mbtiles.json @@ -1,6 +1,6 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "-135.000000,37.874853,-122.280579,40.979898", -"bounds": "-135.000000,37.874853,-122.280579,40.979898", +"antimeridian_adjusted_bounds": "-122.343750,37.874853,-122.280579,37.900865", +"bounds": "-122.343750,37.874853,-122.280579,37.900865", "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", diff --git a/tests/join-population/merged-folder.mbtiles.json b/tests/join-population/merged-folder.mbtiles.json index c0ae4f27..3e5f1cd4 100644 --- a/tests/join-population/merged-folder.mbtiles.json +++ b/tests/join-population/merged-folder.mbtiles.json @@ -1,6 +1,6 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "-135.000000,37.694688,-122.103424,40.979898", -"bounds": "-135.000000,37.694688,-122.103424,40.979898", +"antimeridian_adjusted_bounds": "-122.343750,37.694688,-122.103424,37.900865", +"bounds": "-122.343750,37.694688,-122.103424,37.900865", "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420-folder", "format": "pbf", diff --git a/tests/join-population/merged.mbtiles.json b/tests/join-population/merged.mbtiles.json index e7ccaf9c..17d42609 100644 --- a/tests/join-population/merged.mbtiles.json +++ b/tests/join-population/merged.mbtiles.json @@ -1,6 +1,6 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "-135.000000,37.694688,-122.103424,40.979898", -"bounds": "-135.000000,37.694688,-122.103424,40.979898", +"antimeridian_adjusted_bounds": "-122.343750,37.694688,-122.103424,37.900865", +"bounds": "-122.343750,37.694688,-122.103424,37.900865", "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", diff --git a/tests/join-population/no-macarthur.mbtiles.json b/tests/join-population/no-macarthur.mbtiles.json index db2e7c61..5d33240a 100644 --- a/tests/join-population/no-macarthur.mbtiles.json +++ b/tests/join-population/no-macarthur.mbtiles.json @@ -1,6 +1,6 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "-135.000000,37.874853,-122.280579,40.979898", -"bounds": "-135.000000,37.874853,-122.280579,40.979898", +"antimeridian_adjusted_bounds": "-122.343750,37.874853,-122.280579,37.900865", +"bounds": "-122.343750,37.874853,-122.280579,37.900865", "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", diff --git a/tests/join-population/raw-merged-folder.json b/tests/join-population/raw-merged-folder.json index d0782293..a61b2cee 100644 --- a/tests/join-population/raw-merged-folder.json +++ b/tests/join-population/raw-merged-folder.json @@ -1,6 +1,6 @@ { "type": "FeatureCollection", "properties": { -"antimeridian_adjusted_bounds": "-135.000000,37.694688,-122.103424,40.979898", -"bounds": "-135.000000,37.694688,-122.103424,40.979898", +"antimeridian_adjusted_bounds": "-122.343750,37.694688,-122.103424,37.900865", +"bounds": "-122.343750,37.694688,-122.103424,37.900865", "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", diff --git a/tile-join.cpp b/tile-join.cpp index 18a1c68f..8304ec0f 100644 --- a/tile-join.cpp +++ b/tile-join.cpp @@ -411,15 +411,17 @@ void append_tile(std::string message, int z, unsigned x, unsigned y, std::map