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
35 lines
612 B
JSON
35 lines
612 B
JSON
{
|
|
"tilejson": "3.0.0",
|
|
"tiles": [
|
|
"http://localhost:3111/table_source,points1,points2/{z}/{x}/{y}"
|
|
],
|
|
"vector_layers": [
|
|
{
|
|
"id": "table_source",
|
|
"fields": {
|
|
"gid": "int4"
|
|
}
|
|
},
|
|
{
|
|
"id": "points1",
|
|
"fields": {
|
|
"gid": "int4"
|
|
}
|
|
},
|
|
{
|
|
"id": "points2",
|
|
"fields": {
|
|
"gid": "int4"
|
|
}
|
|
}
|
|
],
|
|
"bounds": [
|
|
-179.27313970132585,
|
|
-80.46177157848345,
|
|
179.11187181086706,
|
|
84.93092095128937
|
|
],
|
|
"description": "public.points1.geom\npublic.points2.geom",
|
|
"name": "table_source,points1,points2"
|
|
}
|