mirror of
https://github.com/maplibre/martin.git
synced 2024-12-22 14:21:39 +03:00
7aa169ed67
* 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
23 lines
387 B
JSON
23 lines
387 B
JSON
{
|
|
"tilejson": "3.0.0",
|
|
"tiles": [
|
|
"http://localhost:3111/points3857/{z}/{x}/{y}"
|
|
],
|
|
"vector_layers": [
|
|
{
|
|
"id": "points3857",
|
|
"fields": {
|
|
"gid": "int4"
|
|
}
|
|
}
|
|
],
|
|
"bounds": [
|
|
-161.40590777554058,
|
|
-81.50727021609012,
|
|
172.51549126768532,
|
|
84.2440187164111
|
|
],
|
|
"description": "public.points3857.geom",
|
|
"name": "points3857"
|
|
}
|