Abstract
Geographical Information Systems (GIS) are essential tools used for storing and performing analyses on spatio-temporal data. GIS reporting plays a crucial role in transforming the result of these analyses into actionable insights, enabling informed decision-making, by uncovering patterns and relationships and presenting them in a human-readable format suitable for the intended target audience. Nonetheless, the traditional process of creating reports involves manual analysis and interpretation of spatio-temporal data, a time-intensive task prone to human error.
This paper aims to investigate the potential of Large Language Models (LLMs), particularly their natural language processing and generation abilities, to streamline the report generation process. To this end, three case studies are conducted, using the GPT-3.5 LLM to analyze real-world GIS data, extract key spatio-temporal insights and generate actionable, human-readable reports. The generated reports are then analyzed, to assess the model’s capacity for understanding complex spatio-temporal relationships and patterns and generating coherent reports.
Results show that general-purpose LLMs can be remarkably effective in detecting spatio-temporal patterns and anomalies and in generating concise, effective human-readable reports. Despite this great potential, we also identify several key challenges of LLMs for GIS report generation, including a significant variability among different re-executions, a tendency to report incorrect data in some scenarios, and difficulty in understanding more complex spatial data such as polygons.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Achiam, J., et al.: GPT-4 technical report. arXiv preprint arXiv:2303.08774 (2023)
Bracciale, L., Bonola, M., Loreti, P., Bianchi, G., Amici, R., Rabuffi, A.: CRAWDAD Roma/taxi (2022). https://doi.org/10.15783/C7QC7M
Di Martino, S., Landolfi, E., Mazzocca, N., di Torrepadula, F.R., Starace, L.L.L.: A visual-based toolkit to support mobility data analytics. Expert Syst. Appl. 238, 121949 (2024)
Di Martino, S., Mazzocca, N., Di Torrepadula, F.R., Starace, L.L.L.: Mobility data analytics with KNOT: the KNIME mobility toolkit. In: In: Mostafavi, M.A., Del Mondo, G. (eds.) W2GIS 2023. LNCS, vol. 13912, pp. 95–104. Springer, Cham (2023). https://doi.org/10.1007/978-3-031-34612-5_6
Di Martino, S., Starace, L.L.L.: Vehicular crowd-sensing on complex urban road networks: a case study in the city of porto. Transp. Res. Procedia 62, 350–357 (2022)
Feng, Y., Ding, L., Xiao, G.: Geoqamap-geographic question answering with maps leveraging LLM and open knowledge base (short paper). In: 12th International Conference on Geographic Information Science (GIScience 2023). Schloss Dagstuhl-Leibniz-Zentrum für Informatik (2023)
Li, Z., Ning, H.: Autonomous GIS: the next-generation AI-powered GIS. arXiv preprint arXiv:2305.06453 (2023)
Liang, Y., Liu, Y., Wang, X., Zhao, Z.: Exploring large language models for human mobility prediction under public events. arXiv preprint arXiv:2311.17351 (2023)
Mooney, P., Cui, W., Guan, B., Juhász, L.: Towards understanding the geospatial skills of ChatGPT: taking a geographic information systems (GIS) exam. In: Proceedings of the 6th ACM SIGSPATIAL International Workshop on AI for Geographic Knowledge Discovery, pp. 85–94 (2023)
OpenAI: Prompt engineering guide (2024). https://platform.openai.com/docs/guides/prompt-engineering/strategy-write-clear-instructions
Ouyang, L., et al.: Training language models to follow instructions with human feedback. In: Advances in Neural Information Processing Systems, vol. 35, pp. 27730–27744 (2022)
Starace, L., Rocco Di Torrepadula, F., Di Martino, S., Mazzocca, N., et al.: Vehicular crowdsensing with high-mileage vehicles: investigating spatiotemporal coverage dynamics in historical cities with complex urban road networks. J. Adv. Transp. 2023 (2023)
Starace, L.L.L., Di Martino, S.: Can large language models automatically generate GIS reports? January 2024. https://doi.org/10.5281/zenodo.10535248
Touvron, H., et al.: LLaMA: open and efficient foundation language models. arXiv preprint arXiv:2302.13971 (2023)
Veres, C., Sampson, J.: Self supervised learning and the poverty of the stimulus. Data Knowl. Eng. 147, 102208 (2023)
Wang, Z., Xie, Q., Ding, Z., Feng, Y., Xia, R.: Is ChatGPT a good sentiment analyzer? A preliminary study. arXiv preprint arXiv:2304.04339 (2023)
Yagamurthy, D.N., Azmeera, R., Khanna, R.: Natural language generation (NLG) for automated report generation. J. Technol. Syst. 5(1), 48–59 (2023)
Zamfirescu-Pereira, J., Wong, R.Y., Hartmann, B., Yang, Q.: Why Johnny can’t prompt: how non-AI experts try (and fail) to design LLM prompts. In: Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems, pp. 1–21 (2023)
Zhang, C., Karatzoglou, A., Craig, H., Yankov, D.: Map GPT playground: smart locations and routes with GPT. In: Proceedings of the 31st ACM International Conference on Advances in Geographic Information Systems, pp. 1–4 (2023)
Zhang, Y., Wei, C., Wu, S., He, Z., Yu, W.: GeoGPT: understanding and processing geospatial tasks through an autonomous GPT. arXiv preprint arXiv:2307.07930 (2023)
Acknowledgements
This work was partially supported by the PNRR MUR project PE0000013-FAIR.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Ethics declarations
Data Availability Statement
The data employed in the case studies, as well as the prompts and the generated reports, are available in a dedicated replication package [13].
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Starace, L.L.L., Di Martino, S. (2024). Can Large Language Models Automatically Generate GIS Reports?. In: Lotfian, M., Starace, L.L.L. (eds) Web and Wireless Geographical Information Systems. W2GIS 2024. Lecture Notes in Computer Science, vol 14673. Springer, Cham. https://doi.org/10.1007/978-3-031-60796-7_11
Download citation
DOI: https://doi.org/10.1007/978-3-031-60796-7_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-60795-0
Online ISBN: 978-3-031-60796-7
eBook Packages: Computer ScienceComputer Science (R0)