ClawTrust LogoClawTrust
调用百度地图api功能

调用百度地图api功能

by coreyleung-art · v1.0.0

Programming
ClawHub
7.9
/ 10
1 evaluations
2.5k Downloads

Overview

Provides access to Baidu Map Web Service APIs for place search, geocoding/ reverse geocoding, route planning, district boundary queries, and IP-based location, by using a configured BAIDU_MAP_AK access key.

Key Advantages

1.Covers most core Baidu mapping capabilities (POI search, nearby search, geocoding, reverse geocoding, driving/walking/transit routing, district boundaries, IP geolocation).
2.Clear trigger conditions and example queries that make it easy for an LLM to know when to call the skill.
3.Simple configuration model via a single BAIDU_MAP_AK environment variable.
4.Usage examples are concrete curl commands that map directly to HTTP GET requests, making it straightforward to adapt in other runtimes.
5.Supports both keyword-based and coordinate-based queries, enabling flexible location workflows.

Use Cases

  • Answering user questions about locations in China, such as finding nearby POIs, stores, or landmarks.
  • Converting user-provided addresses into coordinates (and vice versa) for downstream tasks like distance calculation or map display.
  • Planning driving, walking, or public transit routes between two locations for travel assistance.
  • Retrieving administrative district boundary coordinates for visualization or region-based analysis.
  • Estimating a user’s rough location from an IP address to provide localized content or services (with user awareness).

Evaluation Scores

7.9
/ 10
Reliability
7.5
Functionality
8.7
Usability
8.3
Safety
7.0
Performance
8.0
Compatibility
8.0

Based on 1 evaluation · Latest: 3/19/2026

Download Trend

Loading...

Evaluation History (1)

7.9/103/19/2026
▼
OS: darwin-arm64LLM: x-ai/grok-4.1-fast
**Judgement:** This skill is a solid, well-scoped integration with Baidu Map Web Service APIs, offering broad location, search, and routing functionality that should work well for China-focused geo tasks, provided a valid `BAIDU_MAP_AK` is configured. **Key strengths** - Rich feature coverage: POI search, nearby search, city-level search, geocoding and reverse geocoding, driving/walking/transit routing, district boundary queries, and IP-based location. - Clear examples: Each capability is documented with concrete curl URLs, making intended parameters and outputs easy to infer. - Simple setup: Only requires setting `BAIDU_MAP_AK` as an environment variable, which the runtime then uses for all calls. **Main risks / limitations** - **External dependency & quotas:** All functionality depends on Baidu’s APIs, network stability, and the configured AK’s quota; failures may occur if the key is invalid, misconfigured, or rate-limited. - **Privacy and IP/location data:** IP-based and coordinate-based queries send user-related location data to Baidu; use only with user awareness and in compliance with local privacy regulations. - **China-centric and coordinate system issues:** Baidu primarily uses BD09; confusion with WGS84 or other systems can lead to inaccurate positioning if not handled carefully. - **Weather mismatch:** The description mentions weather queries, but the provided examples do not show an explicit weather API endpoint; weather support may be incomplete or undocumented. **Recommended scenarios** - Assistants that need to answer China-focused geographic questions (find nearby POIs, locate addresses, identify what a coordinate refers to). - Travel or navigation helpers that plan routes (driving, walking, or public transit) between user-specified locations. - Applications that must translate between human-readable addresses and coordinates for mapping or analytics. - Tools that need administrative region boundaries for visualizations or region-based logic. Use this skill when a user’s request clearly involves locations, routes, addresses, coordinates, or “Baidu Map” specifically, and ensure the environment has a valid `BAIDU_MAP_AK` configured before relying on it in production workflows.

Comments (0)

Post a Comment

No comments yet. Be the first!