site-map
Skill4 starsChanged 8 days agoMITView on GitHub
Makes a figure-ground and a context map of a site from OpenStreetMap (or a GeoJSON the architect already has), covering buildings, streets, green space, water and the site boundary, with a scale bar, north point and ODbL attribution, measures site area and building coverage in a projected coordinate system, and labels every OSM building height as tagged, assumed or unknown. Outputs PNG and SVG, plus an optional DXF base in local metres. Use when the architect wants a "figure-ground", "site location plan base", "context map", "Nolli plan", "urban grain study", "site plan from OSM", or "how big is this site". Hands its facts to site-context for the design reading and to massing-study for neighbouring heights.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- gaia-computer-technologies/gaia-ai-architectword for word, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 1
- gaia-computer-technologies/gaia-ai-architect★ 4100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository44 other files it gives its agents.
- ai-policySkill
- architectSkill
- area-checkSkill
- bid-responseSkill
- carbon-estimateSkill
- citation-checkSkill
- client-pushbackSkill
- concept-narrativeSkill
- concept-partiSkill
- contract-admin-letterSkill
- cost-checkSkill
- design-briefSkill
- design-critiqueSkill
- design-diagramSkill
- drawing-register-qaSkill
- dxf-drawingSkill
- fee-proposalSkill
- ifc-querySkill
- markup-reviewSkill
- massing-studySkill
- material-paletteSkill
- meeting-minutesSkill
- objection-responseSkill
- planning-researchSkill
- poe-studySkill
- practice-pulseSkill
- precedent-studySkill
- presentation-deckSkill
- programme-scheduleSkill
- project-descriptionSkill
- project-emailSkill
- regulation-navigatorSkill
- render-promptSkill
- revit-mcpSkill
- rfiSkill
- rhino-grasshopperSkill
- site-contextSkill
- site-visit-reportSkill
- snag-listSkill
- space-feelSkill
- spec-writerSkill
- sun-studySkill
- tool-setupSkill
- value-engineeringSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Report the numbers with their basis: Every area is computed in the UTM zone the script picks (printed as an EPSG code), never in degrees.
- Distinctive: line 71
Don't invent coordinates, boundaries or heights.
- Distinctive: line 72
Don't present a site area from a traced boundary as the legal or surveyed area.
- Distinctive: line 73
Don't use OSM heights for daylight, rights-of-light or overshadowing conclusions.
- Distinctive: line 74
Don't strip the ODbL attribution.
- Distinctive: line 75
Don't hammer the public Overpass servers: keep the radius sensible and reuse the cache.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Site Map
Get from an address to a usable context base in a few minutes: a figure-ground that shows the urban grain, a context map with streets, green space and water, and a site area measured properly. Everything is drawn from OpenStreetMap, which is excellent in some cities and patchy in others. The skill says which.
When to use
- At the start of a project, for the urban-grain read and the base for site-analysis diagrams.
- For a quick site area and coverage figure before a survey exists.
- For a CAD base (DXF) to sketch over, until a measured survey arrives.
Input
- A location: lat/lon (decimal degrees) and a radius in metres (20 to 1,500 m). If the architect gives only an address, geocode it with a tool you actually have and show them the coordinates to confirm. Never guess coordinates for an address.
- Optionally, the site boundary as a GeoJSON polygon (WGS84), drawn from a title plan, a survey, or traced on a web map. Without it there is no site area, only context.
- Offline alternative: a GeoJSON of context features with OSM-style tag columns (
building,highway,height,building:levels,leisure,landuse,natural,waterway).
Process
- Confirm the point (and the boundary, if given) with the architect before fetching.
- Run the script.
uv run scripts/site_map.py --point LAT LON --radius 250 --site site.geojson --out out/site --dxfor offline:uv run scripts/site_map.py --geojson context.geojson --site site.geojson --out out/siteIt fetches from the public Overpass API through OSMnx, which caches responses in./cache. A 150 to 250 m radius usually takes under a minute. If Overpass is busy or rate-limited, the script refuses with the error. Wait and retry, or use--geojson. - Check the images. Is the site outline where the architect expects it? Are there obvious holes in the building footprints? Missing buildings are common in suburbs and small towns. If coverage looks thin, say so plainly.
- Report the numbers with their basis. Every area is computed in the UTM zone the script picks (printed as an EPSG code), never in degrees. Site area comes from the supplied boundary, not from OSM.
- Hand over the figure-ground, context map, optional DXF, the report, and the attribution line. Then hand to
site-contextfor what it means for the design.
Geocoding options, Overpass etiquette and QGIS/MCP notes are in references/tool-notes.md.
Domain knowledge
- Figure-ground (a Nolli plan): buildings black on white, nothing else. It shows grain, block size, permeability and where the open space is. Read it for the pattern the new building joins or breaks.
- Projected CRS. Areas measured in latitude and longitude are wrong. A degree of longitude shrinks towards the poles. UTM keeps area error well below what matters at site scale. The DXF is written in local metres with the UTM origin recorded on the drawing, so it can be re-registered later.
- North. The north point shows grid north of the UTM projection, which differs from true north by up to a couple of degrees away from the zone's central meridian. That's fine for a context map. For solar work or a drawing that will be issued, take north from a survey.
- OSM heights are not data you can design to. Usually only a minority of buildings carry a
heighttag, even in well-mapped cities. The script counts them for the area you fetched, so quote that count.building:levelstimes an assumed floor height (3.0 m by default; set--floor-height) is labelled ASSUMED. Everything else is UNKNOWN. Treat all of it as indicative for massing, never for rights-of-light, daylight or overshadowing assessments. - Completeness varies. OSM is volunteered. Some dense, well-mapped cities are close to complete. Rural areas, informal settlements and newly built areas can be badly incomplete. Judge from the image, not from a reputation. Coverage percentages inherit that.
- Licence. OSM data is under ODbL 1.0. Any map using it must credit "(c) OpenStreetMap contributors". The script draws the credit on every image and puts it in the DXF. Don't crop it off.
- Better sources exist locally. National mapping agencies (Ordnance Survey MasterMap in the UK, Kadaster BGT and 3D BAG in the Netherlands, IGN in France, city open-data 3D models, county GIS in the US) are often more accurate and sometimes free. Recommend them for anything beyond early-stage work. Don't claim a dataset exists for a place unless you have checked.
Output format
## Site map: [name]
Files: site_figure_ground.png/.svg, site_context.png/.svg, [site.dxf]
Source: OpenStreetMap via Overpass, [radius] m around [lat, lon], fetched [date] | CRS: EPSG:[code]
| Measure | Value | Basis |
|---|---|---|
| Site area | 9,181 m2 (0.918 ha) | supplied boundary, projected; not a survey |
| Site perimeter | 384 m | supplied boundary |
| Building coverage in radius | 49% | OSM footprints; completeness [good / patchy / poor] |
| Context heights | 6-43 m | 7 tagged, 7 assumed (levels x 3.0 m), 22 unknown |
Reading of the grain: [two or three sentences: block size, street pattern, open space]
Gaps: [missing buildings, odd tags, what to get from a survey or national mapping]
(c) OpenStreetMap contributors, ODbL 1.0What you don't do
- Don't invent coordinates, boundaries or heights. An address with no confirmed point means no map yet.
- Don't present a site area from a traced boundary as the legal or surveyed area. Title, survey and planning areas can differ.
- Don't use OSM heights for daylight, rights-of-light or overshadowing conclusions. They need measured data and a qualified assessor.
- Don't strip the ODbL attribution.
- Don't hammer the public Overpass servers: keep the radius sensible and reuse the cache.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

