Skip to main content

Module layers

Module layers 

Source
Expand description

Tile layer definitions and feature processing.

Each layer maps Overture features to protomaps-schema MVT layers.

Modules§

bathymetry
Bathymetry layer — underwater depth contours from Overture base/bathymetry.
boundaries
Boundaries layer — country and administrative boundaries.
buildings
Buildings layer — building footprints from Overture.
earth
Earth layer — landmass polygons, cliffs, islands.
landcover
Landcover layer — forest, grass, urban, snow, etc.
landuse
Landuse layer — parks, industrial, residential zones.
places
Places layer — country, city, town, village labels.
pois
POIs layer — points of interest from OSM and Overture.
roads
Roads layer — highways, streets, paths, rail, ferries.
transit
Transit layer — aeroway lines emitted into the roads MVT layer.
water
Water layer — ocean, lakes, rivers.

Enums§

Layer
Output layer identifiers matching the protomaps basemap schema.

Constants§

FOREIGN
The value of OWNER_KEY for an admin feature of another country.
OWNER_KEY
A private property of a boundaries or places feature: the layer processor sets it to FOREIGN when the source says the feature belongs to another country’s admin division (or is a claim name). The Survey of India mask reads it to drop such lines and labels inside India, then removes it: it never reaches a tile.

Functions§

dispatch
Dispatch a feature to the correct layer processor.
dispatch_all
Dispatch a feature and return every feature the layer produces.
mark_foreign
Mark properties as belonging to a division that is not India’s.
take_owner
feature without its private properties, and whether it was marked FOREIGN.