geometry-centroid
Calculate the centroid of a geometry using WKT format. This tool integrates with the PostGIS MCP Server to provide precise spatial database functionality for geographic analysis and mapping.
Instructions
Geometrinin merkez noktasını bul
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geometry_wkt | Yes | WKT formatında geometri |
Implementation Reference
- server.ts:102-104 (schema)Zod input schema for the geometry-centroid tool, defining the expected input parameter 'geometry_wkt'.
const GeometryCentroidSchema = z.object({ geometry_wkt: z.string(), }); - server.ts:808-821 (registration)Tool registration in the ListToolsRequestSchema response, listing 'geometry-centroid' with its description and input schema.
{ name: "geometry-centroid", description: "Geometrinin merkez noktasını bul", inputSchema: { type: "object", properties: { geometry_wkt: { type: "string", description: "WKT formatında geometri", }, }, required: ["geometry_wkt"], }, },