five-on-it / packages/catalogue/src/osm/recipes
packages/catalogue/src/osm/recipes
What every tag of the OpenStreetMap snapshot (osm-tags.json, written by npm run osm:tags) becomes in the game (recipes.json): a building the generator makes (assets/blender/kits/osm.py: its form, size, storeys, roof, look, accent, the sign and glyph read from above, its frontage and anchors), one of the hand-made archetypes, a facility (a prop of a kit), a region's area (a landuse kind), a district's landuse, or nothing (skip, and why). With the recipes come the looks (wall, trim and roof colours) and the signs' glyphs (7 × 7 bitmaps). The snapshot's data is © OpenStreetMap contributors, ODbL.