Punchline: Generative AI tools offer interesting possibilities, although be careful. You won’t know what data are fictional and what data are real.
In the blog that follows, I used generative AI commands to generate the following data. You can send the AI a prompt (user input) and the AI will return "data". Remember that generative AI can and will hallucinate from time to time. Depending on your teaching needs, carefully review all output.
Note: In some returned data below, I added the bulleted list to help with formatting of this blog. The AI did not add the bullets.
CSV
Can ChatGPT create a list of cities with a geographical query attached?
Prompt to ChatGPT: can you provide a comma-delimited table of latitude, longitude, and city name for 10 cities in the northern hemisphere?
ChatGPT returned:
GeoJSON
Can ChatGPT draw a polygon centered over a real area?
Prompt to ChatGPT: create a geojson square polygon centered over New York City, New York.
ChatGPT returned:
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[-74.0110, 40.7178],
[-74.0110, 40.7078],
[-74.0010, 40.7078],
[-74.0010, 40.7178],
[-74.0110, 40.7178]
]
]
}
}
]
}
CSV
Can ChatGPT create a list of points in a bounded region?
Prompt to ChatGPT: generate a comma-delimited table of 15 places within the geojson square above. Include the latitude, longitude, and place name.
ChatGPT returned
KML
Can Bard return near realtime data from the Internet?
Prompt to ChatGPT: Use KML to create an approximate outline of the state of Kansas.
ChatGPT returned:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>Kansas Outline</name>
<Placemark>
<name>Outline</name>
<LinearRing>
<coordinates>
-101.906620,36.993076
-101.906620,39.993019
-94.616221,39.993019
-94.616221,36.993076
-101.906620,36.993076
</coordinates>
</LinearRing>
</Placemark>
</Document>
</kml>
CSV
Can much data can be returned by ChatGPT?
Prompt to ChatGPT: create a comma-delimited table of all country capitals in the world. Include in the table the capital name, country name, latitude of the capital, longitude of the capital.
ChatGPT 3.5 give a “sample” data structure with less than 10 results. ChatGPT 4 also returns a sample with 30 records (I only included the first three below).
Furthermore, ChatGPT 4 stated, “Unfortunately, due to the restrictions of this medium, I can only provide a sample list”.
AND THEN THINGS GOT WEIRD.
I headed to Google Bard - to access “live” data from the Internet.
Prompted with: create a comma-delimited list of earthquakes from the last 24 hours that have a magnitude 5 or greater. Include latitude, longitude, magnitude, date, and nearest location.
Bard returned:
How many things in the above data make you pause? My first thought was that maybe this is a subset of the data, so I headed over to the USGS site. It gave a very different story.
Admittedly, these are very small prompts. Perhaps more detailed prompts would return more accurate results. Maybe include in the prompt a "do not make up data" statement - to improve work. So many questions remain unanswered.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.