Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 752 Bytes

LAYERSETS.md

File metadata and controls

38 lines (23 loc) · 752 Bytes

PgOSM Flex layersets

A layerset defines one or more layers, where each layer includes one or more tables and/or views. Layers are defined by a matched pair of Lua and SQL scripts. For example, the road layer is defined by flex-config/style/road.lua and flex-config/sql/road.sql.

Layersets are defined in .ini files.

Included layersets

A few layersets are included with PgOSM Flex under flex-config/layerset/. If the --layerset is not defined, the default layerset is used.

  • minimal
  • basic
  • default
  • everything

Custom layerset

A layerset including the poi and road_major layers would look like:

[layerset]
poi=true
road_major=true

Layers not listed in the layerset .ini are not included.