layer: id: "landcover" description: | Landcover is used to describe the physical material at the surface of the earth. At lower zoom levels this is from Natural Earth data for glaciers and ice shelves and at higher zoom levels the landcover is implied by OSM tags (like `landuse` or `natural`). buffer_size: 4 fields: class: | More generalized groups of either `farmland`, `ice`, `wood`, `grass` or `wetland`. Use this to assign general colors to the landcover. subclass: | Original value of either the `landuse`, `natural` or `wetland` tag. Use this to do more precise styling. datasource: geometry_field: geometry query: (SELECT geometry, class, subclass FROM layer_landcover(!bbox!, z(!scale_denominator!))) AS t schema: - ./landcover.sql datasources: - type: imposm3 mapping_file: ./mapping.yaml