mcp_geo_calculate_area
Calculate polygon area with support for multiple coordinate systems. Converts input to WGS84, then computes area using Web Mercator projection. Suitable for small to medium-scale spatial analysis. Accepts open polygons.
Instructions
计算多边形面积。支持多种坐标系统输入,内部会先转换为WGS84坐标,再通过Web Mercator投影进行平面面积计算。多边形无需手动闭合。适用于中小尺度的面积计算。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
coordType | No | 输入坐标类型 | WGS84 |
coordinates | Yes | 多边形坐标点数组,格式:[[lon1,lat1], [lon2,lat2],...] | |
unit | No | 面积单位:square_meters(平方米)、square_kilometers(平方公里)或hectares(公顷) | square_meters |