Lesson 2.3Lesson 2.3 · Modelling the City in 3D
Semantic vs Geometric Models
A mesh of triangles can look exactly like a city and still be unable to answer a single useful question about it - because it knows shapes, not things; the leap that makes a twin possible is semantics, where every object knows what it is and carries its own meaning
Drop a detailed mesh of a city in front of a computer and ask it 'which of these are hospitals?' It cannot answer - not because the data is missing, but because, to a mesh, there are no hospitals, only triangles.
Here is a thought experiment that cuts to the heart of this module. You have two 3D models of the same district, pixel-for-pixel identical on screen. You ask each a simple question: show me every hospital within 500 metres of the river that is more than four storeys tall. One model returns a precise set of buildings in a second. The other cannot even begin - it does not know what a hospital is, what a storey is, what the river is, or that any of its surfaces belong together as a 'building' at all. It knows only coordinates of triangles.
That is the distinction between a geometric model and a semantic model, and it is the single most important idea in how a twin actually works. Geometry is shape: where surfaces are in space. Semantics is meaning: that this shape is a roof, belongs to that building, which is a hospital, owned by whom, of what height, connected to which road. The two look the same when you render them, which is exactly why the distinction is so often missed - and why so much money is spent on gorgeous meshes that can never become twins. A twin has to reason, query and simulate, and you simply cannot reason about things a model does not know are things. This lesson makes the distinction precise, shows why semantics is the enabler of everything a twin does, and links it to the world you may already know: BIM and IFC, where the same principle plays out at building scale.
Two identical views. One is triangles. One is labelled, attributed, related objects. Only the second can be asked a question - and even it can be confidently wrong.
Two ways to represent the very same building
Take one building and represent it two ways. The geometric representation is a mesh: a set of points, edges and triangular or polygonal faces positioned in 3D space, perhaps draped with a photographic texture so it looks convincingly real. This is how a great deal of 3D content in games, film and photogrammetry is stored, and it is excellent at one thing - looking right. But a mesh is, semantically, mute. It contains no notion of 'wall' or 'roof' or 'building'; it is one continuous skin of faces. Split it in half and you get two meshes, not 'the north wing' and 'the south wing'. Nothing in it says what it is.
The semantic representation is an object model. The same building is now a Building object, decomposed into meaningful parts - RoofSurface, WallSurface, GroundSurface, and at higher detail rooms and openings - each of which is a named thing carrying attributes (function, height, year built, material, use) and standing in relationships (this wall belongs to this building; this building fronts this road; this room is inside this storey). The geometry is still there, attached to each object, but it is now organised by meaning. This is what CityGML does at city scale and what BIM does at building scale: it is the difference between a photograph of a filing cabinet and the files actually sorted and labelled inside it.
The reason the distinction hides so well is that rendering collapses it. On screen, a semantically rich CityGML building and a dumb textured mesh can be indistinguishable, even the mesh looking better because of its photo texture. The difference is entirely in what the computer knows, not in what the eye sees - which is precisely why a buyer dazzled by a beautiful fly-through can end up with a model that can never do the work of a twin. When you evaluate any city model, the test is never 'does it look real?' but 'can I select an object and does it tell me what it is?' The first is geometry; only the second is semantics, and only semantics is a foundation you can build a twin on. Appearances, here, are genuinely deceiving - by design.
What semantics lets a twin actually do
Semantics is not an academic nicety; it is the thing that converts a model from scenery into an instrument. Three capabilities follow directly from objects knowing what they are, and each is load-bearing for a twin. The first is query. Because objects carry attributes and relationships, you can ask the model structured questions and get meaningful answers: every residential building over six storeys within a flood zone; every south-facing roof above 40 square metres for solar; every road segment within 300 metres of a proposed station. A mesh can answer none of these, because it has no 'building', 'roof', 'zone' or 'road' to filter on. Query is the everyday workhorse of a twin, and it exists only on top of semantics.
The second is connection to data. A twin stays alive because live data flows into it (Module 3), and that data has to attach to something meaningful: a temperature reading to a specific building, a traffic count to a specific road, an occupancy figure to a specific space. Semantics provides the hooks - the named objects the data binds to. Pour sensor data onto a featureless mesh and it has nowhere to land; pour it onto a semantic model and each reading finds its object. The third is simulation and reasoning (Module 4). To simulate shadow, energy, flood or traffic, the engine must know which surfaces are roofs, which volumes are buildings with a use and an occupancy, which lines are roads with a capacity. Simulation runs on meaning, not on anonymous geometry; it reasons about objects and their relationships.
Put the three together and the slogan writes itself: you cannot reason about things the model does not know are things. Monitoring, querying, analysing, simulating and the feedback loop into decisions - the entire definition of a twin from Lesson 0.1 - all depend on the model being semantic. This is also why twin-washing so often takes the form of a detailed geometric model with a dashboard: it looks like a twin and even does a little visualisation, but lacking real semantics it cannot genuinely query, connect or simulate, and its 'analysis' is often shallow or faked. Semantics is the dividing line between a mirror you can interrogate and a picture you can only admire - and it is the honest test to apply before believing any twin's claims.
Ask a mesh 'which are hospitals?' -> silence. Ask a semantic model -> a real answer. Query, live data, simulation all ride on meaning.
The same principle at building scale: BIM and IFC
If the semantic idea feels abstract, there is a good chance you have already met it at building scale, because BIM (Building Information Modelling) is exactly this principle applied to a single building. A BIM model is not a 3D drawing; it is a semantic model in which walls are walls, doors are doors, beams are beams - objects carrying rich information (material, fire rating, cost, manufacturer, thermal properties) and relationships (this door is hosted in this wall, which bounds this space). BIM is, in effect, the building-scale sibling of CityGML's city-scale semantics, and the open standard that lets BIM data move between tools without lock-in is IFC (Industry Foundation Classes), an openly published schema maintained by the buildingSMART community - the BIM world's equivalent of what CityGML is for cities.
The relationship between them is the connective tissue of a city twin, and it runs in both directions. Downward, a city model provides the context a building sits in; upward, detailed BIM/IFC building models can be generalised into the coarser semantic objects a city model needs - a construction-grade IFC building becoming an LOD2 or LOD3 CityGML building for the city twin. This is how the nested idea from Lesson 0.1 (a building twin inside a district twin inside a city twin) is actually realised: shared semantics at each scale, with defined mappings between them. It is also where a great deal of the hard, unglamorous engineering of real twins lives - the conversion is lossy, the object definitions do not map one-to-one, and classifications differ between the standards.
For a designer this link is practical and immediate. The BIM model you produce is, increasingly, not just a deliverable for construction but a potential contribution to a wider city model - which raises the quality of your semantic data (are your objects correctly classified? your attributes filled?) to a matter of civic consequence, not just internal convenience. And it is the clearest proof that 'semantic versus geometric' is not a niche city-modelling debate but the same fault line that runs through the whole of digital design: a model made of meaningful, attributed, related objects can be reasoned about, exchanged and built upon; a model that is only shape cannot. The integration and interoperability work that makes these standards actually talk to each other is substantial, and we return to it in Module 3 - where the honest truth is that 'it is all open standards' hides a lot of difficult plumbing.
City scale: CityGML. Building scale: BIM / IFC. Same idea - objects that know what they are - nested, with lossy mappings between them.
What semantics costs, and what it still cannot promise
Semantics is powerful, but an honest account has to name its price and its limits, or it becomes just another kind of hype. The first cost is effort: a semantic model is far more demanding to create and maintain than a mesh. Someone, or some algorithm, has to decide what each object is, classify it correctly, fill in its attributes and establish its relationships - and that work must be redone as the city changes. A mesh can be captured almost automatically by photogrammetry; a richly attributed semantic model cannot, at least not reliably, and automation here remains partial (Lesson 2.4). Much semantic data is entered by people, which means it can be incomplete, inconsistent or simply wrong.
The second, subtler point is that semantics does not equal truth. An object confidently labelled 'hospital' with a height of '14 metres' is only as correct as whoever or whatever set those values. A semantic model can be richly structured and systematically wrong - misclassified uses, stale attributes, missing relationships, buildings that were demolished still standing in the data. Worse, the very structure that makes a semantic model queryable lends its answers an air of authority: a crisp query result feels like fact, even when it rests on dubious attributes. The queryability that is semantics' great strength can thus amplify false confidence, which is why the cautions from Module 0 apply with full force - a twin is decision-support, never an oracle, and a structured wrong answer is still wrong.
There is also an equity edge to semantics. What gets modelled as a first-class object, with rich attributes, reflects whose concerns the model was built to serve. Formal buildings, registered roads and planned infrastructure tend to be well represented as proper objects; informal settlements, unregistered structures and the street-level economy are often absent, lumped into coarse geometry, or simply missing - so the semantic model can encode and harden the same blind spots as the data behind it, the India-relevant concern this course keeps returning to. The takeaway is balanced and firm: semantics is what makes a twin possible and is worth its considerable cost, but a semantic model must be read as a human-made, maintained, value-laden artefact that can be wrong and can exclude - and binding decisions about what a building really is, where a boundary really lies, and how its data may lawfully be used stay with the accountable professionals, custodians and the law, never with a confident-looking attribute in a file.
Semantic model (objects + attributes + relations)
A model whose parts know what they are
The foundation that makes query, data connection and simulation possible. CityGML provides this at city scale. Test any model by selecting an object and asking if it says what it is. Lesson 2.1.
Geometric model (mesh / shape only)
Shape without meaning
Excellent for appearance, mute for reasoning. A detailed mesh with a dashboard is a common form of twin-washing; it cannot genuinely query, connect or simulate. Module 9.
BIM / IFC
The same semantic principle at building scale
BIM models buildings as meaningful, attributed objects; IFC is the open standard (buildingSMART) that moves it without lock-in and lets it nest into the city model. Mappings between IFC and CityGML are lossy. Module 3.
Semantic does not equal true
Structured data can still be wrong or exclusionary
Attributes are set by people or algorithms and can be stale, misclassified or missing, while queryability lends false authority. What a building is, where a boundary lies and lawful data use stay with the professionals, custodians and the law. Lessons 0.1, 9.2.
Workshop - prove to yourself that semantics, not realism, makes a twin
The aim is to feel the geometric-versus-semantic divide in your hands by trying to answer real questions against each kind of model, and to connect it to BIM/IFC you may already use.
A realistic 3D mesh/map and a semantic or BIM/IFC model you can inspect in a free viewer, plus a notebook. No authoring needed - this is about seeing what each model can and cannot answer.
Goal: a concrete demonstration that meaning, not appearance, enables a twin Inputs: one realistic mesh/3D map you can view (a photogrammetry scene or 3D web map) + one semantic or BIM model you can inspect (a CityGML viewer, a BIM model, or an IFC file) + this lesson + a notebook Time: ~45 minutes
- 1Write five questions: list five useful questions about a building or area (e.g. which are residential, which roofs face south, which are over four storeys, which front a given road, which are within 300 m of a station).
- 2Interrogate the mesh: try to answer each question using only the geometric model. Note which you can answer (probably none beyond pure shape) and why it falls silent.
- 3Interrogate the semantic/BIM model: try the same questions against the object model - select objects, read attributes, filter. Note which become answerable and what attribute or relationship made it possible.
- 4Trace the nesting: in the BIM/IFC model, find an object (a wall, a space) and describe how it could generalise upward into a coarser city-model object - and what information would be lost in translation.
- 5Write a one-paragraph verdict: what semantics added, one question that stayed unanswerable even semantically (a gap or missing attribute), and one way the semantic model might be confidently wrong or exclude part of the real city - framed as critical reasoning.
You’ll walk away with
A one-page demonstration: the five questions answered (or not) against each model, the upward-nesting trace, and your note on a semantic gap or possible wrong/exclusionary attribute. Keep it for Module 3.
Three altitudes on the same idea
Read the band that fits you — or all three.
The semantic-versus-geometric distinction is the one to carry into every conversation about a city model or a twin, because it decides what the model can do with your work. A beautiful mesh can look like a twin and never query, connect to data or simulate; only a semantic model can. When you commission or evaluate a city model, test it by selecting an object and asking whether it tells you what it is. Your own output matters here too: the BIM/IFC model you produce is increasingly a contribution to the wider city model, so correct classification and filled attributes become civic, not just internal, quality. Hold the honest line - semantic does not mean true; a structured wrong answer is still wrong - and keep binding decisions about what a building is, where a boundary lies, and lawful data use with the professionals, custodians and the law.
You likely already work with semantics every day - it is what BIM is - and that is the bridge between the room you design and the city twin. A BIM model in which walls, doors, spaces and systems are meaningful, attributed objects is the building-scale version of CityGML's idea, and IFC is the open standard that lets it move without lock-in and nest into the wider twin. The quality of your semantic data (are spaces correctly classified? attributes filled?) determines how useful your model is upward. Be mindful that detailed interior semantics and occupancy data describe private, occupied space, raising privacy duties (Module 8), and that a confidently attributed model can still be wrong. Coordinate binding building-systems and lawful data handling with the engineers and the law; your craft is the humane interior the data should serve.
If you remember one technical idea from this whole module, make it this: geometry is shape, semantics is meaning, and only meaning can be queried, connected to data and simulated. You cannot reason about things a model does not know are things - that single sentence explains why a pretty mesh is not a twin and why twin-washing so often looks like a detailed model with a dashboard. Connect it to BIM and IFC, which apply the same principle at building scale, and you have a framework that spans the entire field of digital design. Keep the critical half too: a semantic model is human-made and maintained, so it can be richly structured and systematically wrong, and its queryable crispness can mask bad data and exclude the informal city. Understanding this distinction - and its limits - is genuinely distinctive knowledge for a young designer.
“If a 3D model looks realistic and detailed enough - a high-quality textured mesh you can fly around, captured by photogrammetry - then it is a proper model of the city and can do the analytical work a digital twin needs. Realism and detail are what make a model useful and powerful.”
Do it yourself
No tools needed - reason it through.
- 1In one sentence each, define a geometric model and a semantic model, and say what the second has that the first lacks.
- 2Why can two identical-looking 3D models differ completely in what they can do? Give the test you would apply.
- 3Explain the slogan 'you cannot reason about things the model does not know are things' using query, data connection and simulation.
- 4How do BIM and IFC relate to CityGML, and what is lost when a detailed building model is generalised into a city model?
- 5Why does 'semantic' not mean 'true', and how can queryability actually increase the risk of false confidence?
The one line to carry out
Peer-reviewed journals & authoritative standards
- 01CityGML — Wikipedia — CityGML, 2026.
- 02Building information modeling — Wikipedia — Building information modeling, 2026.
- 03Systems modeling — Wikipedia — Systems modeling, 2026.
- 04Interoperability — Wikipedia — Interoperability, 2026.
- 05Geographic information system — Wikipedia — Geographic information system, 2026.
We now know a twin needs a semantic model, and at a level of detail matched to purpose - but where does that model actually come from? Next we follow the pipeline that builds a city model from cadastral and GIS data, aerial and satellite imagery, LiDAR and photogrammetry, and BIM, and confront the hard problem of keeping it current.
The author
Amogh N P
Architect, interior designer, and creative polymath. Studio Matrx began in his notebooks — his vision of design made honest, useful, and open to everyone. Its Academy is written and taught in his memory, and free, forever.
More about Amogh →