Brian Sperlongano af8c6883dd
Revamp water label display logic (#1457)
* At zooms 9-13, water labels will now be rendered for water features that are at least 0.25 tiles in size.  This means that water features that are the same size as a 128x128 pixel square will get a point label.
* Labels for large water features are now shown at the lowest zoom at which it's appropriate to show a label.
* Bay and strait names (`natural=bay` and `natural=strait`) are included. 
* Large seas modeled as areas (e.g. Caspian Sea) render as `class=sea` rather than `class=lake`
2023-01-10 13:39:54 +01:00

43 lines
760 B
YAML

tables:
# etldoc: imposm3 -> osm_marine_point
marine_point:
type: point
columns:
- name: osm_id
type: id
- name: geometry
type: geometry
- name: name
key: name
type: string
- name: name_en
key: name:en
type: string
- name: name_de
key: name:de
type: string
- name: tags
type: hstore_tags
- name: place
key: place
type: string
- name: natural
key: natural
type: string
- name: rank
key: rank
type: integer
- name: is_intermittent
key: intermittent
type: bool
filters:
require:
name: ["__any__"]
mapping:
place:
- ocean
- sea
natural:
- bay
- strait