tilegroxy Docs
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

Configuration options
Parameter Description Type Required Default

primary

The provider of the vector tile to crop

Provider

Yes

None

bounds

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

boundsFromAuth

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