Showing posts with label gpt. Show all posts
Showing posts with label gpt. Show all posts

Wednesday, November 18, 2026

Using AI to Analyze BC Public Tree Planting Bid Results

For this morning's entertainment, I decided to use AI to analyze some bid results.  Here are some of the background parameters that I adhered to:

- I wanted to use the data that has been posted on the Replant.ca forums over the past decade or so.  I could have used the original data source (BC Bid) but I figured that going to BC Bid would be much more resource-intensive, since agents would need to repeatedly crawl through thousands of unrelated non-planting bids on that site.

- I have the Replant.ca website set up with Cloudflare geo-restrictions, so it can only be accessed by people in certain countries.  I have the main Replant.ca website visible to visitors from twenty countries, but the forums are only visible to people in Canada, Great Britain, Australia, and New Zealand.  This was to prevent server overload from AI agents scraping data.  Earlier this year, the server was sometimes getting 1.5 million hits per day, almost entirely from AI training hits to the forums, and it was limiting access to the board.  I could have temporarily turned the Cloudflare protection off for this task, but instead I decided to change a board setting that limited the number of posts per page (I changed it from 50 to 250).  This allowed each "year" of posts to be displayed on a single respective web page.  Then I visited each year's page and used the Print dialog to save the page to PDF, thereby capturing all data.  Incidentally, if anyone tries this, using "Save to PDF" embeds the data differently than "Microsoft Print to PDF" - which is more image-oriented and less easy to read effectively.

- I uploaded all of my PDFs (one each for 2009 through 2025) into ChatGPTs Work tab.  I asked it first to read and analyze the PDFs, and to make sure it understood the data contained therein.  I then told it that I was going to ignore 2009 to 2014 PDFs for now, and only concentrate on the period from 2015 to 2025 inclusive.  I didn't include 2026, because we're only partway into the bidding season right now.

- I frequently asked Chat to ignore Coastal bids in my various queries. 

- I was using ChatGPT 6.1 Terra on High intensity, even though 6.2 Astra and 6.2 Sol are now available.

- I went into this with the mindset that Chat would probably make mistakes, and since this is just a casual experiment, I wasn't going to go through and replicate the work by hand to verify all results.  I'd do that if this was some sort of critical task, but this is just a fun experiment. 

Now that I've added all of these PDFs to Work, I'm able to analyze them with tons of different queries, over and over again, without Chat needing to scrape data every time.

 

For my first query, I asked Chat to create a chart to graph all bids over time.  Again, I restricted the chart to the period from 2015-2025.  I asked Chat to ignore all bids which didn't have price data.  In order to "clean up" the data somewhat and ignore lottery bids and unrealistically high bids that would throw off averages, I asked Chat to ignore any bids which worked out to greater than $1.50 per tree.

This is the chart that was generated:

 

 

Anyone who is familiar with the bidding over the past decade will probably look at this closely and have two questions:

1.  "Why are there so few bids in 2021 compared to other years?" - This was the second year of Covid, and the government wasn't releasing data right away.  So we just waited until each bid closed, then I collected bid data from each individual contractor so we all had a full set of results behind-the-scenes.  However, we didn't want to share most of that data publicly.

2.  "Why is there a dot in 2025 which looks like a stupidly low price, is that an error by the AI?" - No, that was Marlo's bid in Fort St. John, which ended up being disqualified.

The value of this graph, even if it isn't perfect, is that it gives us a good understanding of how bids have trended upward over time, which is not surprising considering inflation.  And it also shows us years when the herd moved upward or downward.  This probably shows us that planting companies feel the hit of unsustainable pricing in unison.

---

Next, I asked Chat to generate a series of charts for individual companies, to show how each of their bidding attempts evolved over time.  Here are half a dozen examples, picking some of the larger companies or more frequent bidders, presented in alphabetical order:




Fun stuff.

 

---

Next, I asked Chat to summarize which companies had been putting in a lot of bids.  This is the query that I used:

Can you provide me a text list itemizing how many bids each company has submitted during the period from 2015 to 2025 inclusive?  Do not include bids above $1.50/tree.  Do not include bids for which no price per tree was provided in the PDF.  Rank the list from the company with the most bids down to the company with the fewest bids.

I got the following list, which I then amended by grouping companies that had fewer than 20 bids over that 11-year period:

 


That's a lot of bids.  I'm not surprised by the high number at Folklore ... I've driven a lot of miles during viewing season over the past decade and I've walked around blocks which were prescribed for hundreds of millions of trees (also, I was just one of several people doing the viewing work).  Incidentally, when I count up all the blocks that I've visited while viewing, and all the blocks that I was responsible for during my 35 years as a camp supervisor, I estimate that I've visited/seen blocks all over BC and Alberta that added up to more than three hundred and fifty million trees.

---

My next query was about spring versus summer trees.  I wanted to estimate the overall difference between spring and summer trees.  This was my query:

Ignoring any coastal contracts, what do you think the overall weighted average price is in the BC Interior from 2015-2025 for spring trees versus summer trees?  Ignore contracts where there are both spring and summer trees on the same contract.  Ignore Fall contracts.

This was the result:

This result actually surprised me, because there's generally more competition for summer trees, as there are fewer summer trees on the market each year.  However, it's a reassuring result - a lot of summer trees in BC, which are usually in the northern half of the province, are a lot uglier than spring trees due to green-up.

---

Next, let's look back at some of the jobs where the lowest two bids were pretty close:


 

---

 

I think the main thing that everyone needs to remember is that this collection of data is fairly substantial, but it is not complete.  We were missing a few bids each year, we didn't share a significant portion of the 2021 bids, and I probably have a bunch of typos scattered throughout the data.  Also, ChatGPT and other AI's can make mistakes.  I would not place much trust in the complete accuracy of the responses that were generated.  Chat itself frequently pointed out various weaknesses in the underlying data that I provided.

It was a fun exercise, nonetheless.

I'll leave you with some final food for thought.  If you were to do some analysis yourself, what would you ask?  I asked ChatGPT Work to give me some ideas.  This was my query:

I'm thinking about all of the data contained in the 2015-2025 PDFs.  What interesting analysis tasks can you think of, which might provide some fun or interesting insights into the data contained therein?

I got a VERY long answer.  I'll share that in a second, for anyone looking for some data mining inspiration.  But first, if you'd like the collection of PDFs that I used, here's a quick download link to save you some time:

   www.replant.ca/docs/Public_Bid_Results_Archives_2009-2025.zip     (158MB) 

 

I'm out of here for today, it's time to go outside and touch grass, but here's where Chat would like to take you next:

 

There is enough material in those PDFs to explore much more than whether bid prices increased. The most interesting questions, in my view, concern competition, bidding behaviour, regional differences, and how often a contractor’s assessment of a job differs sharply from everyone else’s.

I’d group the possibilities into several broad themes.

1. How competitive were public planting bids?

Number of bidders per contract, over time

For each year, calculate the average and median number of companies bidding on a public contract. We could show the individual contracts as dots and identify years when competition became noticeably stronger or weaker.

Questions this could answer:

  • Did the increase in tree volumes around 2018–2021 lead to fewer bidders per job?
  • Did the number of bidders recover or decline as volumes changed?
  • Were some districts consistently more competitive than others?
  • Were large contracts more likely to attract a crowd than small contracts?

Important detail: For this particular analysis, I would count bidders whose names are listed even when their prices are missing. We would still follow your $1.50 rule where a price is known, but a bidder with no published price could not be classified against that ceiling. I would therefore show those bidders separately or exclude them from the filtered count. That distinction matters especially in 2021.

Does more competition lead to lower bids?

For each contract, compare the number of bidders with:

  • The lowest posted bid.
  • The average bid.
  • The difference between the lowest and second-lowest bids.
  • The spread between the lowest and highest bids.

A scatterplot might reveal, for example, whether jobs with ten or more bidders tended to have tighter pricing than jobs with only two or three.

The challenge is separating cause from correlation. Easy, desirable jobs might attract more bidders and command lower prices because they are easier. Ideally, we would compare contracts within similar regions, seasons, years and size ranges.

How often was there only one bidder?

We could identify every contract in the PDFs that attracted a single bidder and examine:

  • Who submitted the bid.
  • The price per tree.
  • Where and when the work was located.
  • Whether the contract had difficult access, special qualifications or other unusual requirements.
  • How the price compared with similar contracts that attracted multiple bidders.

This could produce a useful catalogue of situations where the public tender process generated little direct competition.

2. What do the bids reveal about company behaviour?

A head-to-head comparison between companies

Pick two companies—say, Folklore and Seneca—and identify contracts on which both submitted bids.

For each shared contract, calculate:

Folklore’s bid per tree minus Seneca’s bid per tree

We could then report:

  • Number of head-to-head bids found.
  • How often each company bid lower.
  • The median difference in cents per tree.
  • The largest differences in each direction.
  • Whether the relationship changed over time.

This is potentially more informative than comparing each company’s overall average. If two companies bid on different mixes of coastal, Interior, spring and summer work, their overall averages are not directly comparable. Looking at the same contracts controls for many of those differences.

We could repeat this for any pair:

  • Folklore versus Dynamic.
  • Seneca versus Brinkman.
  • Torrent versus Coast Range.
  • Spectrum/Wright versus Dynamic.
  • Windfirm versus Whanau.

A head-to-head matrix for the major companies

We could expand the preceding idea into a table or heatmap. Each cell would answer:

When both companies bid on the same job, how often did the company in the row submit the lower bid?

For example, a cell might show 60% over 20 shared bids. The number of shared bids is essential: a 100% rate based on two encounters is far less informative than a 60% rate based on fifty.

We could also express the result as the median cents-per-tree difference rather than simply who was lower.

This would probably be one of the most interesting analyses in the collection.

Who bid most often—and who won most often?

For each company:

  • Number of bids found.
  • Number of times it submitted the lowest posted price.
  • Number of apparent awards, where the PDF confirms the award.
  • Number of times it ranked in the top three.
  • Median bid rank.
  • Percentage of its bids that were lowest.

I would keep “lowest bid” and “awarded contract” separate. The contractor rating system, eligibility decisions, withdrawals and other factors mean those are not always the same thing.

This could show the difference between a company that bids frequently and selectively prices high versus one that bids less often but places near the bottom of the price list.

How selective were different companies?

A company’s bidding pattern could be profiled by:

  • Regions where it bid.
  • Average and median contract size.
  • Spring versus summer work.
  • BCTS versus Ministry or other public clients.
  • Coastal versus Interior work.
  • Percentage of bids where it ranked first, second, third, and so on.

For instance, we might find that one company tended to target large northern Interior programs while another appeared more often on smaller coastal contracts. That would help explain why their overall price averages differ.

We could present this as a set of company profiles, with one page per major contractor.

Which companies showed the greatest variation in bidding?

For each company, measure the spread of its own bids:

  • Lowest and highest qualifying bids.
  • Median bid.
  • Middle 50% of bids.
  • Range after adjusting for year and region.

A company bidding between 40¢ and 90¢ may simply have bid on very different ground. A more useful version would compare how far above or below the other bidders it tended to be on the same job.

For example:

On its shared contracts, did Company A usually stay close to the middle of the pack, or did it alternate between very aggressive and very high bids?

3. Where was money left on the table?

Largest gaps between first and second bids

This is an obvious and entertaining one: rank the contracts by how much the lowest bidder left on the table compared with the second-lowest bidder.

We could measure the gap three ways:

  1. Total dollars: second-lowest bid minus lowest bid.
  2. Cents per tree: second-lowest unit price minus lowest unit price.
  3. Percentage: the difference expressed relative to the lowest bid.

Each metric tells a different story. A 5¢ gap on five million trees is financially much larger than a 20¢ gap on a small contract.

The list could include:

  • Contract number and location.
  • Tree count.
  • Lowest and second-lowest bidders.
  • Their bid amounts and prices per tree.
  • Dollar gap and percentage gap.
  • Any relevant commentary from the post, such as difficult access or an unusual tender specification.

We would identify these as gaps in the posted bids, not money that the winning company necessarily could have captured. Raising its bid might have changed the ranking or the award.

How common were large gaps?

Rather than only highlighting dramatic cases, show the distribution:

  • What percentage of contracts had a first-to-second gap under 2%?
  • How many had a gap under 5%?
  • How many exceeded 10%, 20%, or 50%?
  • Did the typical gap change over the years?

We could make a separate comparison for big jobs versus small jobs and for coastal versus Interior jobs.

Which companies most often submitted a bid far below the field?

For every bid, compare the company’s price with the median of the other bids on the same job.

For example:

A company bid 45¢; the median of its competitors’ bids was 60¢. Its bid was 15¢, or 25%, below the competitors’ median.

We could then identify:

  • The most extreme individual examples.
  • Companies most frequently below the field.
  • Companies most frequently above the field.
  • Whether those patterns changed by year.

I would require a minimum number of competitors—perhaps three other priced bids—before calculating the comparison. Otherwise, one unusually high or low competitor can distort it.

This would need careful language: a low relative bid could reflect better knowledge of the ground, a different operating model, an error, a desire for summer work, or a number of other factors. The numbers alone cannot tell us which.

The closest finishes

At the other extreme, rank the tightest bids:

  • Smallest dollar gap between first and second.
  • Smallest difference in cents per tree.
  • Smallest percentage gap.
  • Closest cluster of the top three or top five bidders.

Your 2025 Terrace example, where Sapling and Summit were separated by $68, would be a strong contender for one of these lists.

For a particularly fun version, we could calculate how many trees would account for the gap at a given price. That would be a descriptive illustration, not a suggestion that contract pricing literally works one tree at a time.

4. How did prices vary by location and job type?

Coastal versus Interior prices

Produce separate annual weighted-average lines for:

  • Interior contracts.
  • Coastal contracts.
  • Possibly a third category for northern and remote coastal work.

This would show whether the gap between coastal and Interior bidding widened or narrowed over the period.

However, “coastal” is not a single operating environment. A Vancouver Island road-access job and a remote inlet contract requiring a boat or helicopter can have very different economics. I would also retain the $1.50 ceiling, which may remove a larger share of the most difficult coastal bids and therefore bias a coastal-versus-Interior comparison. We should report how many bids the ceiling removes from each group.

Prices by district or timber sales office

For locations with enough observations, compare annual weighted averages and distributions for areas such as:

  • Prince George.
  • Mackenzie.
  • Fort St. James/Vanderhoof.
  • Burns Lake/Houston.
  • Quesnel.
  • Williams Lake.
  • Kamloops/Merritt.
  • Cranbrook and the Kootenays.
  • Port McNeill, Campbell River and other coastal offices.

We could make this either a table or a set of small charts. A map could be useful, though the geographic assignment would normally represent the administering office or stated work area, not the exact locations of every block.

Spring versus summer prices

Using contracts clearly identified as spring-only or summer-only, compare the price distributions within the same year and region.

This could test the familiar idea that summer work often sells at a discount because companies want to retain crews after the main spring season.

Potential results:

  • Median spring bid versus median summer bid.
  • Difference between spring and summer lowest bids.
  • Whether the gap changed between, say, 2015 and 2025.
  • Whether the gap was larger in some regions than others.

Mixed spring/summer contracts would need their own category unless the PDFs provide separate volumes and prices for each season.

Does contract size affect price?

Group contracts by the size categories already used in the charts:

Size categoryTrees
SmallFewer than 500,000
Medium500,000–1.5 million
LargeMore than 1.5 million

We could compare prices, bidder counts and first-to-second gaps across those groups.

An interesting question is whether larger contracts generally attract lower prices per tree because fixed costs are spread over more trees—or whether they sometimes attract fewer bidders because fewer companies can take on the volume.

We should compare within the same year and region where practical. A large, straightforward Interior job and a small, complex coastal job are not directly equivalent.

Summer work and the “crew retention discount”

A more targeted version would focus on companies that bid on both:

  • A spring contract; and
  • A summer contract in the same region and year.

We could ask whether the same company tended to bid lower on its summer job. It still would not be a controlled experiment, but it would be more informative than comparing every spring contract with every summer contract.

5. What effect did the contractor rating system have?

How often did the lowest dollar bid fail to rank first?

The posts sometimes explicitly note when contractor ratings changed the order of bidders. We could catalogue those contracts and record:

  • Lowest dollar bidder.
  • Bidder ranked first after the rating adjustment.
  • Difference between their posted bid amounts.
  • Region and year.
  • Whether the PDF confirms the eventual award.

This could show how often rating adjustments visibly affected rankings within this collection. It would not establish the rate across all BCTS contracts, because not every post may identify every adjustment.

Closest decisions affected by ratings

A related list could identify contracts where:

  • The lowest dollar bid was overtaken by a slightly higher bid after ratings; or
  • Ratings moved a bidder several places up or down the award order.

We could look for the largest observed dollar difference between the lowest bid and the first-ranked bid, while being careful to use the actual posted amounts and to distinguish ranking from confirmed award.

For years in which the published prices were described as adjusted prices, we would need to identify that explicitly rather than mixing them silently with original tender amounts.

6. What changed over time?

Inflation-adjusted bid prices

The charts we have made so far use nominal cents per tree: 40¢ in 2015 is compared directly with 40¢ in 2025.

We could adjust the annual figures for inflation and show both:

  • Nominal prices, as posted.
  • Inflation-adjusted prices, expressed in a common year’s dollars.

That would help answer whether bids increased faster than general consumer prices. We could also use a more industry-specific cost measure if we find a suitable one, though no single index perfectly captures planting costs such as wages, food, vehicles, insurance and camp expenses.

This would require external data and a clear choice of inflation index.

A before-and-after view of the volume expansion

We could compare bidding patterns across periods such as:

  • 2015–2017.
  • 2018–2020.
  • 2021–2023.
  • 2024–2025.

For each period, show:

  • Prices.
  • Number of bidders.
  • First-to-second gaps.
  • Regional mix.
  • Contract sizes.
  • Share of bids from each company.

The periods could reveal changes around the beetle, wildfire and increased-reforestation years. They would not, by themselves, establish what caused those changes.

Did bid prices rise at the same pace for all companies?

A multi-line chart could compare companies’ annual tree-weighted averages, but I would also build a stronger same-contract comparison to control for differing work mixes.

That could reveal whether, on jobs where they competed directly, the relative gap between two companies became wider, narrower or reversed over time.

7. Unusual contracts and interesting stories

The PDFs contain your descriptions and discussion, not just bid tables. That makes some more qualitative analyses possible.

A catalogue of unusually difficult specifications

Search the posts for references to:

  • Helicopter access.
  • Boats and barges.
  • Long quadding or walk-in distances.
  • Remote camps.
  • Numerous small blocks.
  • Fill planting and burned ground.
  • Fertilizer requirements.
  • Unusual stock types.
  • Steep or rocky ground.
  • Tight completion windows.
  • Extra survey or supervision obligations.

We could then list the associated contracts and their bids. The result might become a fascinating “why this job priced differently” reference.

Some of those categories would need manual review. A post mentioning a helicopter does not necessarily mean that every block, or even the majority of the trees, required helicopter access.

The biggest disagreements over the same ground

Rank contracts by the difference between the lowest and highest qualifying bid, in both dollars and cents per tree.

A wide range can signal very different assumptions about access, production, logistics, risk or the value of keeping a crew employed. The most interesting cases would pair the numbers with whatever you wrote after looking at the blocks.

Because the $1.50 ceiling removes high bids, it would truncate the spread on some jobs. We could still apply your default ceiling, but flag contracts where at least one higher bid was excluded.

Contracts where nearly everyone agreed

Find jobs where several bidders—perhaps at least five—were clustered within a narrow band. Examples could include:

  • All qualifying bids within 10% of the lowest.
  • At least five bids within 5¢ per tree.
  • The smallest range among jobs with six or more bidders.

This would complement the “largest disagreements” list and might identify jobs where companies had unusually similar expectations.

Your historical predictions versus later results

Your posts often include comments about where you thought prices were headed, whether a job looked attractive, and whether a bid seemed low.

A fun retrospective would collect a selection of those comments and compare them with later information in the PDFs:

  • Predictions that were borne out.
  • Predictions that turned out differently.
  • Jobs where the forum discussion identified a risk that later became relevant.
  • Comments about future industry conditions that look particularly interesting in hindsight.

That would be partly editorial and would need care: the PDFs may not tell us whether a contractor actually made or lost money on a job.

The analyses I would prioritize

If you wanted the most informative first batch, I would start with these:

  1. Head-to-head company comparisons, because they compare bids on the same ground.
  2. Largest and smallest gaps between first and second bids, with contract details.
  3. Number of bidders per contract over time, including a clear treatment of missing prices.
  4. Regional and spring-versus-summer price differences.
  5. Contractor-rating reversals, where the posts provide enough detail.
  6. Inflation-adjusted annual bid prices.

Before doing a large series of comparisons, I would rebuild the underlying bid records into a single auditable table with the source PDF and page for every entry. The work we have already done exposed enough missed entries, repeated posts, name variations and inconsistent figures that it would be unwise to treat the existing chart extractions as a finished database. That table would make it much easier to check any surprising result and would give us a dependable foundation for all of the analyses above.

 

 

 

Sunday, October 18, 2026

Creating KML Boundary Lines around Cut Blocks using AI

It's been a while since I've posted, so I thought I should try to become more active here again.  At this point in the cultural zeitgeist, it seems fashionable to rail against AI.  For instance, a lot of people are very much against the building of new data centres right now.  Data centres are a prominent symbol of AI, never mind the fact that most of them are used for powering social media and online shopping, not for training LLM's.  I certainly see a long list of challenges to human-kind which are associated with the growth of AI, but for now, I'm going to focus on some of things that make it useful.

I think a lot of people are also scared of AI because they don't understand it.  Probably less than 25% of the global population has even tried sending an AI query at this point.  In our first-world society, Canadians have more exposure to AI, but a lot of people are still using it for glorified web search, if they're using it at all.  Probably less than 10% of appropriate Canadian consumers have access to an actual paid subscription plan, and for most of those people, it would be the lowest paid tier (often around $20/month, for things like the Plus plan for ChatGPT at OpenAI).  And it's almost certain that less than 1% have access to higher-level Pro subscriptions.

I do have a higher-level subscription, the Pro level at ChatGPT.  I also have a low-tier subscription to Gemini.  Incidentally, I do see the disparity between people who have and don't have this level of access to be one of the biggest true problems with AI.  It's no wonder that the masses have a distrust of AI, considering that many people don't have access to the most competent models.

Also, a lot of people don't understand AI very well.  What's an LLM (Large Language Model) and is ChatGPT a LLM?  Well, no.  The LLM is like the engine in a car.  ChatGPT is a software application and interface that you interact with, and the engine that powers this "vehicle" is the LLM.  The LLM is the underlying neural network that processes language and recognizes patterns.  The software application & interface include user interfaces, conversation memory, tool integration, safety guardrails, and orchestration layers. 

I could rant about all of this for quite a while (and at some point, I probably will).  But for now, let's focus on demonstrating one use for AI in treeplanting.  Yes, I'm going to stick with the collequial term "AI" for these systems, to keep it simple.

---

When I'm out looking at blocks on a new contract, I often want to get an understanding of their geography.  I'm usually given some sort of geo-referenced overview map by the forester, which shows the locations of the blocks.  However, this is a 2D graphic, a "projection" of 3D topology onto a flat surface.  As any tree planter knows, it's important to understand slopes and elevations.  It's also important to understand "Aspect" or the direction that a slope faces.  The snow on a north-facing block won't melt as quickly in the spring as that on a south-facing slope, because the north-facing slope gets less sunshine throughout the day.  Knowing this information is important when scheduling the order of blocks for spring planting.  Obviously, elevation is the most significant characteristic overall, because lower-elevation blocks melt faster.  This seems like a mistake, because heat rises, right?  Well, it doesn't work that way, and that's a good subject for another post.  For now, just accept that lower elevations are good for melting snow, and south-facing is better than north-facing.  Or to stick with even more basic principles, it's good to know the elevation, slope, and aspect of each block, even if not relevant to snow melt.

If I know where a block is, I can go into Google Earth Pro or ArcGIS Earth and look at the elevation that way.  By the way, I don't use the Google Earth mobile app at all, the desktop app on Windows is much more powerful.  Once I know where a block is, I can hover the cursor over any point and see a number down in the lower right corner showing elevation above sea level.  And by moving the cursor around, and watching that number change, I can intuitively figure out slope and aspect.  But this approach is far too rudimentary.  There are better ways.  If you're a Google Earth desktop user, you're probably accustomed to looking at things from a top-down or slightly oblique view.  You'll find that you're in oblique quite often, but you can press the R key to revert to a completely top-down perspective.  Look at this image:

 

This image shows the default oblique view.  It's as if I'm up in the air but slightly south of the block, looking forward slightly as I look down on the block.  But if I hit the R key, Google Earth repositions me as if I'm directly above the block.  Try it and see.  Two comparison images in this blog post don't do it justice.  If things get wild as you're moving stuff around, hitting the R key is great for regaining a neutral perspective.

Now, here's a trick that I really appreciate.  Hold down the left shift key (or the right shift) with one hand.  Then take your mouse, hold down the left mouse button, and start moving your mouse around.  Whoa!  As you move up and down, the perspective changes as if you're rapidly going up in the sky or down towards the ground, but still looking at the block.  And if you move the mouse left or right, you start circling the block.  The resulting visuals are incredibly helpful to understand slope/aspect intuitively.  But remember, you need to be holding down both the shift key and the left mouse button the entire time, in order for this to work.  As an example of what you might see while trying this, look at this next image:

 

Again, this looks far better when doing this in the desktop app than just when looking at images in a blog post.  I should probably do a video for this post.  Also, if you're using ArcGIS Earth instead of Google Earth (which will probably become increasingly common single Google is deprecating the Windows software in June 2027), you don't hold down the shift key.  Just hold down your right mouse button and move the mouse around instead.

Anyway, we haven't used AI yet, so what was I spouting off about at the beginning of this post?  Well, here's my problem.  It's often difficult to figure out where in the Google Earth "real world" a block is, by trying to cross-reference from a flat overview map.  And this is where AI can help.  You can also do all of this manually, by the way, so if you don't use AI models, you don't have to stop reading here.

What I did for several years was to use the Avenza Maps app to draw a line around each block on the map.  So I'd start on one edge of the block, turn on the "Draw and Measure" tool, and click a bunch of points to follow the outline of the block.  I sometimes closed these lines to create polygons to replicate the block, but generally I preferred to just do the line around the boundary so the block center was transparent without needing to go into the polygon's properties and change the opacity of the fill layer.

If I had time, sometimes I would draw these boundaries very meticulously, especially if I thought that the planters might benefit from having these later as an accurate boundary to be imported into the basemap layer.  At other times, if I just needed a quick location reference for myself, I might draw a three-second triangle showing the rough position of the block. 

Once I had boundary lines drawn on the map, I would export these as KML files.  Or one giant KML file for the entire collection of block boundaries, which usually saved me time in the long run.  Do you know the difference between a KML and a KMZ file?  They have the same contents, the only difference is that the KMZ is a zipped version, so it's usually smaller in size.  Sometimes significantly so.

Now, let's go back to Windows.  Or if you're a Mac user, there's a desktop version of Google Earth for Macs too.  My typical workflow would be to draw boundaries in Avenza on my phone, export the boundaries as a KML or KMZ layer into Dropbox, then move over to Dropbox and look for the file in Windows Explorer.  Once I find it, I'd double-click on it.  I have the file association set up so that double-clicking the KML automatically opens it in Google Earth, and zooms to the location.

Bam!  Now I can see the block's outline (like in the first image up the page) and then I can do my trick to swivel around the block and see the topography/slope/aspect relative to the surrounding geography.

But wait, still no AI.

Here's the thing - humans can do pretty much anything that an AI can, and many things that AI's can't.  But AI is a tool, and when used correctly, it can speed up your workflow.  I bet that when chainsaws came along, a lot of woods-persons ranted against their use, proclaiming that the axe was the better choice.  Well, in this case, AI is the chainsaw.  It can help you work a lot faster.

Keep in mind that at the moment, I'm using a model which is significantly more capable than the free versions that a lot of people are using online.  Although this will sound dated within months, I'm currently using Chat's 6.1 Sol model, and for this exercise, I set the intensity level to High (which is more than adequate for this type of work).  I'm also running this through the Work window rather than the Chat window, on OpenAI's desktop app.  To be fair, the models that were available to the public six months ago couldn't parse KML's properly, and this wouldn't have been possible then.  And I bet within 12-24 months, the most basic free models found online will be able to do this type of task accurately.

First, let me share the files that I used with you.  I'm using a single file, a geo-referenced overview map produced by BCTS from the Williams Lake region, for one of their contracts in 2016.  To find this exact map, if you want to look at it, go to www.replant.ca/dropbox and you'll end up in my public Dropbox folder.  Find the "Canadian Reforestation" folder, then go into it and find the "BC Overview Maps" folder, then select the file called "Williams Lake 2016.pdf" which should look like this when you open it.

 

 Ok, now you have the raw materials that I was working with.  I then went into my ChatGPT windows app, moved from the Chat tab into the Work tab, and gave it the following query (I also added the overview map before hitting enter):

I have a challenge for you.  I would like you to make a KML or KMZ file for me.  It will consist of approximately 30ish separate line segments, and you will determine the exact number that are necessary.

I have attached a georeferenced overview map in pdf format.  On that map, there are a few dozen distinct tree planting blocks identified, shaded in a red colour.  Some of these blocks may be broken up into multiple individual polygons.  Most are labeled, and some are not.

For the line segments that I want you to create, I want you to examine each individual red block polygon on the map, and draw a line segment that follows the boundaries.  The line segment can start at any part of the block edge, but will always move around and come back to the same point after tracing the polygon's Boundary, effectively creating a closed loop for the segment (but I don't want a polygon).

For this file that you're creating, I'd like each of the line segments to be colored yellow, and to have a width of 4 pixels.  I won't give you a specific RGB code for this color.  You can match the exact RGB of this default colour as found in either Avenza or Google Earth, or you can pick your own.

Each of the line segments should be named.  If you can estimate the block name based on a map label or based on proximity to a labeled polygon, use that label.  If a block has multiple polygons, append a lowercase "a" to the first, "b" to the second, etc.  As an example, block "A84336 4" will probably lead to the creation of lines A84336 4a and A84336 4b.  If any of the polygons don't have labels, call the first "Unknown_01" and the second "Unknown_02" etc.

Once all of the line segments are generated, I am indifferent if they are all included within a single layer in the kml that you create for me, or if you'd prefer to put each into its own layer.  You could even cluster them so there is a layer for each block which contains all relevant segments, if you find that there are blocks with multiple polygons.

Ask me questions if you don't understand anything, otherwise, please proceed with this task.

 

I submitted this query, and ChatGPT Work didn't come back with any questions.  It understood what I was trying to do, and generated a KML for me.  I opened it up in Google Earth to see what it would look like, and this is what I saw:

 

So it worked.  It probably took me about two minutes to craft the query, and another two minutes for GPT Work to process and create my KML.  In the past, this would have taken me at least 90 minutes to do by hand on my phone.  And the advantage is that I have the prompt saved now, so I can just cut and paste it for the next time.

If you'd like to examine the file that GPT Work created for me, it's in the same Dropbox folder referenced earlier.  The filename is "Williams_Lake_2016_Block_Boundaries.kml"

Again, I'll try to do a video to accompany this post later this Fall, once I'm back to the east coast and have more time.  It's probably much more intuitive for people to see this in video on a screen, rather than reading a blog post.  But at least in the blog post, you can cut & paste my prompt.

If you use a similar prompt in your own workflow, you can ask Chat to turn this into a reusable "skill" on your account, which makes it easy for you to replicate the process in a separate chat, rather than as an additional query within the same chat.  I could share the skill file for this, but it's probably just as fast for you to follow my workflow from scratch and ask your own AI to create its own version of the skill on your local computer. 

That's all for now, I'll try to demonstrate several other examples of AI speeding up my tree planting workflow later this winter.

Also, here's a follow-up post relating to this post:

https://jonathan-scooter-clark.blogspot.com/2026/10/creating-kml-elevation-heatmap-from.html

 

In the meantime, I'll leave you with three tips:

1.  Prompting is everything.  Trying to talk to a computer requires patience and an analytic brain.  Learn how to write effective prompts, and you'll get much better results than general queries.

2.  I do not give the Chat app "full access" to my computer.  I don't trust it, nor should you.  If you give it full access, it may do things without asking that you didn't want it to do.

3.  I gave my Chat account a set of custom instructions.  These aren't essential to the exercise above, but I find that custom instructions significantly improve the results that I get.  If you're curious, here are my custom instructions:

Follow the instructions below naturally, without repeating, referencing, echoing, or mirroring any of their wording!

All the following instructions should guide your behavior silently and must never influence the wording of your message in an explicit or meta way!

You are an expert who double checks things, you are skeptical, and you do research.  I am not always right.  Neither are you, but we both strive for accuracy.

Always use Celsius rather than Fahrenheit, unless I specifically ask for Fahrenheit.  I live in Sackville NB and my questions often relate to that region, although I sometimes work in BC, Alberta, and throughout the four Atlantic provinces.

You are a world class expert in all domains. Your intellectual firepower, scope of knowledge, incisive thought process, and level of erudition are on par with the smartest people in the world. Answer with complete, detailed, specific answers. Process information and explain your answers step by step. Verify your own work. Double check all facts, figures, citations, names, dates, and examples. Never hallucinate or make anything up. If you don't know something, just say so. Your tone of voice is precise, but not strident or pedantic. You do not need to worry about offending me, and your answers can and should be provocative, aggressive, argumentative, and pointed. Negative conclusions and bad news are fine. Do not provide disclaimers to your answers. Make your answers as long and detailed as you possibly can.

Never praise my questions or validate my premises before answering. If I'm wrong, say so immediately. Lead with the strongest counterargument to any position I appear to hold before supporting it.  Never apologize for disagreeing. Accuracy (not my approval) is your success metric.