Integrating Cadastral Data and Building Regulations with AI in Stuttgart
An AI prototype in Stuttgart connects cadastral data and building regulations, reducing enquiry times from weeks to seconds by linking authoritative geospatial sources.

Current Challenges in Accessing Building Regulation Information
In Stuttgart, determining what can be built on a plot involves navigating regulations at federal, state, and municipal levels, each managed by different city offices. The federal laws define ratios like the GRZ (Grundflächenzahl), the state building code governs compliance, and municipal development plans specify local zoning rules. This multi-tiered regulatory environment requires enquiries to pass through at least two offices, resulting in response times ranging from 11 to 21 working days for combined queries.
The fragmentation of data and responsibilities across the city planning office, building law office, and surveying office creates inefficiencies. Professionals often face uncertainty about which office to approach, and roughly half of the 2,340 monthly enquiries to the building services office are routine but still time-consuming. Currently, no AI system supports these processes, highlighting a significant opportunity for automation and integration.
Authoritative geospatial data is critical because regulations only become actionable when linked to specific parcels. The cadastre records parcel boundaries and land use, while development plans and legal texts define permissible uses. If AI systems guess spatial facts, errors propagate into regulatory interpretations, underscoring the importance of reliable, linked data sources for trustworthy answers.
Data Preparation: From Regulatory Texts to Geospatial Layers
The prototype treats regulatory texts, development plans, and cadastral data as separate layers due to their distinct formats and characteristics. Regulatory texts from federal, state, and municipal sources were segmented into 12,701 text chunks, each tagged by governance tier to support targeted retrieval and reasoning by AI agents.
Development plans, originally in PDF drawing format, required computer vision techniques for data extraction. A YOLOv8n detector trained on 34 annotated plan pages identified tables containing key parameters such as GRZ, GFZ, building height, roof form, and use. Optical character recognition (OCR) and parsers then extracted these values with confidence scores, enabling structured interpretation of graphical plans.
The cadastral layer relies on ALKIS, Germany’s official property cadastre, including parcel boundaries, land use, and building footprints. These datasets were processed in GeoPandas using the ETRS89 / UTM zone 32N coordinate system and linked by parcel numbers. However, ALKIS does not contain planning law parameters like GRZ or GFZ, which reside only in development plans, necessitating integration of both data types for comprehensive answers.
Technical Challenges in Data Grounding and Integration
A key difficulty was grounding AI responses in authoritative data. The language model sometimes produced generic answers when regulatory text coverage was sparse, particularly on procedural topics. Additionally, questions referencing local areas sometimes retrieved only municipal texts, missing relevant federal regulations. Splitting queries by governance tier and reconciling overlapping rules improved accuracy without compromising other results.
Spatial grounding posed further challenges. Parcel numbers in cadastral data and development plans often drift apart due to renumbering and subdivision, causing mismatches. For example, a plan’s plot number might not exist in the current cadastre, leading to erroneous parcel lookups. Address-based geocoding was unreliable, frequently resolving to road parcels rather than building plots, which caused incorrect or ambiguous answers.
The system incorporates a reconciliation step that compares outputs from the text, vision, and cadastral layers, returning verdicts such as confirmed, single source, disputed, or no reliable answer. This approach emphasizes provenance and visible disagreement rather than silent resolution, which enhances trustworthiness by alerting professionals to potential data conflicts.
Prototype Deployment and Performance Evaluation
The AI assistant prototype was deployed as a public web service from late 2025 through mid-2026, responding to cross-level regulatory questions in under 90 seconds. User feedback from 55 participants, including real-estate students and industry professionals, showed perceived usefulness correlated moderately with answer quality.
Testing on 19 questions that all three layers could address revealed that the text and vision layers correctly answered all five zone-level questions but struggled with plot-level queries, often declining to answer rather than providing incorrect values. The cadastral layer frequently misidentified parcels, particularly on zone-level questions, highlighting the need for improved spatial data alignment and quality.
The vision and cadastral layers currently operate as separate pipelines with offline result comparison. An integrated reasoning agent across all layers is planned but not yet implemented. Further development includes improving plot number detection, expanding annotated training data, and testing a German-English language model optimized for legal terminology to reduce incorrect or invented answers.
Lessons Learned on Data Interoperability and AI Reliability
The project demonstrated that authoritative data sources are not inherently aligned. The cadastral data and development plans are maintained independently, leading to discrepancies in parcel numbering and boundaries over time. This misalignment necessitates systems that can handle multiple candidates and refuse ambiguous queries rather than guessing.
Address-based queries proved unreliable due to geocoding limitations, often resolving to non-building parcels like roads. Using parcel identifiers or polygon geometries as keys is safer for linking regulatory data and cadastral information. The system’s design to expose provenance and flag uncertain values reduces the risk of confidently wrong answers, which are more harmful than no answer.
The reliance on PDF plans required a complex computer vision layer to extract structured data, underscoring the value of machine-readable, georeferenced plans published in standards like XPlanung. Such formats would enable direct linkage of planning parameters to parcels via geometry and identifiers, simplifying integration and improving accuracy.
Implications for Future Geospatial AI Systems and Urban Planning
Scaling this approach beyond Stuttgart depends less on AI model improvements and more on better-connected, interoperable data infrastructures. Publishing plans as structured, georeferenced data with open standard interfaces alongside cadastral records is essential. Maintaining historical links and provenance across datasets will support reliable AI-assisted decision-making.
For practitioners, the key takeaway is to maintain separate data layers for regulatory texts, plans, and cadastre, linking them by geometry and identifiers while recording provenance and disagreements. Systems should prioritize transparency and support professional review rather than replacing human authority with AI.
This prototype illustrates how AI can dramatically reduce enquiry times from weeks to seconds when underpinned by trustworthy, integrated geospatial data. It highlights the critical role of data engineering, standardization, and interoperability in enabling AI to support urban planning and building regulation workflows effectively.
Sources and verification
- Connecting Cadastral Data and Building Regulations: Lessons from an AI Prototype in Stuttgart · Open Geospatial Consortium
Researched and drafted with AI assistance from the primary sources cited below. Every factual statement is checked automatically against a verbatim passage in its source before publication. No interviews or quotations are fabricated. Read our editorial standards.


