AI Agent Use Cases

Added today

10All 231

1–20 of 231

Work & Research

An agent that builds a map app for overlaying local boundaries

A case of building an app that overlays local boundary data on a map and saves it as an image.

How it works

  1. While preparing maps of local boundaries, Simon Willison asked GPT-5.6-Sol about tools and says the model began building an app.
  2. After revisions using Claude Code for web and Fable 5.1, he completed a tool that displays GeoJSON maps and exports PNG files.
  3. He displayed the boundaries of the Granada Community Services District and Midcoast Community Council gathered by ChatGPT Work together.

Results

The author published a tool and an example link for comparing the two areas' boundaries on one map.

Notes

The source is an account of using data for specific areas, not a validation of the accuracy or freshness of all administrative boundary data.

Source

Simon Willison Original post ↗

Example prompt · Claude Code

Please implement a map app that overlays boundary data for [area name] and saves it as PNG. The input is [GeoJSON file or URL]. First check the data provider, reference date, coordinate system, and usage terms. Implement file loading and format validation, overlay multiple shapes on a map, and allow each shape's color and opacity to be changed. Add features for removing unnecessary shapes and saving the current map as an image. Provide runnable code, usage instructions, and sources for the map and boundary data used. Use [two datasets with overlapping boundaries] to check shape placement, stacking order, color changes, and whether the exported image matches the screen. If the boundaries' freshness cannot be confirmed, state that limitation in the result and do not present them as definitively established official boundaries.