PostGIS Tiles

implmature

Optimized vector tile generation using ST_AsMVT from PostGIS.

Scope

It is highly recommended to enable this extension for simple mappings (see limitations). That will speed up vector tile generation roughly by a factor of 4.

Limitations

Only simple value properties are supported. That means no objects, arrays, transformations or joins. Such properties may be excluded from the generated tiles, see option unsupportedProperties. The native CRS must not have a forced axis order.

Configuration

Options

NameDefaultDescriptionTypeSince
type
Always PGIS_TILES.
string
v2.0
enabled
false
Enable the extension?
boolean
v2.0
unsupportedProperties
DISABLE
How should the extension behave when unsupported properties are found in the configuration. Options are DISABLE to disable the extension, WARN to log a warning and IGNORE to ignore the properties.
string
v4.4

Example


- type: PGIS_TILES
  enabled: true
  unsupportedProperties: IGNORE