Back to blog
AI

I Let an AI Write My GIS Workflow. Here's What Broke.

There’s a growing narrative that AI can write code for you.

That’s true.

What’s more interesting is what happens after the code is written.

I’ve been experimenting with integrating AI directly into ArcGIS Pro workflows. The idea is simple:

Describe what you want → get working geoprocessing code.

In practice, it looks like this:

And sometimes… it works perfectly.

Other times, it breaks in ways that are surprisingly consistent.

Where things actually break

1. The “almost right” problem

AI is very good at generating code that looks correct.

It’s much worse at generating code that:

Example:

This is dangerous because:

The output looks valid, but the result is wrong.

2. Context is everything (and AI doesn’t have enough of it)

In a real GIS project:

Without that context, AI guesses.

Sometimes correctly. Often not.

This is where most “AI coding demos” fall apart. They work in isolation, not inside messy systems.

3. Execution is the real problem

Generating code is easy.

Running it safely is not.

In a production environment, you need:

Without that, you’re basically letting an AI modify your data blindly.

What actually works

After a lot of trial and error, I’ve landed on a pattern:

AI should:

Humans should:

The key shift

The real value of AI isn’t:

“write code for me”

It’s:

“reduce the distance between intent and execution”

But there’s a gap between:

Most of my work lately has been about closing that gap.

What I’m exploring next

Basically:

Not “can AI write code?”
But “can we trust what it produces?”

If you’re using AI in real workflows, I’d love to hear:

Because that’s where the interesting work is happening.