地理信息系统数据转换MCP是一个MCP(模型上下文协议)服务器,它使LLMs能够访问地理数据转换工具。
该服务器使用各种GIS库,允许LLMs在不同的地理数据格式、坐标系统和空间参考之间进行转换。
https://github.com/user-attachments/assets/e21b10c3-bb67-4322-9742-efa8c7d8b332
https://github.com/user-attachments/assets/a5d56051-8aed-48bb-8de1-820df8d34fe3
要使用此服务器与Claude Desktop,请在MCP设置中进行配置:
对于macOS:
编辑位于'~/Library/Application Support/Claude/claude_desktop_config.json'的文件
{
"mcpServers": {
"gis-dataconversion-mcp": {
"command": "npx",
"args": [
"-y",
"a11y-mcp-server"
]
}
}
}
对于Windows:
编辑位于%APPDATA%\Claude\settings\claude_mcp_settings.json的文件
对于Linux:
编辑位于~/.config/Claude/settings/claude_mcp_settings.json的文件
替换/path/to/axe-mcp-server/build/index.js为实际编译后的服务器文件路径。
将Well-Known Text (WKT)转换为GeoJSON格式。
将GeoJSON转换为Well-Known Text (WKT)格式。
将带有地理数据的CSV转换为GeoJSON。
参数:
csv(必需):要转换的CSV字符串latfield(必需):纬度字段名lonfield(必需):经度字段名delimiter(可选):CSV分隔符(默认为逗号)将GeoJSON转换为CSV格式。
将GeoJSON转换为TopoJSON格式(更紧凑,共享边界)。
参数:
geojson(必需):要转换的GeoJSON对象objectName(可选):创建的TopoJSON对象名称(默认:"data")quantization(可选):简化量化参数(默认:1e4,0禁用)将TopoJSON转换为GeoJSON格式。
参数:
geojson(必需):要转换的GeoJSON对象objectName(可选):创建的TopoJSON对象名称(默认:"data")将KML转换为GeoJSON格式。
将GeoJSON转换为KML格式。
使用逆地理编码将纬度/经度坐标转换为位置名称。