route-planning

Plan driving, riding, walking, and transit routes with Baidu Maps APIs.

23|4|Updated May 7, 2026
One-click install
npx skills add https://github.com/qq5855144/GitHubM --skill route-planning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: route-planning
Source: https://github.com/qq5855144/GitHubM/tree/main/.skills/route-planning
Command: npx skills add https://github.com/qq5855144/GitHubM --skill route-planning

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the manual work of comparing routes and estimating travel time across driving, walking, riding, and transit scenarios, especially when you need both single-route planning and bulk origin-to-destination calculations.

Core Features & Use Cases

  • Single Route Planning: Get route distance, duration, and step-by-step guidance for driving, riding, walking, and public transit.
  • Batch Route Matrix: Compute multi-origin and multi-destination distance and time matrices for logistics, delivery planning, and territory analysis.
  • Production-Safe API Usage: Supports platform-managed authentication, secure server-side forwarding, and JSON responses for reliable integration into apps and agents.

Quick Start

Ask the assistant to calculate a route between two coordinates and return the distance, duration, and route steps.

Frequently Asked Questions about route-planning

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I plan a driving or transit route using Baidu Maps API?

To plan routes with Baidu Maps, the Skill requests the Direction API v2 to return JSON responses containing distance, duration, and step-by-step navigation for driving, riding, walking, and transit scenarios.

What is a route matrix and how does it work for batch distance planning?

A distance matrix computes multi-origin and multi-destination travel distances and times simultaneously. The RouteMatrix API v2 processes these batch calculations to support logistics routing and territory analysis.

Can I calculate batch distances for logistics delivery planning with Baidu Maps?

Yes, you can calculate batch distances for logistics delivery planning by using the RouteMatrix API v2 to compute multi-origin and multi-destination distance and time matrices for territory analysis.

How do I securely authenticate Baidu Maps API requests in an edge function?

Secure authentication uses platform-managed credentials through INTEGRATIONS_API_KEY and X-Gateway-Authorization headers, enabling safe server-side edge function forwarding without exposing sensitive keys.

Does this navigation API support walking and riding directions?

Yes, the navigation API supports walking and riding directions alongside driving and public transit, returning route distances, durations, and detailed step-by-step guidance for each travel mode.

What format does the Baidu Maps route planning API return?

The Baidu Maps route planning API returns JSON responses containing route distances, durations, steps, and error statuses, ensuring reliable integration into applications and agents.