# Artemyx Example - Buffer / Dissolve
# Vancouver bikeways buffered by 200m to show walking-distance zones.
# Geodetically accurate - buffers use UTM reprojection for true circular geometry.
# Dissolve merges overlapping buffers into a single walkshed polygon.
map:
center: [-123.1207, 49.2827] # Vancouver, BC
zoom: 12
basemap: carto-dark
datasets:
- id: bikeways
url: "https://opendata.vancouver.ca/api/explore/v2.1/catalog/datasets/bikeways/exports/geojson?lang=en&timezone=America%2FLos_Angeles"
name: Vancouver Bikeways
color: "#38bdf8"
operations:
- type: buffer
input: bikeways
output: bikeway_walkshed
name: Bikeway Walkshed (200m)
params:
distance: 200
units: meters
dissolve: true
color: "#a78bfa"
layers:
# Walkshed fill - dissolved buffer polygon
- id: walkshed-fill
source: bikeway_walkshed
type: fill
paint:
fill-color: "#a78bfa"
fill-opacity: 0.15
# Walkshed outline
- id: walkshed-outline
source: bikeway_walkshed
type: line
paint:
line-color: "#c4b5fd"
line-width: 1.5
line-opacity: 0.6
# Bikeways on top
- id: bikeways-line
source: bikeways
type: line
paint:
line-color: "#38bdf8"
line-width: 2.5