City Map Poster
- Lab Skill
- v0.2.0
- Interactive 3D
Turn your city into minimalist posters from real map data: the street map, a skyline from mapped building heights, a food map of every mapped café and restaurant, and landmark outlines, in five themes with a print-size PNG.
示例
City Map Poster interactive demo
该示例在沙盒化的框架中运行,无法访问此页面。
在线运行
在 SandBase sandbox 中运行,并在 Lab 中查看结果。
在 Lab 中打开 ↗你将获得什么
Bring a centre, a radius, up to five places to mark and up to four landmark buildings. The Skill returns a downloadable Skill (map bake, meta prompt, lessons, verification), four kinds of runnable poster, print PNG export and a 60-second film.
工作原理
- 01
Bake the city from OpenStreetMap
City Map Poster bakes a centre and radius into src/city/poster.json, for example node scripts/bake-poster.mjs --center "37.7790,-122.4190" --radius 5000 --title "San Francisco" --landmark "Ferry Building" --skyline-from east. The radius must be 500 to 6000 m. It sends Overpass requests for the map, one per 1.2 km tile for heights and food, and one per landmark, caching every answer.
- 02
Style themes and build the page
Write the city name, map span, five themes and film sequence in src/city/style.json; the renderer in src/poster/ is shared. npm run build:single makes one offline HTML file with Map, Skyline, Food and Landmark kinds, five themes, three formats and a round art area. No key or model is used, but the bake needs network access to public Overpass servers.
- 03
Record the film and export prints
npm run shoot checks the page, and npm run record writes film/film.mp4, the sample being 60 seconds at 1920 by 1080, plus film/poster.jpg. node scripts/poster.mjs --kind all --theme paper --width 3600 writes print PNGs named by kind, theme, format and shape. Check every kind and theme, and confirm the OpenStreetMap credits line appears on each export.
常见问题
What posters does City Map Poster make?
City Map Poster makes four kinds from one bake: a street map with roads by class, railways, water and parks, a skyline from mapped building heights in four depth bands, a food map of cafés, restaurants, bakeries and bars as coloured dots, and landmark outlines with a north arrow, scale bar and mapped facts. Themes are Noir, Paper, Blueprint, Sunset and Mint.
Does City Map Poster guess missing building heights?
No. City Map Poster leaves buildings without a mapped height out of the skyline. Lines, outlines, heights and places are mapped features in their real places, and only colours, widths and type come from the theme. Heights are stretched to fit the poster, and the poster prints the stretch factor.
How long does a City Map Poster bake take?
City Map Poster can take tens of minutes for a dense centre with a 3 to 4 km radius on the public Overpass servers. --kinds map bakes only the street map. Answers are cached next to the output, so an interrupted bake resumes. Set CITY_POSTER_USER_AGENT and run one bake at a time.
Is City Map Poster free to use?
Yes. City Map Poster uses no keys and no model calls; its only network use is the bake's requests to public Overpass servers. The finished page makes no network requests. Map data is under the ODbL, so a baked poster.json is shared under the ODbL and the credits line must stay on prints.
Can I print City Map Poster output?
Yes. City Map Poster's scripts/poster.mjs renders at print width, 3600 by 4800 for 3:4 by default and any width from 600 to 9000. A 3600 px width is 30 cm at 300 dpi. Landmark posters come out one file per landmark.
Why does the City Map Poster food map look thin?
City Map Poster shows only what OpenStreetMap has mapped, and coverage differs a lot between cities. The poster prints the counts per group and the most mapped cuisines, so it says exactly what was found.
What if a City Map Poster landmark is missing?
City Map Poster needs the landmark's exact mapped name, or its English name with --english. The bake reports names it could not find. Up to four landmarks are supported, and the Paris Lines sample uses Notre-Dame, the Louvre, the Panthéon and the Eiffel Tower.
更多 Skills
所有 Interactive 3D Skills →
Resin Diorama
Live 3D resin-block dioramas in your browser: send a little tram across a clear turquoise sea, or ripple the bay of a cliff island. Synthesized sound, and every scene can be tuned.

3D Vehicle Worlds
Explore interactive 3D vehicle worlds in your browser, with varied terrain, camera controls and driving effects. Choose a playable example to begin.

3D Firefly Terrariums
Turn a thick glass miniature, scatter glowing fireflies and open its brass lid. Actual particles leave through the neck and return before it seals. A moonlit cabin, forest and real local lights in one offline HTML.

Jelly Candy: Fruit Bears
Six translucent fruit gummies on a white table. Grab any part and pull, lift a head until the neck stretches thin, press one flat until it springs back, flick one across the pile or pour in more. Fixed-step soft-body physics and a marching-cubes skin in one offline HTML.

WebGPU Soft-Body Gummy Bears
Four translucent gummy bears on an ivory floor, rendered with native WebGPU. A deterministic 36-second choreography stretches, presses, flips and tumbles them before they settle back to the exact rest pose. Drag any bear to stretch, squish or toss it. A fixed-step tetrahedral XPBD solver in one offline HTML.

Stone Stars: 3D Miniature Landmark City
Turn a city into a storybook 3D island around one landmark, with chapters, a daylight-to-starlight slider, street life and a matching scored 24-second film. Sample: a Gaudí-style basilica.

