treetracker-tile-server
Machine-generated documentation for Greenstand/treetracker-tile-server.
This repo is a fork.
treetracker-tile-serveris Greenstand's fork of upstream node-mapnik. The Greenstand part is the PostGIS-backed Express tile server undergreenstand/, which renders the tiles of the Treetracker web map, plus its deployment and CI. Thesrc/C++ layer is the upstream Mapnik binding code: the docs describe it only as the engine under the server. The analysis excluded the upstream test fixtures, benchmarks, docs, dependencies, examples, and shapefiles.
Start here
- Explore: open the interactive viewer. It has a guided tour of the repo. Then read the onboarding guide and the glossary.
- Source repo: Greenstand/treetracker-tile-server. Read the README and the CONTRIBUTING.md of the source repo before you make a change.
- Shared resources: Container registry, Clusters and deploys, Secrets in the cluster, API gateway and domains, Shared database. Each section tells how this repo uses the resource and who looks after it.
- First tasks: pick one from the open good first issues of treetracker-tile-server, or from the good first issues of all Greenstand repos.
- New to Greenstand? Read How to contribute to Greenstand. It tells you how to join the community and where to get help. Everyone follows Greenstand's Code of Conduct.
Snapshot
- Source commit:
b619c05 - Snapshot date: 2026-10-17
- Files analyzed: 201 (the upstream directories and the shapefiles are excluded)
- Graph: 657 nodes, 1265 edges, 10 architecture layers, 15-step guided tour
- Domain graph: 4 domains, 17 flows, 90 steps
- Primary language: JavaScript (the tile server) and C++ (the upstream Mapnik binding)
Contents
| File | What it is |
|---|---|
ONBOARDING.md |
Onboarding guide (fork-aware): architecture, key concepts, guided tour, file map, complexity hotspots, business domains. Start here. |
knowledge-graph.json |
Full code knowledge graph (nodes, edges, layers, tour). |
domain-graph.json |
Business domain graph: domains, flows, and process steps. |
meta.json |
Analyzed-at timestamp, source commit, file count. |
Business domains
- Map Tile Serving: the Express service answers tile requests. It renders a 256x256 PNG tile or a UTF grid tile for each request.
- Tile Stylesheet Composition:
greenstand/config.jsbuilds the Mapnik XML style of each tile. Low zoom levels get tree clusters as GeoJSON, and high zoom levels get a PostGIS layer. - Tree Query Selection:
greenstand/Map.jspicks one SQL builder fromgreenstand/sqls/for each tile, by map mode and zoom level. - Release and Deployment: GitHub Actions, the
Dockerfile, and the Kustomize manifests indeployment/release the service and deploy it to development, test, and production.
Regenerating
To regenerate this documentation, follow Regenerating a repo's documentation.