/

ChatGPT’s role in tackling GIS classroom challenges

Instructors with limited GIS skills may use ChatGPT to enhance assignment creation, but there are still technical gaps in its capabilities.

A predominant discussion in higher education settings has been focused on what ChatGPT means in the classroom based on student usage and the prospect of cheating. Exploration of these fears has led to research that ChatGPT could pass the LSAT, GRE, and MCAT tests. 

However, fewer discussions have focused on how instructors can utilise LLMs (like ChatGPT).  In response to this dearth of LLM instructor-supported conversations, a study, “Assessing ChatGPT for GIS education and assignment creation,” was conducted.  The aim was to understand better if ChatGPT is skilled enough to help supplement instructor knowledge in creating technical course assignments.

GIS classroom implementation challenges

Geographic Information Systems (GIS) are computer systems for storing, managing, analyzing, and displaying geospatial data; in other words, they are the software that allows users to work with spatial data to make maps and perform analyses.  Maps and spatial analysis are important tools beyond geography and cross into many other academic disciplines like urban/regional planning, natural resources management, health sciences, biology/ecology, economics, etc. 

However, one of the problems since the advent of the software is that many instructors have some GIS knowledge and want to implement a GIS assignment in their classrooms. Still, they lack the GIS technical skills to seamlessly create and execute these assignments.  ChatGPT and other LLMs have the potential to help GIS-familiar instructors overcome these barriers and create a more robust technical learning experience for their students.

Good GIS assignment requirements

A good GIS assignment question/prompt has two big-picture requirements: it is interdisciplinary, and it addresses a real-world problem.  The lab assignment tested by this research is based around assessing the coastline changes in Virginia Beach, Virginia stemming from the National Oceanic and Atmospheric Administration (NOAA)’s 2100 three possible sea-level rise scenarios: 0.3 meters, 1 meter, and 2.2 meters rise.  The lab assignment addresses the first requirement of interdisciplinarity, focusing on climate change-induced sea level rise, which has implications beyond geography into environmental sciences, biology, planning, policy, and civil engineering.  The NOAA predictions fit the second requirement, as the changing climate and rising sea levels are real-world problems the students analyse through their work.

On the technical side, a good GIS assignment requires the inclusion of “Data Processing, Data Analysis, and Data Visualization” as part of the instructional steps. Each of these three things is fundamentally important because working with spatial data requires the ability to cover each one of the tasks.  The assignment has components of each key technical requirement to ensure students get a robust learning experience. 

Part 1: Data ProcessingPart 2: Data AnalysisPart 3: Data Visualization
Two datasets:
– SRTM_30m DEM of the broader Virginia Beach Area (Raster)
– Virginia Beach Boundary (Polygon)

Students will see that the DEM covers several bays in the Virginia Beach area and will need to clip this data.

In ArcGIS Pro, the ‘Raster Clip’ tool, not the ‘Clip’ tool is how raster geometry can be constrained.  After this, the already underwater ‘bays’ should not register as flooded.
Two datasets:
– SRTM_30m DEM of the broader Virginia Beach Area (Raster)
– Virginia Beach Boundary (Polygon)

Students will see that the DEM covers several bays in the Virginia Beach area and will need to clip this data.

In ArcGIS Pro, the ‘Raster Clip’ tool, not the ‘Clip’ tool, is how raster geometry can be constrained.  After this, the already underwater ‘bays’ should not register as flooded.
The final map must show the three scenarios in a single map frame.  This requires using multiple GIS techniques.

Students need to order their layers with 0.3 m on top, 1 m, and 2.2 m on the bottom to make all three layers visible simultaneously.

Then, for the 0.3m and 1m scenarios, students have the ‘not flooded’ piece transparent or deleted to avoid covering up the larger scenario’s flooding.

Students must pick the right color scheme so all the scenarios can appear simultaneously.
Table 1. Outline of all the technical good GIS assignment pieces in the Virginia Beach sea level rise scenario lab assignment.

Utilizing ChatGPT for assignment creation

ChatGPT 3.5 had varied results based on the prompt for a good GIS assignment’s three key technical areas.  The Data Processing component failed because it could not order the layers correctly, choose the proper symbology, and introduce the right tools.  However, continuous prompting eventually corrected the instructions, but those additional prompts required moderate GIS knowledge from the user. 

Figure 1. User lab assignment prompt: This prompt serves as the basis for the ChatGPT GIS lab instructions, shaping the core of the research. This is a screenshot directly from ChatGPT’s 3.5 user interface.
Credit. Author

ChatGPT failed the Data Analysis lab instructions as it could not get the proper calculations. ChatGPT misinterpreted the phrase “sea level rise”, taking “rise” literally, by suggesting adding to the original elevation raster, instead of subtracting. Overcoming these issues required advanced GIS knowledge, and it showed that ChatGPT could not get working data analysis instructions without an already advanced GIS instructor.  The Data Visualization was a complete failure; no continuous prompting could fix the ChatGPT instructions issues. 

Figure 2.The differences between the Instructor and ChatGPT instruction-derived deliverables.  Instructor lab can get all the scenarios to show up on a single map frame, while the ChatGPT instructions have three map frames and could not correct for the layer ordering or transparency issues.
Credit. Author

Lessons learned

This research found two key lessons and best practices for utilizing ChatGPT from the instructor’s side: specificity of prompts and continuous prompting.  A good rule of thumb when dealing with ChatGPT would be to be as specific as possible in that initial prompt.  In the GIS case, that meant the need for specific tools to be mentioned in the prompt or for data limitations to be pointed out. 

Effective use of ChatGPT requires ongoing interaction, as relying solely on the initial prompt is insufficient to generate complete lab instructions. Instructors must actively engage with the AI, addressing issues and refining the prompts to improve the assignment’s quality. By continuously adjusting the instructions through this process, ChatGPT can offer substantial benefits in assisting instructors with creating course assignments.

Conclusion

While ChatGPT could not produce the final lab assignment here, it is very clear that LLMs (like ChatGPT) are the future tools for helping facilitate classroom instruction.  The tools show the promise of helping instructors overcome technical and training barriers to expand the use of GIS in classroom assignments.  As the training data for the LLMs continues to grow, so will the software’s capabilities and usefulness to instructors when creating assignments. 

🔬🧫🧪🔍🤓👩‍🔬🦠🔭📚

Journal reference

Redican, K., Gonzalez, M., & Zizzamia, B. (2024). Assessing ChatGPT for GIS education and assignment creation. Journal of Geography in Higher Education, 1-17. https://doi.org/10.1080/03098265.2024.2397332

Kyle Redican is the Director of the Spatial Analysis Lab and Teaching Faculty in the Department of Geography, Environment, and Sustainability at the University of Richmond. He earned his PhD from Michigan State University in the Department of Geography, Environment and Spatial Sciences. His research focuses on applied spatial data science, assessing and mitigating uncertainty in the US Census data, and the integration of AI in GIS education. Dr Redican supports undergraduate GIS education and research at the University of Richmond.

Matteo Gonzalez is a recent graduate of the University of Richmond (Class of 2024) with a double major in Environmental Studies and Geography, and a minor in Data Science. During his time at UR, he was a teaching assistant for the GIS classes and the lead support intern for the GIS helpdesk at the Spatial Analysis Lab.