mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Calculate an antimeridian-adjusted bounding box in tileset metadata (#82)
* Calculate a new antimeridian-adjusted bounding box * Add antimeridian bounding box to pmtiles, dirtiles, and tile-join * Don't take out-of-bounds latitudes into account in the adjusted bbox * Update changelog * Forgot to adjust tests after the last change
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{ "type": "FeatureCollection", "properties": {
|
||||
"antimeridian_adjusted_bounds": "180.000000,85.051129,-180.000000,-85.051129",
|
||||
"bounds": "-180.000000,85.051129,180.000000,85.051129",
|
||||
"center": "-179.989014,85.051129,14",
|
||||
"description": "tests/raw-tiles/nothing",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ "type": "FeatureCollection", "properties": {
|
||||
"antimeridian_adjusted_bounds": "-123.750000,45.089036,-120.937500,47.040182",
|
||||
"bounds": "-123.750000,45.089036,-120.937500,47.040182",
|
||||
"center": "-122.662354,45.514045,7",
|
||||
"description": "tests/raw-tiles/raw-tiles",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ "type": "FeatureCollection", "properties": {
|
||||
"antimeridian_adjusted_bounds": "-122.682427,45.512331,-122.654961,45.569975",
|
||||
"bounds": "-122.682427,45.512331,-122.654961,45.569975",
|
||||
"center": "-122.662354,45.514045,14",
|
||||
"description": "tests/raw-tiles/raw-tiles",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{ "type": "FeatureCollection", "properties": {
|
||||
"antimeridian_adjusted_bounds": "-122.682427,45.512331,-122.654961,45.569975",
|
||||
"bounds": "-122.682427,45.512331,-122.654961,45.569975",
|
||||
"center": "-122.662354,45.514045,14",
|
||||
"description": "tests/raw-tiles/raw-tiles",
|
||||
|
||||
Reference in New Issue
Block a user