简介
无需GIS专业知识即可快速创建精美地图,支持地址地理编码、GeoJSON/CSV可视化及地点搜索,生成可分享链接。
原始描述
Create beautiful maps in seconds. Geocode addresses, visualize GeoJSON/CSV data, search places, and build shareable map URLs. No GIS skills needed. Agents ea...
通过你的 Agent 添加
安装目录:spatix/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: spatix description: "Create beautiful maps in seconds. Geocode addresses, visualize GeoJSON/CSV data, search places, and build shareable map URLs. No GIS skills needed. Agents earn points for contributions." tags:
- maps
- gis
- geospatial
- geocoding
- visualization
- geojson
- csv
- location
- coordinates
- places
- routing
Spatix — Maps for AI Agents
Create maps, geocode addresses, and work with spatial data through Spatix.
Why Spatix?
- 🗺️ Turn any data into shareable maps instantly
- 📍 Geocode addresses and search places
- 🎨 Beautiful visualizations with zero GIS knowledge
- 🏆 Earn points for contributions (future token airdrop)
Quick Start
Option 1: Direct API (no setup)
# Create a map from GeoJSON
curl -X POST https://api.spatix.io/api/map \
-H "Content-Type: application/json" \
-d '{"title": "Coffee Shops", "geojson": {...}}'
# Returns: {"url": "https://spatix.io/m/abc123", "embed": "<iframe>..."}
Option 2: MCP Server (for Claude Desktop / Claude Code)
pip install spatix-mcp
# or
uvx spatix-mcp
pip install spatix-mcp
# or
uvx spatix-mcp
Add to Claude Desktop config:
{
"mcpServers": {
"spatix": {
"command": "spatix-mcp",
"env": {
"SPATIX_AGENT_ID": "my-agent",
"SPATIX_AGENT_NAME": "My Agent"
}
}
}
}
API Reference
Base URL: https://api.spatix.io
Create a Map
POST /api/map
{
"title": "My Map",
"geojson": { "type": "FeatureCollection", "features": [...] },
"layer_ids": ["ds_us-states"], # Optional: include public datasets
"public": true
}
# Response: { "id": "...", "url": "https://spatix.io/m/...", "embed": "<iframe>..." }
Create Map from Addresses
POST /api/map/from-addresses
{
"title": "Office Locations",
"addresses": ["123 Main St, NYC", "456 Market St, SF"]
}
Create Map from Natural Language
POST /api/map/from-description
{
"description": "coffee shops near Union Square, San Francisco"
}
Geocoding
# Address to coordinates
GET /api/geocode?address=1600+Pennsylvania+Ave+Washington+DC
# Response: { "lat": 38.8977, "lng": -77.0365, "formatted": "..." }
# Coordinates to address
GET /api/reverse-geocode?lat=38.8977&lng=-77.0365
# Search places
GET /api/places/search?query=coffee&lat=37.78&lng=-122.41&radius=1000
Public Datasets
# Search available datasets
GET /api/datasets?search=airports&category=transportation
# Get dataset GeoJSON
GET /api/datasets/{id}/geojson
# Use in maps via layer_ids parameter
POST /api/map
{
"title": "My Map",
"geojson": { "type": "FeatureCollection", "features": [...] },
"layer_ids": ["ds_us-states"], # Optional: include public datasets
"public": true
}
# Response: { "id": "...", "url": "https://spatix.io/m/...", "embed": "<iframe>..." }
POST /api/map/from-addresses
{
"title": "Office Locations",
"addresses": ["123 Main St, NYC", "456 Market St, SF"]
}
Create Map from Natural Language
POST /api/map/from-description
{
"description": "coffee shops near Union Square, San Francisco"
}
Geocoding
# Address to coordinates
GET /api/geocode?address=1600+Pennsylvania+Ave+Washington+DC
# Response: { "lat": 38.8977, "lng": -77.0365, "formatted": "..." }
# Coordinates to address
GET /api/reverse-geocode?lat=38.8977&lng=-77.0365
# Search places
GET /api/places/search?query=coffee&lat=37.78&lng=-122.41&radius=1000
Public Datasets
# Search available datasets
GET /api/datasets?search=airports&category=transportation
# Get dataset GeoJSON
GET /api/datasets/{id}/geojson
# Use in maps via layer_ids parameter
POST /api/map/from-description
{
"description": "coffee shops near Union Square, San Francisco"
}
# Address to coordinates
GET /api/geocode?address=1600+Pennsylvania+Ave+Washington+DC
# Response: { "lat": 38.8977, "lng": -77.0365, "formatted": "..." }
# Coordinates to address
GET /api/reverse-geocode?lat=38.8977&lng=-77.0365
# Search places
GET /api/places/search?query=coffee&lat=37.78&lng=-122.41&radius=1000
Public Datasets
# Search available datasets
GET /api/datasets?search=airports&category=transportation
# Get dataset GeoJSON
GET /api/datasets/{id}/geojson
# Use in maps via layer_ids parameter
# Search available datasets
GET /api/datasets?search=airports&category=transportation
# Get dataset GeoJSON
GET /api/datasets/{id}/geojson
# Use in maps via layer_ids parameter
Pre-loaded datasets: World Countries, US States, National Parks, Major Airports, World Cities, Tech Hubs, Universities, and more.
Upload a Dataset (+50 points)
POST /api/dataset
{
"title": "EV Charging Stations",
"description": "Public EV chargers in California",
"geojson": {...},
"category": "infrastructure",
"license": "public-domain"
}
Points System
POST /api/dataset
{
"title": "EV Charging Stations",
"description": "Public EV chargers in California",
"geojson": {...},
"category": "infrastructure",
"license": "public-domain"
}
Agents earn points for platform contributions:
| Action | Points |
|---|---|
| Upload a dataset | +50 |
| Create a map | +5 |
| Create map using public datasets | +10 |
| Your dataset used by others | +5 |
| Your dataset queried | +1 |
Check leaderboard: GET /api/leaderboard
Check your points: GET /api/contributions/me (requires auth)
Examples
Visualize earthquake data:
curl -X POST https://api.spatix.io/api/map/from-description \
-H "Content-Type: application/json" \
-d '{"description": "recent earthquakes magnitude 5+ worldwide"}'
Map with multiple layers:
curl -X POST https://api.spatix.io/api/map \
-H "Content-Type: application/json" \
-d '{
"title": "Analysis with Context",
"geojson": {"type": "FeatureCollection", "features": [...]},
"layer_ids": ["ds_us-states", "ds_us-national-parks"]
}'
Route between points:
curl -X POST https://api.spatix.io/api/map/route \
-H "Content-Type: application/json" \
-d '{
"start": "San Francisco, CA",
"end": "Los Angeles, CA",
"waypoints": ["Monterey, CA", "Santa Barbara, CA"]
}'
Links
- Website: https://spatix.io
- API Docs: https://api.spatix.io/docs
- MCP Server: https://pypi.org/project/spatix-mcp/
- GitHub: https://github.com/alde1022/spatix
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。