Configuration
Type: Object
Properties
cors
boolean? enables CORSport
number port to run onproxy
boolean? when true proxy header fields will be trustedtilesURL
string tiles endpoint URLpostgresql
postgresql PostgreSQL connection informationredis
redis? Redis connection informationtilesets
tilesets tilesets description
PostgreSQL Connection
Type: Object
Properties
host
string name of host to connect toport
number port number to connect to at the server hostdatabase
string the database nameuser
string PostgreSQL user name to connect aspassword
string password to be used if the server demands password authentication.
Redis Connection
Type: Object
Properties
Tilesets
Tileset
Type: Object
Properties
table
string name of table containing datageometry_field
string? name of geometry columnsrid
number? geometry column sridsimplify_geometries
boolean? whether to automatically reduce input vertices
Mapbox Vector Tiles Server
Parameters
config
config
Returns Koa koa instance