Skip to main content
Glama

GeoSpatial MCP Server

by NodeGIS

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

NameRequiredDescriptionDefault
coordTypeNo输入坐标类型WGS84
coordinatesYes多边形坐标点数组,格式:[[lon1,lat1], [lon2,lat2],...]
unitNo面积单位:square_meters(平方米)、square_kilometers(平方公里)或hectares(公顷)square_meters

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "coordType": { "default": "WGS84", "description": "输入坐标类型", "enum": [ "WGS84", "GCJ02", "BD09" ], "type": "string" }, "coordinates": { "description": "多边形坐标点数组,格式:[[lon1,lat1], [lon2,lat2],...]", "items": { "items": { "type": "number" }, "type": "array" }, "minItems": 3, "type": "array" }, "unit": { "default": "square_meters", "description": "面积单位:square_meters(平方米)、square_kilometers(平方公里)或hectares(公顷)", "enum": [ "square_meters", "square_kilometers", "hectares" ], "type": "string" } }, "required": [ "coordinates" ], "type": "object" }
Install Server

Other Tools from GeoSpatial MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/NodeGIS/geo-mcp-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server