How I broke and fixed and broke ChatGPT using Geographic Information Systems.

ChatGPT and GIS, better start using it, or something like it

I love geographic information systems (GIS)! The creativity in map design, the science of spatial analysis, and the cross-industry power are amazing.

If you are like me, you are amazed by the recent results of artificial intelligence (AI) generating “art” that has been flooding the internet. Some of the AI tools are “free”, and some are paid, the results… however, have produced a blog storm. 

AI art has massive ethical concerns about ownership and who does and does not get paid.

AI art has opened up new ways to make money.  

AI art might have to be stopped before it is too late.

I tried a few of the free offerings and came up with some interesting, albeit nightmare sauce results. You can see the first results below. I have no doubt that if I tried my prompts again, the results would be different… and most likely better.

AI and ML, the NOW of GIS
AI and ML, the NOW of GIS

Artists have some well-placed concerns when it comes to AI art. In the space of a few minutes, a person can generate some amazing visual results. From the fantastical to the mundane, from the comical to the terrifying. What would have taken human hours to complete takes AI seconds.

Below were my first attempts at AI “art”… EVER… and I assure you, the results are way better now.

AI Art is a bit of a fever dream
AI Art is a bit of a fever dream

I believe there are three possibilities when dealing with AI:

  • We can ignore it and not alter our behaviour in any way.
  • We can try to stop AL through legislation and direct action.
  • Or we can accept it, and integrate it… as fast as possible.

I am in the “integrate it NOW” camp. 

Enter. ChatGPT.

What is ChatGPT?

Let me ask ChatGPT and copy and paste the results here.

Explain ChatGPT to me like I am 9 years old

Sure! ChatGPT is a special computer program that can talk to you and answer your questions. It’s kind of like having a super smart robot as a friend! You can ask it anything you want, and it will do its best to give you a helpful and accurate response. It uses a technology called natural language processing, which allows it to understand what you’re saying and respond in a way that makes sense. ChatGPT is still learning, so it might not always have the right answer, but it’s getting better all the time!

ChatGPT

It is getting better, let me show you how I started to harness ChatGPT in GIS.

My First GIS Questions to ChatGPT (actually about the 10th… but let’s say its the first)

One of the biggest things I do when coding for my GIS is search for a simple solution. Sometimes I even have to search for the easy stuff like… how to remove only a certain string from an array in python.

In this case, I went for something I thought was easy using ArcPy.

ChatGPT first pass

This is not correct.

In code form, the shapefile, or feature, has to be a layer for any spatial selection to take place. So I follow up.

ChatGPT still didn't get it right

ChatGPT is courteous, but still wrong.

Both shapefiles or features have to be layers (or used to) before any spatial selection can take place.

So, this is correct now! But.. how correct will it be later.

So I try a slightly different question on a different account and see if ChatGPT learned overall. (I found out later it isn’t learning right now… maybe later)

Nope… didn’t learn. Again, ChatGPT currently does not learn.

But I know it will. As will all the other AI.

There are many examples of ChatGPT making errors. I will tell you this… this will change. Harness AI NOW.

Your future in GIS depends on it.

Thanks for reading and be sure to check out my other links!

Get hired faster in GIS

Double your GIS Job Interviews now

GIS and Geoscience content

Great video content for GIS and Geoscience

GIS and Geoscience Merch

Stuff you can wear and drink out of

Sign up for my newsletter below!

Processing…
Success! You're on the list.

Thanks for reading and see you next time!

Thanks for reading and be sure to check out my other links!

Get hired faster in GIS

Double your GIS Job Interviews now

GIS and Geoscience content

Great video content for GIS and Geoscience

GIS and Geoscience Merch

Stuff you can wear and drink out of

Sign up for my newsletter below!

Processing…
Success! You're on the list.

Thanks for reading and see you next time!

%d bloggers like this: