Skip to main content
Glama

GIS MCP Server

nearest_point_on_geometry

Identify the nearest point on one geometry relative to another using Well-Known Text (WKT) inputs. Outputs the closest point location as WKT for geospatial analysis and decision-making.

Instructions

Find the nearest point on geometry2 to geometry1 using shapely.ops.nearest_points. Args: geometry1: WKT string of the first geometry (e.g., a point). geometry2: WKT string of the second geometry. Returns: Dictionary with status, message, and the nearest point as WKT.

Input Schema

NameRequiredDescriptionDefault
geometry1Yes
geometry2Yes

Input Schema (JSON Schema)

{ "properties": { "geometry1": { "title": "Geometry1", "type": "string" }, "geometry2": { "title": "Geometry2", "type": "string" } }, "required": [ "geometry1", "geometry2" ], "title": "nearest_point_on_geometryArguments", "type": "object" }

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/mahdin75/gis-mcp'

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