Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

mapbox-geospatial-operations

БесплатноБез исполняемых скриптовНе проверен

Expert guidance on choosing the right geospatial tool based on problem type, accuracy requirements, and performance needs

mapboxот mapbox★ 90 звёзд на GitHub

Об этом скилле

Mapbox Geospatial Operations Skill

Expert guidance for AI assistants on choosing the right geospatial tools from the Mapbox MCP Server. Focuses on selecting tools based on what the problem requires - geometric calculations vs routing, straight-line vs road network, and accuracy needs.

Core Principle: Problem Type Determines Tool Choice

The Mapbox MCP Server provides two categories of geospatial tools:

  1. Offline Geometric Tools - Use Turf.js for pure geometric/spatial calculations
  2. Routing & Navigation APIs - Use Mapbox APIs when you need real-world routing, traffic, or travel times

The key question: What does the problem actually require?

Decision Framework

Problem Characteristic Tool Category Why
Straight-line distance (as the crow flies) Offline geometric Accurate for geometric distance
Road/path distance (as the crow drives) Routing API Only routing APIs know road networks
Travel time Routing API Requires routing with speed/traffic data
Point containment (is X inside Y?) Offline geometric Pure geometric operation
Geographic shapes (buffers, centroids, areas) Offline geometric Mathematical/geometric operations
Traffic-aware routing Routing API Requires real-time traffic data
Route optimization (best order to visit) Routing API Complex routing algorithm
High-frequency checks (e.g., real-time geofencing) Offline geometric Instant response, no latency

Decision Matrices by Use Case

Distance Calculations

User asks: "How far is X from Y?"

What They Actually Mean Tool Choice Why
Straight-line distance (as the crow flies) distance_tool Accurate for geometric distance, instant
Driving distance (as the crow drives) directions_tool Only routing knows actual road distance
Walking/cycling distance (as the crow walks/bikes) directions_tool Need specific path network
Travel time directions_tool or matrix_tool Requires routing with speed data
Distance with current traffic directions_tool (driving-traffic) Need real-time traffic consideration

Example: "What's the distance between these 5 warehouses?"

  • As the crow flies → distance_tool (10 calculations, instant)
  • As the crow drives → matrix_tool (5×5 matrix, one API call, returns actual route distances)

Key insight: Use the tool that matches what "distance" means in context. Always clarify: crow flies or crow drives?

Proximity and Containment

User asks: "Which points are near/inside this area?"

Query Type Tool Choice Why
"Within X meters radius" distance_tool + filter Simple geometric radius
"Within X minutes drive" isochrone_tool → point_in_polygon_tool Need routing for travel-time zone, then geometric containment
"Inside this polygon" point_in_polygon_tool Pure geometric containment test
"Reachable by car in 30 min" isochrone_tool Requires routing + traffic
"Nearest to this point" distance_tool (geometric) or matrix_tool (routed) Depends on definition of "nearest"

Example: "Are these 200 addresses in our 30-minute delivery zone?"

  1. Create zone → isochrone_tool (routing API - need travel time)
  2. Check addresses → point_in_polygon_tool (geometric - 200 instant checks)

Key insight: Routing for creating travel-time zones, geometric for containment checks

Routing and Navigation

User asks: "What's the best route?"

| Scenario | Tool Choice | Why | | -----------------------

Полный SKILL.md на GitHub

Установить mapbox-geospatial-operations в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

evals/evals.json

FAQ

Что делает скилл mapbox-geospatial-operations?

Expert guidance on choosing the right geospatial tool based on problem type, accuracy requirements, and performance needs

Как установить скилл mapbox-geospatial-operations?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mapbox-geospatial-operations запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить mapbox-geospatial-operations с