SpatialWebAgent: Leveraging Large Language Models for Automated Spatial Information Extraction and Map Grounding

Shunfeng Zheng, Meng Fang, Ling Chen


Abstract
Understanding and extracting spatial information from text is vital for a wide range of applications, including geographic information systems (GIS), smart cities, disaster prevention, and logistics planning. This capability empowers decision-makers to gain crucial insights into geographic distributions and trends.However, the inherent complexity of geographic expressions in natural language presents significant hurdles for traditional extraction methods. These challenges stem from variations in place names, vague directional cues, and implicit spatial relationships.To address these challenges, we introduce SpatialWebAgent, an automated agent system that leverages large language models (LLMs). SpatialWebAgent is designed to extract, standardize, and ground spatial information from natural language text directly onto maps. Our system excels at handling the diverse and often ambiguous nature of geographic expressions—from varying place names and vague directions to implicit spatial relationships that demand flexible combinations of localization functions—by tapping into the powerful geospatial reasoning capabilities of LLMs. SpatialWebAgent employs a series of specialized tools to convert this extracted information into precise coordinates, which are then visualized on interactive maps.A demonstration of SpatialWebAgent is available at https://sites.google.com/view/SpatialWebAgent.
Anthology ID:
2025.acl-demo.25
Volume:
Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations)
Month:
July
Year:
2025
Address:
Vienna, Austria
Editors:
Pushkar Mishra, Smaranda Muresan, Tao Yu
Venue:
ACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
252–266
Language:
URL:
https://preview.aclanthology.org/ingestion-acl-25/2025.acl-demo.25/
DOI:
Bibkey:
Cite (ACL):
Shunfeng Zheng, Meng Fang, and Ling Chen. 2025. SpatialWebAgent: Leveraging Large Language Models for Automated Spatial Information Extraction and Map Grounding. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations), pages 252–266, Vienna, Austria. Association for Computational Linguistics.
Cite (Informal):
SpatialWebAgent: Leveraging Large Language Models for Automated Spatial Information Extraction and Map Grounding (Zheng et al., ACL 2025)
Copy Citation:
PDF:
https://preview.aclanthology.org/ingestion-acl-25/2025.acl-demo.25.pdf
Copyright agreement:
 2025.acl-demo.25.copyright_agreement.pdf