A Model Context Protocol (MCP) based geographic processing server that provides spatial analysis functions including coordinate system conversions, distance calculations, and area calculations.
这是一个基于 Model Context Protocol (MCP) 的地理处理工具服务器,提供坐标系统转换、距离计算、面积计算等空间分析功能。
"geo-mcp-server": { "type": "stdio", "command": "npx", "args": [ "-y" "@zealgeo/mcp-geo-server" ] }
支持以下坐标系统之间的转换:
支持的转换方法:
支持的空间计算:
坐标系统转换工具。支持 BD09、GCJ02、WGS84 和 Web Mercator 之间的互相转换。
参数:
method
: 转换方法
BD09toGCJ02
: 百度坐标系转火星坐标系GCJ02toBD09
: 火星坐标系转百度坐标系WGS84toGCJ02
: WGS84转火星坐标系GCJ02toWGS84
: 火星坐标系转WGS84BD09toWGS84
: 百度坐标系转WGS84WGS84toBD09
: WGS84转百度坐标系WebMercatortoLngLat
: Web墨卡托转经纬度LngLattoWebMercator
: 经纬度转Web墨卡托longitude
: 经度值latitude
: 纬度值计算折线距离。基于 Web Mercator 投影进行平面距离计算。
参数:
coordinates
: 折线坐标点数组 [[lon1,lat1], [lon2,lat2],...]
unit
: 长度单位(meters
米[默认]、kilometers
千米)coordType
: 输入坐标类型(WGS84
[默认]、GCJ02
、BD09
)计算多边形面积。基于 Web Mercator 投影进行平面面积计算。
参数:
coordinates
: 多边形坐标点数组 [[lon1,lat1], [lon2,lat2],...]
unit
: 面积单位(square_meters
平方米[默认]、square_kilometers
平方公里、hectares
公顷)coordType
: 输入坐标类型(WGS84
[默认]、GCJ02
、BD09
)百度地图使用的坐标系统,在GCJ02基础上再次加密。
中国国测局制定的地理信息系统坐标系统,是对WGS84进行加密后的坐标系。
GPS原始坐标系统,目前广泛使用的GPS全球卫星定位系统使用的坐标系统。
网页地图使用的投影坐标系统,将球面坐标转换为平面坐标。用于距离和面积计算时可以获得更准确的结果。
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!