Direct answer: The city-generation tool is trending on GitHub this week. Turning real geography into game geometry runs on OpenStreetMap: tagged data, coordinate projection and a conversion pipeline from planet-scale database to playable blocks.

A project is trending on GitHub this week with a simple promise: your city, rebuilt block by block inside a game world.

The magic ingredient is an open dataset most people have never heard of. OpenStreetMap is a planet-scale database of everything mapped, and it is structured enough to become geometry.

OpenStreetMap: the world as a database

OSM stores the world as nodes, ways and relations - points, connected lines and groupings - each carrying tags that describe what it is.

Query areaextract the regionTag classifybuilding, road, waterProjectdegrees to metersGenerategeometry in the game

The tags are the semantic layer: a way tagged as a building with levels and height becomes a structure; one tagged as a river becomes water.

The projection step nobody thinks about

Geographic coordinates are angles on a sphere; game worlds are flat meters. Converting between them requires a map projection - and choosing one badly skews every distance.

StepProblem solvedCommon pitfall
Projection choiceAngles become flat metersDistortion at wrong scales
Local originCoordinates near your cityFloating-point jitter far away
Scale mappingReal meters to game blocksCities too large or tiny
Height dataTerrain gains elevationFlat cities look wrong

Why this pipeline matters beyond games

The same conversion - tagged geographic data into usable geometry - powers urban planning tools, evacuation simulations and digital-twin dashboards.

  • Open geodata lowers the entry cost for civic tools.
  • Tag quality determines output quality directly.
  • Volunteers mapping their streets fuel all of it.
  • Games are the friendliest face of serious infrastructure.

That is the quiet story here: a hobby project and a municipal dashboard can read from the same database and speak the same geometry.

missedyour Brain mapquiz yourselfmasteredWatch your weak spots turn green.

Drop in your PDF - it doesn't leave your device.
Every miss becomes a red node on your map.
Free plan: 21 nodes, no card, no countdown.

Open Brain - free

The bigger picture

OpenStreetMap is one of the great volunteer achievements of the internet - and generative tools keep finding new ways to make the data tangible.

So this week’s trending project is a love letter with a pipeline: your neighborhood, translated from satellite truth into walkable blocks.

The bottom line: OSM encodes the world as tagged nodes, ways and relations. Projections convert curved coordinates into flat game meters. Tag quality directly decides generation quality. The same pipeline powers games, planning and digital twins.

Key takeaways

  • OSM encodes the world as tagged nodes, ways and relations.
  • Projections convert curved coordinates into flat game meters.
  • Tag quality directly decides generation quality.
  • The same pipeline powers games, planning and digital twins.

Quick answers

How accurate are generated cities?
As accurate as the underlying mapping. Dense urban areas with active contributor communities generate remarkably faithfully; sparse regions fill with defaults.

Can I generate my own neighborhood?
Yes - query your area from OpenStreetMap and run it through the converter. Most cities have complete-enough building data.

Why does height data matter so much?
Elevation turns flat cutouts into recognizable terrain; without it, even accurate street layouts feel uncanny.

One thing to do tonight

Tonight, look up your own street on OpenStreetMap and check how completely it is tagged. If it is thin, you have found your weekend contribution opportunity.