Provider
Crop MVT
Crops vector tiles from another provider to a specific bounds.
MVT
| This is the vector tile equivalent of the crop provider, except without the secondary provider (combine this with compositemvt for the same effect). |
Example
-
YAML
-
JSON
provider:
name: cropmvt
bounds:
south: 51
north: 63
west: -7
east: 0.1
primary:
name: postgismvt
datastore: mydb
table: roads
{
"provider": {
"name": "cropmvt",
"bounds": {
"south": 51,
"north": 63,
"west": -7,
"east": 0.1
},
"primary": {
"name": "postgismvt",
"datastore": "mydb",
"table": "roads"
}
}
}
Configuration
| Parameter | Description | Type | Required | Default |
|---|---|---|---|---|
|
The provider of the vector tile to crop |
Provider |
Yes |
None |
|
Any geometry that falls outside these geographic bounds (in WGS-84/EPSG:4326) will be removed. |
Object with north, south, east, west |
No |
Whole world |
|
If true, use the bounds supplied via the auth context such as the geohash claim in JWT auth. If no bounds are specified via auth context then it falls back on the bounds parameter. |
Boolean |
No |
No |