Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BREAKING] New bounds calculation methods #958

Merged
merged 2 commits into from
Oct 22, 2023
Merged

Conversation

nyurik
Copy link
Member

@nyurik nyurik commented Oct 21, 2023

  • Remove --disable-bounds flag and disable_bounds config parameters.
  • Add --auto-bounds / -b CLI parameter and auto_bounds config value:
    • quick: Compute table geometry bounds, but abort if it takes longer than 5 seconds (default)
    • calc: Compute table geometry bounds. The startup time may be significant. Make sure all GEO columns have indexes
    • skip: Skip bounds calculation. The bounds will be set to the whole world
  • -b is now mapped to --auto-bounds param, but it will fail if used by itself because it now requires a value.

Fixes #955

* Remove `--disable-bounds` flag and `disable_bounds` config parameters.
* Add `--bounds` param/config with a 5s `quick` as default:
  * `quick`: Compute table geometry bounds, but abort if it takes longer than 5 seconds
  * `calc`:  Compute table geometry bounds. The startup time may be significant. Make sure all GEO columns have indexes
  * `skip`:  Skip bounds calculation. The bounds will be set to the whole world
@nyurik nyurik merged commit 7aa169e into maplibre:main Oct 22, 2023
18 checks passed
@nyurik nyurik deleted the bounds branch October 22, 2023 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make auto-bounds calc non-default
2 participants