mirror of
https://github.com/maplibre/martin.git
synced 2024-12-19 21:01:45 +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
25 lines
336 B
JSON
25 lines
336 B
JSON
{
|
|
"tilejson": "3.0.0",
|
|
"tiles": [
|
|
"http://localhost:3111/table_source/{z}/{x}/{y}"
|
|
],
|
|
"vector_layers": [
|
|
{
|
|
"id": "table_source",
|
|
"fields": {
|
|
"gid": "int4"
|
|
}
|
|
}
|
|
],
|
|
"bounds": [
|
|
-2,
|
|
-1,
|
|
142.84131509869133,
|
|
45
|
|
],
|
|
"name": "table_source",
|
|
"foo": {
|
|
"bar": "foo"
|
|
}
|
|
}
|