Plan2Map: A Multimodal Benchmark for Document-Grounded Geospatial Boundary Reconstruction from Planning Records

Fabian Degen, Oishi Deb, Jindong Gu, Junchi Yu, Samuele Marro, Philip Torr, Jialin YuarXiv 2026

TL;DR

Plan2Map introduces a novel multimodal benchmark and a tool-augmented agentic framework (GeoPlanAgent) designed to reconstruct machine-readable geospatial boundaries from legacy planning PDFs. By decomposing the task into structured steps—such as text extraction, map registration, and fine-tuned segmentation—the proposed system achieves a 0.904 median IoU, vastly outperforming direct vision-language model predictions.

What Problem Does This Paper Address?

Legacy government documents, such as the UK's Article 4 Directions, contain critical geographic restrictions but are frequently locked away in unstructured formats like scanned PDFs, text descriptions, and old map plates. For modern digital planning systems to check site compliance or automate workflows, these records must be converted into machine-readable GIS formats (like GeoJSON).

This is not a simple text-extraction problem. It requires a system to synthesize distributed textual, visual, and geographic evidence to reconstruct a precise spatial object. Standard Vision-Language Models (VLMs) struggle to output accurate real-world coordinates directly from these documents, creating a need for specialized, tool-augmented architectures.

Methods

The authors introduce GeoPlanAgent, a tool-augmented, multi-agent system that breaks down the reconstruction pipeline into discrete, manageable steps:

  1. Reader (Agent): Parses the raw PDF to extract spatial metadata (addresses, postcodes, grid references) into a structured JSON format.
  2. Auto-Rotation Classifier: A fine-tuned ResNet50 model ensures map pages are correctly north-aligned before processing.
  3. Worker (Agent) & Locate Sub-Agent: The Locate sub-agent uses an offline gazetteer (OS Open Names) to find a coarse coordinate center. The Worker then refines this via a sliding-window search, matching features from the planning map to official basemap tiles (OS Open Zoomstack) using MINIMA-LoFTR and RANSAC.
  4. Boundary Segmentation: Instead of relying on zero-shot segmentation, the system uses SAM 3 fine-tuned with LoRA adapters and style-transfer data augmentation to isolate the exact boundary mask.
  5. Projection: The segmented mask is projected into WGS84 coordinates using the recovered affine transformation matrix.
  6. Critic (Optional Agent): Performs a final visual verification pass over the top candidate matches to approve, switch, or trigger a re-localization loop.
Figure 2: GeoPlanAgent workflow. GeoPlanAgent decomposes Plan2Map into document evidence extraction, geographic localisation, map-to-basemap registration, boundary segmentation, and GeoJSON projection. The Reader converts the source PDF into structured spatial evidence; the Worker calls the Locate sub-agent, runs map matching and boundary extraction tools, and commits a candidate GeoJSON. The optional Critic reviews candidate matches and may approve, switch, or request re-localisation.

Datasets

The paper introduces Plan2Map, a benchmark consisting of 208 curated UK Article 4 Direction records spanning from 1958 to 2025. Each case pairs a source planning PDF with a verified reference GeoJSON boundary and a location-map visualization. The dataset captures real-world challenges, including varied document qualities (faded text, poor scans) and a wide range of boundary shape complexities (from simple rectangles to complex multi-part irregular polygons).

Figure 1: Plan2Map overview. Plan2Map pairs source planning documents with verified GeoJSON boundaries and includes cases spanning different boundary shapes, document formats, and scan qualities. Given only the source document as input, a system must reconstruct the corresponding geospatial boundary.

Key Insights and Ideas

  • End-to-End VLMs Fail at Spatial Coordinates: Direct VLM-to-GeoJSON generation is highly unreliable. Even frontier models fail to output accurate coordinates, showing that "reasoning depth" alone cannot solve precise geographic grounding without external tools.
  • Decomposition is Crucial: Breaking the problem into text extraction, coarse localization, visual map matching, and fine-tuned segmentation makes an otherwise intractable task highly accurate.
  • Supervised Fine-Tuning for Segmentation Matters: Fine-tuning SAM 3 with LoRA adapters and style-transfer data augmentation yielded a massive +0.30 IoU improvement over the vanilla SAM 3 baseline, proving that domain-specific adaptation is necessary for parsing stylized planning maps.
Figure 3: Boundary segmentation, scored against hand- annotated map masks on all 208 cases. Solid bars: mean pixel IoU. Hatched bars: fraction of cases at IoU ≥ 0.8. SAM 3 + LoRA leads by ≥0.30 IoU and ≥39 percentage points over the vanilla SAM 3 baseline.
  • Localization is the Remaining Bottleneck: Diagnostic analysis reveals that once boundary segmentation is solved via fine-tuning, the primary remaining errors stem from coarse localization and map-to-basemap registration.

Key Results

  • GeoPlanAgent achieved a mean IoU of 0.736 and a median IoU of 0.904 on the full Plan2Map dataset, with 67.8% of cases scoring $\ge$ 0.8 IoU.
  • The system achieved a remarkably low median centroid error of 4.6 meters.
  • In comparison, the strongest direct VLM baseline (Gemini-3.1-Pro) managed a meager 0.108 mean IoU and a median centroid error of 480 meters.
  • Performance remained highly stable across different document colors, though it degraded on poor-quality scans and highly complex geometries.
Performance breakdown by document quality

Limitations and Future Work

  • Geographic Specificity: The current benchmark and tools are heavily tailored to the UK's rich open geospatial infrastructure (Ordnance Survey datasets). Adapting to other countries requires swapping in local gazetteers and basemaps.
  • Reliance on Visual Maps: The pipeline assumes a boundary is visually drawn on a map plate. It cannot handle purely text-based descriptions (e.g., "land 50 meters north of the highway") where no visual boundary exists to segment.
  • Future Directions: The authors suggest focusing on more robust localization techniques, stronger verification protocols for borderline cases, and expanding the benchmark to other planning domains and international jurisdictions.

Summary updated

BibTeX
@misc{degen2026plan,
  author = {Fabian Degen and Oishi Deb and Jindong Gu and Junchi Yu and Samuele Marro and Philip Torr and Jialin Yu},
  title = {{Plan2Map: A Multimodal Benchmark for Document-Grounded Geospatial Boundary Reconstruction from Planning Records}},
  year = {2026},
  eprint = {2606.02747},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.02747},
}
Figure