• GEOJSON
  • ISOLINES
  • THRESHOLDS
  • HUMAN

How to generate service area polygons with your AI

Connect CARTO to your AI client to turn travel times and distances into spatial data. Once connected, your agent handles the geometry generation.

Ask AI about this page

Short answer

How can I make drive-time polygons with my AI?

Your AI uses the CARTO connector to run isoline calculations based on your specific time or distance constraints. You'll get GeoJSON polygons that represent your service areas or catchment zones.

The results.

What you get from this task.

The AI processes your spatial constraints into usable geographic shapes.

GEOJSON

Ready-to-use polygons

The AI generates GeoJSON files representing your catchment zones. You can drop these directly into your mapping software.

ISOLINES

Drive-time boundaries

Your agent creates isolines that show exactly how far a vehicle can travel within a set time limit.

THRESHOLDS

Custom distance limits

The AI builds polygons based on specific distance radii or travel time windows you define in chat.

HUMAN

Map validation

You must review the resulting polygons in a GIS tool to ensure the spatial logic meets your business needs.

The workflow

What your AI does when the request arrives.

The AI translates your natural language constraints into spatial operations.

  1. Define constraints

    Your agent interprets the specific time or distance thresholds you provide in your prompt.

    calculate_isoline
  2. Calculate boundaries

    The AI executes the geometry math to find the specific points that meet your travel criteria.

    calculate_isoline
  3. Format output

    The agent packages the resulting shapes into a standard GeoJSON format.

    calculate_isoline
  4. Deliver data

    The AI provides the final spatial data for you to use in your mapping applications.

    calculate_isoline

Try it

Copy these to start.

Use these prompts to trigger the CARTO connector.

Starting points

Swap the bracketed text for your actual coordinates, time limits, or distance requirements.

CARTO Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_6NUh4SJzIYKcgYcjPGz3lmRBTXiut011mCAsyHQM/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — CARTO capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "carto-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_6NUh4SJzIYKcgYcjPGz3lmRBTXiut011mCAsyHQM/mcp"
    }
  }
}
Copy into chat04
  • Generate a 15-minute drive-time isoline around [Latitude, Longitude].

  • Create a 5km catchment zone polygon centered on [Address].

  • Build a GeoJSON service area for a 30-minute travel radius from [Coordinates].

  • Show me the drive-time polygons for a 10-mile distance from [Location].

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect CARTO once, then ask.

Just link your account once. Your credentials stay encrypted, and you can immediately start asking your agent to run spatial calculations.

Connect CARTO to your AI

FAQ

How this task behaves.

  • 01

    Can the AI create custom map styles?

    No. The AI only generates the geometric polygons; you must apply styling in your own GIS or mapping software.

  • 02

    Does the AI save these polygons to my local drive?

    No. The AI provides the GeoJSON data in the chat, which you can then save or copy.

  • 03

    Can I use walking speeds instead of driving times?

    Yes, as long as you specify the travel mode or speed constraints in your prompt.

  • 04

    Will the AI update my existing CARTO maps?

    No. This tool is for generating new isoline data, not for modifying existing layers in your CARTO workspace.

  • 05

    What format is the output in?

    The output is provided as GeoJSON.

  • More questions about CARTO? The Connector page answers them. See everything the CARTO Connector can do

Connect CARTO to Claude, Cursor, ChatGPT & more