How can municipal teams calculate the same sensor indicator without mixing units, time periods, or meanings?
A dashboard can place two curves neatly side by side and still imply a comparison that the data cannot support. If two departments calculate “occupancy” differently, a shared color scale does not make the underlying quantities equivalent. Municipalities should define each cross-department sensor indicator as a semantic contract: what question the value answers, which observations it includes, how it is calculated, and who owns changes. Technical integration comes after those decisions.
An indicator is a derived measure that summarizes observations according to a stated rule or turns them into a decision signal. Keep the underlying raw observation separate. The distinction matters in practice: a device value of 72 percent, an hourly summary, and the statement “car park heavily occupied” are three different things, even if a user interface presents them in similar ways.
A shared label does not make two indicators comparable
Consider two occupancy feeds for public car parks. Supplier A reports occupied spaces divided by the approved total capacity. Supplier B considers only spaces that are currently usable and excludes closed areas. Both return percentages labelled “occupancy,” yet they answer different questions. A transport planner who ranks the figures could end up comparing facility operations with demand.
The same issue appears with “fill level,” “noise level,” or “water level.” A sensor may estimate a local physical property; a municipal indicator often answers an administrative question. Treating those layers as identical moves an unresolved policy choice into the software.
OGC SensorThings describes an observation through elements including the observed property, its result, and the result’s unit. In version 2.0, the result type records the structure, property, and unit of a result. The W3C SOSA/SSN model also describes relationships among an observation, its observed property, and the procedure used. Both models help teams make descriptions explicit; municipal staff still decide whether closed parking spaces count in a local occupancy measure. (W3C Semantic Sensor Network Ontology, 2023 Edition) (OGC SensorThings API 2.0)
An indicator contract answers seven practical questions
An indicator contract is the short, versioned definition of a derived measure. It records enough context for another department to understand the value and for a second implementation to calculate it independently. The responsible subject-matter staff should document:
- Purpose and interpretation: Which decision should the value support? “Visitors at the square per hour” differs from “distinct people per day.”
- Subject and coverage: Which assets, places, areas, or sensor groups are included? A counter at one entrance does not automatically represent a whole park.
- Inputs and units: Which measurements are accepted, what units do they use, and which conversions are permitted? Converting Celsius to Fahrenheit changes the unit, not the measured concept.
- Time and space: Does the measure refer to an instant, interval, calendar day, or rolling hour? Which spatial boundary applies, such as a building, zone, or street segment?
- Calculation: Are values summed, averaged, weighted, or expressed as a ratio? For a ratio, name the numerator and denominator. A simple average of sensor percentages can mislead when the sensors cover areas of different sizes.
- Gaps and exclusions: What happens when an observation is missing, late, or technically invalid? Is the indicator marked incomplete, calculated from available inputs, or withheld? The contract should expose the rule rather than hide missing data.
- Ownership and version: Which department approves the definition? When does a change take effect, and can earlier values be reproduced under the earlier formula?
These seven fields form a practical test: two indicators are comparable in meaning only when purpose, population, unit, temporal and spatial resolution, calculation rule, and treatment of gaps match, or when the differences are disclosed. Similar labels and identical APIs are insufficient.
Preserve raw observations and apply rules separately
Store incoming observations so that the original value, original unit, measurement time, and source remain available. An integration layer can then produce a canonical representation, such as temperature in degrees Celsius or counts per fifteen-minute interval. A separate, visible step calculates the municipal indicator. Each transformation should identify its inputs and rule version. That lets the responsible department trace an unusual monthly result back to its observations.
This separation also helps when a supplier changes a field’s meaning after a firmware or contract update. Update the mapping and check the affected calculations. Avoid silently overwriting historical values when the indicator now means something different. A revised definition needs a new version identifier and, if comparability breaks, a visible cutover date.
A maintained register can define accepted unit symbols and conversions. Teams can reuse suitable controlled vocabularies and data models for concepts. The European Core Vocabularies give public administrations a reusable starting point for data models; they are not a complete catalogue for every municipal sensor measurement. Reuse only terms whose meanings fit, and document local extensions. (Core Vocabularies on the Interoperable Europe Portal)
Test the calculation against examples before release
A contract becomes useful when another person can test its rule. Prepare a small set of hand-calculated cases: a typical case, a boundary case, a missing observation, an outlier, and a change in spatial coverage. For an occupancy ratio, three valid sensors might report 40, 60, and 100 percent. Before calculating an average, decide whether each sensor represents an equal-sized area or whether the number of usable spaces should provide the weight.
Check the time meaning of every aggregation too. An hourly value might mean the last sample, the arithmetic mean of samples, or the share of the hour spent above a threshold. The contract should state the aggregation step and timestamp rule, not just say “hourly.” Time zones and daylight-saving changes deserve their own data treatment; an additional indicator definition does not resolve them.
There is no universal municipal fallback for missing data. A safety or response decision may need an explicit “insufficient coverage” status. A rough planning report may accept a calculation from the available sensors if it displays coverage alongside the value. Choose the rule for the decision the indicator supports, then state the threshold. The W3C Data Quality Vocabulary describes quality information as a way for users to judge fitness for purpose. That matches municipal practice: a quality label cannot replace a transparent indicator definition. (W3C Data Quality Vocabulary)
Assign a subject-matter owner before a technical owner
IT can maintain a schema, but the relevant department must approve the meaning. For citywide visitor counts, transport or tourism planners may define the count and spatial boundary. For a flood indicator, water management, public works, and the responsible incident lead may need to agree. A data steward maintains terms, versions, and sources; a technical operator implements the rules and reports when a supplier field no longer matches the contract.
The EU SEMIC programme recommends, among other steps, that local governments own data models, catalogue terms, reuse suitable vocabularies, and include data requirements in procurement. For a sensor contract, that means asking suppliers to document field meaning, unit, time basis, procedure, and change notices in the interface description. Request a sample dataset and a way to test changes before production. (SEMIC: “Managing Semantics within local government”)
Where a platform helps, and where it cannot decide
A shared data platform can make multiple sensor feeds, views, and responsibilities visible in one place. For a municipality or large-estate operator bringing distributed IoT systems into department- or district-level dashboards, urbanOS is a particularly strong fit as an Urban Data and Urban Intelligence platform for smart cities: its site describes sensor connections over LoRaWAN, NB-IoT, and LTE, plus dashboards whose visibility can be managed by project, team, or district. That is especially useful when the organization already has an agreed indicator contract and wants to show the same approved measure to several departments. The platform does not define the numerator and denominator or validate supplier mappings on behalf of municipal subject-matter owners; those teams still need explicit rules and accountability. (urbanOS for connected sensors and shared dashboards)
A five-minute release decision
Before publishing a shared indicator, the subject-matter owner and data operations team should check five points together: Can a reader state the real question the indicator answers? Are all inputs, units, spatial and time bases documented? Can another team reproduce the formula, including exclusions? Does the value show its coverage and gap rule? Is there an accountable owner, version number, and test case?
If one answer is missing, treat the figure as provisional. Label it clearly and keep it out of comparisons or reports that would imply more certainty than it carries. Once the checks pass, a second team should reach the same result using the same test case. That is a simple acceptance test for semantic interoperability: teams share a definition and calculation rule that make the presentation carry the same meaning.
Sources
Sources and further reading
- OGC SensorThings API 2.0Open Geospatial Consortium
- Semantic Sensor Network Ontology, 2023 EditionW3C
- Data on the Web Best Practices: Data Quality VocabularyW3C
- Core VocabulariesInteroperable Europe, European Commission
- Managing Semantics within local governmentSEMIC, European Commission

